<!-- 调解员 and 调解组织页面 -->
|
<wxs module="wxs" src="../../utils/wxs/util.wxs" />
|
|
<common-page>
|
<view class="findAdjust">
|
<van-search background bind:cancel="handleSearch" bind:search="handleSearch" placeholder="搜索" show-action="{{ search.name ? true : false }}" value="{{ search.name }}" />
|
|
<view style="margin-top: 16rpx;">
|
<drop-down-select class="findAdjust-drop" bind:ongetvalue="handleScreen" data="{{ selectModel }}" active="{{ search }}" menuTextAlign />
|
</view>
|
|
<van-empty description="暂无数据" wx:if="{{ total === 0 }}" />
|
<view class="findAdjust-scroll" wx:else>
|
<scroll-view bindscrolltolower="handlescrolltolower" scroll-y="true" style="height: 100%;">
|
<view bindtap="onFindAdjust" data-index="{{listIdx}}" class="find-adjust-list-item" wx:for="{{data}}" wx:for-index="listIdx" wx:for-item="listItem" wx:key="listIdx">
|
<view class="avatar-img-box">
|
<image alt="头像" class="avatar-img" src="{{listItem.avatar || imgUrl + (listItem.type == 2 ? 'mediation-organization.png' : 'man.png')}}" />
|
</view>
|
<view class="list-item-right">
|
<view class="avatar-name">{{listItem.name}}</view>
|
<view class="avatar-subTitle">
|
<view>累计调解{{ listItem.countCase || '0' }}件</view>
|
<view class="avatar-subTitle-divider"></view>
|
<view>{{ listItem.addr }}</view>
|
</view>
|
<view class="avatar-subTitle avatar-subTitle-tagBox">
|
<view style="margin-right: 8rpx;margin-bottom: 8rpx;">擅长调解</view>
|
<view class="avatar-subTitle-tag" wx:for="{{ wxs.strArr(listItem.goodFieldName) }}" wx:key="index">{{ item }}</view>
|
</view>
|
<view class="list-item-btn">
|
<image alt class="find-icon" src="{{imgUrl}}mediate-active.png" srcset />
|
<text>找他调</text>
|
</view>
|
</view>
|
</view>
|
<block>
|
<van-divider contentPosition="center" custom-style="margin-top: 0;" wx:if="{{ data.length >= total && data.length !== 0 }}">已加载全部数据</van-divider>
|
<view style="text-align: center;" wx:if="{{ loading }}">
|
<van-loading type="spinner" />
|
</view>
|
</block>
|
</scroll-view>
|
</view>
|
<view class="safeHeight" />
|
</view>
|
</common-page>
|
|
<!-- TODO: 功能屏蔽,此功能暂无作用 -->
|
<van-popup bind:close="onClose" closeable custom-style="max-height: 90%" position="bottom" round show="{{ showGuessDialog }}" title="猜您关注" zIndex="999">
|
<view class="guess-main">
|
<view class="guess-subTitle">选择您关注的纠纷类型,平台将为您推荐匹配的调解资源,以帮助您尽快调解成功!</view>
|
<view>
|
<van-row gutter="23">
|
<van-col span="{{ index < 12 ? 12 : 24 }}" wx:for="{{ guessModel }}" wx:key="index">
|
<view bindtap="onChooseMyTag" class="guess-item {{ item.isChoose && 'guess-item-active' }}" data-index="{{ index }}" data-label="{{ item.label }}" data-value="{{ item.value }}">
|
<text>{{ item.label }}</text>
|
<view class="guess-check" wx:if="{{ item.isChoose }}">
|
<van-icon name="checked" size="18" />
|
</view>
|
</view>
|
</van-col>
|
</van-row>
|
</view>
|
</view>
|
<view class="popup-bottom-button">
|
<van-button bind:click="onConfirm" block type="primary">帮我推荐</van-button>
|
<view class="safeHeight" />
|
</view>
|
</van-popup>
|