feat: 重构律师列表卡片展示
- 简化筛选栏与列表快捷入口 - 为律师卡片增加 featured 布局和联系方式展示
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
placeholder="搜索律师姓名、专业领域..."
|
||||
value="{{keyword}}"
|
||||
bindinput="onSearchInput"
|
||||
bindconfirm="onSearchConfirm"
|
||||
confirm-type="search"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
@@ -26,21 +28,11 @@
|
||||
></filter-bar>
|
||||
</view>
|
||||
|
||||
<view class="quick-actions">
|
||||
<view class="action-btn hotline-btn" bindtap="callHotline">
|
||||
<image class="action-icon" src="/assets/icons/phone.svg" mode="aspectFit" wx:if="{{false}}"></image> <!-- Placeholder for icon -->
|
||||
<text>联系电话</text>
|
||||
</view>
|
||||
<view class="action-btn map-btn" bindtap="openOffice">
|
||||
<text>总部导航</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<scroll-view class="page-content list-scroll" scroll-y="true" type="list">
|
||||
<view class="list-wrap">
|
||||
<block wx:if="{{filteredLawyers.length}}">
|
||||
<view class="card-item" wx:for="{{filteredLawyers}}" wx:key="id" wx:for-item="item">
|
||||
<lawyer-card lawyer="{{item}}" bind:select="handleLawyerSelect"></lawyer-card>
|
||||
<lawyer-card lawyer="{{item}}" layout="featured" bind:select="handleLawyerSelect"></lawyer-card>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:else>
|
||||
@@ -49,8 +41,4 @@
|
||||
<view class="list-bottom-space"></view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<view class="history-fab" bindtap="goHistory">
|
||||
<text class="history-text">浏览记录</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user