57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
<view class="container-page lawyer-list-page">
|
|
<app-header title="专业律师" back="{{true}}" background="#fff"></app-header>
|
|
|
|
<!-- Sticky Header Wrapper -->
|
|
<view class="sticky-header">
|
|
<view class="search-wrap">
|
|
<view class="search-box">
|
|
<icon type="search" size="16" color="#999"></icon>
|
|
<input
|
|
class="search-input"
|
|
placeholder-class="search-placeholder"
|
|
placeholder="搜索律师姓名、专业领域..."
|
|
value="{{keyword}}"
|
|
bindinput="onSearchInput"
|
|
/>
|
|
</view>
|
|
</view>
|
|
|
|
<filter-bar
|
|
office-options="{{officeOptions}}"
|
|
area-options="{{areaOptions}}"
|
|
selected-office="{{selectedOffice}}"
|
|
selected-area="{{selectedArea}}"
|
|
bind:officechange="handleOfficeChange"
|
|
bind:areachange="handleAreaChange"
|
|
></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>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<empty-state text="未找到匹配的律师"></empty-state>
|
|
</block>
|
|
<view class="list-bottom-space"></view>
|
|
</view>
|
|
</scroll-view>
|
|
|
|
<view class="history-fab" bindtap="goHistory">
|
|
<text class="history-text">浏览记录</text>
|
|
</view>
|
|
</view>
|