1 |
- <view><wm-watermark vue-id="8bfa25ea-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="8bfa25ea-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"><view class="relname">{{'('+groupTypeObj[item.group_type]+")"+item.nickname+''}}</view><view class="item"><u-icon class="u-m-r-5" vue-id="{{'8bfa25ea-3-'+index}}" name="phone" size="22" bind:__l="__l"></u-icon>{{''+item.phone+''}}</view></view><view class="data-wrap"><view class="date u-m-t-5">{{"推荐人:"+(item.referrer||'未填')}}</view></view></view><view class="tool-wrap"><view class="tag"><u-tag class="u-m-r-10" vue-id="{{'8bfa25ea-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="{{'8bfa25ea-5-'+index}}" text="{{item.bind_wechat==1?'已绑定微信':'未绑定微信'}}" type="{{item.bind_wechat==1?'success':'warning'}}" size="mini" bind:__l="__l"></u-tag></view></view></view></block></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="float-search" bindtap="__e"><u-icon vue-id="8bfa25ea-6" name="search" size="42" color="#fff" bind:__l="__l"></u-icon></view><u-popup bind:input="__e" vue-id="8bfa25ea-7" 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="{{('8bfa25ea-8')+','+('8bfa25ea-7')}}" 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="{{('8bfa25ea-9')+','+('8bfa25ea-7')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('8bfa25ea-10')+','+('8bfa25ea-7')}}" 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="{{('8bfa25ea-11')+','+('8bfa25ea-7')}}" size="medium" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消</u-button><u-button vue-id="{{('8bfa25ea-12')+','+('8bfa25ea-7')}}" size="medium" type="primary" data-event-opts="{{[['^click',[['searchHandle']]]]}}" 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="8bfa25ea-13" 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>
|