Merchant-Seles.wxml
1.71 KB
<popup show="{{show}}" data-form="'btn'" bindconfirm="confirm" title="{{type == 1 ? (pointsMultiRole == 'Y' ? '销售顾问/录单员' : '销售顾问') : type == 2 ? '转化人员' : type == 3 ? '交付专员' : ''}}">
<scroll-view class="seles-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="box">
<view class="sub-title">{{title}}</view>
<view class="merchant-box" style="max-height:{{moreMerchant?merchantList.length * 100 :''}}rpx">
<block wx:for="{{merchantList}}" wx:key="index">
<view class="merchantList {{item.active?'active':''}}" bindtap="changeMerchant" data-item="{{item}}" data-index="{{index}}">
<view class="text-hide">{{item.merchantName}}</view>
</view>
</block>
</view>
<block wx:if="{{merchantList.length > 3}}">
<view class="more" bindtap="showMoreMerchant">
<image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/components/images/open.png" class="icon {{moreMerchant ? 'hide':''}}"></image>
</view>
</block>
<view class="sub-title">{{subTitle}}
</view>
<search-input styleValue=" border-bottom:none" wx:if="{{type == 1 ||type==3}}" value="{{keyWord}}" bindsearch="search" placeholder="请输入" />
<view class="seles-list">
<block wx:for="{{selesList}}" wx:key="index">
<view class="seles text-center {{item.active?'active':''}}" bindtap="changeSelesMan" data-index="{{index}}" data-item="{{item}}">
{{item.staffName}}
</view>
</block>
<view class="center " wx:if="{{type == 1&&keyWord&&selesList.length == 0 }}">暂无数据</view>
</view>
</view>
</scroll-view>
</popup>