<view><view class="customer-list-wrap"><block wx:if="{{$root.g0==0}}"><view class="empty-wrap"><u-empty vue-id="36330b32-1" 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 data-event-opts="{{[['tap',[['pageTo',['/pages/cust/myrecord?id='+item.id+'&str='+item.name+'('+(item.sex==='male'?'男':'女')+')-'+item.phone]]]]]}}" class="customer" bindtap="__e"><view class="relname"><view class="n-key"><block wx:if="{{item.remind}}"><view class="n">{{item.remind}}</view></block>{{'['+item.nickname+"]\n\t\t\t\t\t\t\t"+item.name+''}}<u-icon class="u-m-l-5" vue-id="{{'36330b32-2-'+index}}" name="{{item.sex=='male'?'man':'woman'}}" size="22" color="{{item.sex=='male'?'#2080f0':'#f85f69'}}" bind:__l="__l"></u-icon></view><u-icon class="u-m-l-30" vue-id="{{'36330b32-3-'+index}}" name="list-dot" size="32" label="跟进记录" label-size="28" color="#2d8cf0" label-color="#2d8cf0" bind:__l="__l"></u-icon></view><view class="item"><u-icon class="u-m-r-5" vue-id="{{'36330b32-4-'+index}}" name="phone" size="22" bind:__l="__l"></u-icon>{{''+item.phone+''}}</view><block wx:if="{{item.remark}}"><view class="item">{{''+item.remark+''}}</view></block></view><view class="data-wrap"><u-tag class="u-m-r-10" vue-id="{{'36330b32-5-'+index}}" icon="attach" text="快速报备" type="success" data-event-opts="{{[['^click',[['pageTo',['/pages/agent/recommend/create',['o',['info',item]]]]]]]}}" bind:click="__e" bind:__l="__l"></u-tag><u-gap vue-id="{{'36330b32-6-'+index}}" height="20" bind:__l="__l"></u-gap><u-tag class="u-m-r-10" vue-id="{{'36330b32-7-'+index}}" icon="edit-pen" text="编辑" type="primary" data-event-opts="{{[['^click',[['pageTo',['/pages/cust/mycreate',['o',['info',item]]]]]]]}}" bind:click="__e" bind:__l="__l"></u-tag></view></view><block wx:if="{{item.record&&item.record.record_remark}}"><view data-event-opts="{{[['tap',[['pageTo',['/pages/cust/myrecord?id='+item.id+'&str='+item.name+'('+(item.sex==='male'?'男':'女')+')-'+item.phone]]]]]}}" class="more-wrap" bindtap="__e">{{'最新跟进('+item.record.create_at+")："+(item.record.action?item.record.action+':':'')+(item.record.estate_name?'['+item.record.estate_name+']--':'')+"  "+item.record.record_remark+''}}</view></block></view></block></view><view data-event-opts="{{[['tap',[['pageTo',['/pages/cust/mycreate']]]]]}}" class="float-search2" bindtap="__e"><u-icon vue-id="36330b32-8" name="plus" size="42" color="#fff" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="float-search" bindtap="__e"><u-icon vue-id="36330b32-9" name="search" size="42" color="#fff" bind:__l="__l"></u-icon></view><u-popup bind:input="__e" vue-id="36330b32-10" 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="{{('36330b32-11')+','+('36330b32-10')}}" border="{{true}}" placeholder="请输入客户姓名(支持模糊搜索)" value="{{searchFormData.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['searchFormData']]]]]}}" bind:__l="__l"></u-input><u-divider vue-id="{{('36330b32-12')+','+('36330b32-10')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('36330b32-13')+','+('36330b32-10')}}" 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="{{('36330b32-14')+','+('36330b32-10')}}" size="medium" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消</u-button><u-button vue-id="{{('36330b32-15')+','+('36330b32-10')}}" 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="36330b32-16" 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>