Merchant-Seles.wxml
1.58 KB
<popup show="{{show}}" data-form="'btn'" bindconfirm="confirm" title="{{title == '选择合作门店' ? '销售顾问' : title == '选择园区店' ? '转化人员' : ''}}">
<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="../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 }}" 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>