check.wxml 6.4 KB

1
  1. <view><wm-watermark vue-id="e40cf16a-1" text="{{userInfo2.phone}}" num="{{50}}" bind:__l="__l"></wm-watermark><view class="customer-list-wrap"><block wx:if="{{$root.g0==0}}"><view class="empty-wrap"><u-empty vue-id="e40cf16a-2" mode="list" text="暂无相关客户" bind:__l="__l"></u-empty></view></block><block wx:for="{{customerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="customer-item"><view class="info"><view class="customer"><block wx:if="{{item.group_type==1}}"><view class="relname">{{'渠道:'+item.nickname+(item.dept_code?'('+item.dept_code+')':'')+''}}</view></block><block wx:else><view class="relname">{{'中介:'+item.nickname+''}}</view></block><view data-event-opts="{{[['tap',[['dial',['$0'],[[['customerList','',index,'phone']]]]]]]}}" class="item" bindtap="__e"><u-icon class="u-m-r-5" vue-id="{{'e40cf16a-3-'+index}}" name="phone" size="22" bind:__l="__l"></u-icon>{{''+item.phone+''}}<u-tag class="u-m-l-20 u-m-r-10" vue-id="{{'e40cf16a-4-'+index}}" text="{{'认证:'+authStateObj[item.auth_state]}}" type="{{item.auth_state==1?'success':item.auth_state==2?'warning':'error'}}" size="mini" bind:__l="__l"></u-tag><u-tag vue-id="{{'e40cf16a-5-'+index}}" text="{{item.bind_wechat==1?'已绑定微信':'未绑定微信'}}" type="{{item.bind_wechat==1?'success':'warning'}}" size="mini" bind:__l="__l"></u-tag></view><block wx:if="{{item.group_type==2}}"><view class="scoped-p1">{{'来自:'+item.dept_name+''}}</view></block></view><view class="data-wrap"><block wx:if="{{item.referrer}}"><view data-event-opts="{{[['tap',[['openReferrerPopup',['$0'],[[['customerList','',index]]]]]]]}}" class="date u-m-t-5 u-m-b-20" bindtap="__e">{{"推荐人:"+(item.referrer||'未填')}}</view></block><block wx:if="{{item.auth_state==2}}"><u-tag vue-id="{{'e40cf16a-6-'+index}}" text="审核" type="primary" data-event-opts="{{[['^click',[['pageTo',['/pages/saler/deal?id='+item.id+'&name='+item.nickname+'-'+item.phone+'&gt='+item.group_type]]]]]}}" bind:click="__e" bind:__l="__l"></u-tag></block></view></view><view class="scoped-list-img-more"><view data-event-opts="{{[['tap',[['itemImgShowHandle',[index]]]]]}}" class="{{[item.auth_state==2?'slim-tips':'slim-tips pl0']}}" bindtap="__e"><view class="li">{{"身份证:"+item.id_number}}</view><block wx:if="{{item.auth_state==2}}"><view class="b">{{item.isImgShow?'收缩图片<':'展开图片>'}}</view></block></view><block wx:if="{{item.isImgShow&&item.auth_state==2}}"><view class="slim-content"><view class="op"><image class="img" src="{{item.id_card_front}}" mode="aspectFit" data-event-opts="{{[['tap',[['previewImgHandle',['$0',[item.id_card_front]],[[['customerList','',index,'id_card_front']]]]]]]}}" bindtap="__e"></image></view><view class="op"><image class="img" src="{{item.id_card_revers}}" mode="aspectFit" data-event-opts="{{[['tap',[['previewImgHandle',['$0',[item.id_card_revers]],[[['customerList','',index,'id_card_revers']]]]]]]}}" bindtap="__e"></image></view><block wx:if="{{item.busines_licens}}"><view class="op"><image class="img" src="{{item.busines_licens}}" mode="aspectFit" data-event-opts="{{[['tap',[['previewImgHandle',['$0',[item.busines_licens]],[[['customerList','',index,'busines_licens']]]]]]]}}" bindtap="__e"></image></view></block></view></block></view></view></block></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="float-search" bindtap="__e"><u-icon vue-id="e40cf16a-7" name="search" size="42" color="#fff" bind:__l="__l"></u-icon></view><u-popup bind:input="__e" vue-id="e40cf16a-8" mode="center" width="80%" height="440rpx" border-radius="20" value="{{searchPopupShow}}" data-event-opts="{{[['^input',[['__set_model',['','searchPopupShow','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bwin-popup"><view class="popup-header">用户搜索</view><view class="popup-body"><u-input bind:input="__e" vue-id="{{('e40cf16a-9')+','+('e40cf16a-8')}}" border="{{true}}" placeholder="请输入昵称(支持模糊搜索)" value="{{searchFormData.nickname}}" data-event-opts="{{[['^input',[['__set_model',['$0','nickname','$event',[]],['searchFormData']]]]]}}" bind:__l="__l"></u-input><u-divider vue-id="{{('e40cf16a-10')+','+('e40cf16a-8')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('e40cf16a-11')+','+('e40cf16a-8')}}" border="{{true}}" placeholder="请输入手机号(可仅输入一部分)" value="{{searchFormData.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['searchFormData']]]]]}}" bind:__l="__l"></u-input></view><view class="popup-footer" style="position:absolute;"><u-button vue-id="{{('e40cf16a-12')+','+('e40cf16a-8')}}" size="medium" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消</u-button><u-button vue-id="{{('e40cf16a-13')+','+('e40cf16a-8')}}" size="medium" type="primary" data-event-opts="{{[['^click',[['searchHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">搜索</u-button></view></view></u-popup><u-popup bind:input="__e" vue-id="e40cf16a-14" mode="center" width="80%" height="320rpx" border-radius="20" value="{{isReferrerShow}}" data-event-opts="{{[['^input',[['__set_model',['','isReferrerShow','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bwin-popup"><view class="popup-header">{{"修改"+curObj.nickname+"的推荐人"}}</view><view class="popup-body"><u-input bind:input="__e" vue-id="{{('e40cf16a-15')+','+('e40cf16a-14')}}" border="{{true}}" placeholder="请输入推荐人" value="{{curReferrer}}" data-event-opts="{{[['^input',[['__set_model',['','curReferrer','$event',[]]]]]]}}" bind:__l="__l"></u-input></view><view class="popup-footer" style="position:absolute;"><u-button vue-id="{{('e40cf16a-16')+','+('e40cf16a-14')}}" size="medium" data-event-opts="{{[['^click',[['e2']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">关闭</u-button><u-button vue-id="{{('e40cf16a-17')+','+('e40cf16a-14')}}" size="medium" type="primary" data-event-opts="{{[['^click',[['closeReferrerPopup']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确定</u-button></view></view></u-popup><block wx:if="{{$root.g1>0}}"><u-loadmore vue-id="e40cf16a-18" marginTop="32" line="{{true}}" status="{{loadmore.status}}" loading-text="{{loadmore.loadingText}}" loadmore-text="{{loadmore.defaultText}}" nomore-text="{{loadmore.nomoreText}}" bind:__l="__l"></u-loadmore></block></view>