<view><u-navbar vue-id="0b863a9c-1" customBack="{{customBack}}" back-icon-color="#fff" title="报备列表" background="{{({backgroundColor:'#2080f0'})}}" title-color="#fff" border-bottom="{{false}}" bind:__l="__l"></u-navbar><h-m-filter-dropdown vue-id="0b863a9c-2" menuTop="{{menuTop}}" filterData="{{filterData}}" defaultSelected="{{filterDropdownValue}}" data-event-opts="{{[['^confirm',[['confirmFilter']]]]}}" bind:confirm="__e" bind:__l="__l"></h-m-filter-dropdown><view class="customer-list-wrap"><block wx:if="{{customerList.length==0}}"><view class="empty-wrap"><u-empty vue-id="0b863a9c-3" mode="list" text="暂无相关客户" bind:__l="__l"></u-empty></view></block><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="customer-item"><view data-event-opts="{{[['tap',[['pageTo',['/pages/agent/recommend/detail?id='+item.$orig.id]]]]]}}" class="info" bindtap="__e"><view class="customer"><view class="relname">{{''+item.$orig.name+''}}<u-icon class="u-m-l-5" vue-id="{{'0b863a9c-4-'+index}}" name="{{item.$orig.sex=='male'?'man':'woman'}}" size="22" color="{{item.$orig.sex=='male'?'#2080f0':'#f85f69'}}" bind:__l="__l"></u-icon></view><view class="item"><u-icon class="u-m-r-5" vue-id="{{'0b863a9c-5-'+index}}" name="phone" size="22" bind:__l="__l"></u-icon>{{''+item.$orig.phone+''}}</view><view class="item"><u-icon class="u-m-r-5" vue-id="{{'0b863a9c-6-'+index}}" name="home" size="22" bind:__l="__l"></u-icon>{{''+item.$orig.estate_name+''}}</view></view><view class="data-wrap"><view class="date u-m-t-5">{{"报备时间："+item.$orig.create_at}}</view><view class="date">{{"保护期截止："+item.$orig.lock_at}}</view></view></view><view class="tool-wrap"><view class="tag"><u-tag class="u-m-r-10" vue-id="{{'0b863a9c-7-'+index}}" text="{{item.$orig.report_state==3?'无效客户':item.$orig.report_state==2?'审核中':'有效客户'}}" type="{{item.$orig.report_state==3?'error':item.$orig.report_state==2?'warning':'success'}}" size="mini" bind:__l="__l"></u-tag><block wx:if="{{item.$orig.report_state==1}}"><u-tag vue-id="{{'0b863a9c-8-'+index}}" text="{{stepList[item.$orig.report_step]}}" type="{{item.m0>1?'success':'warning'}}" size="mini" bind:__l="__l"></u-tag></block></view><view class="tool"><block wx:if="{{item.$orig.report_step<=1&&item.$orig.expire_time==0}}"><u-icon vue-id="{{'0b863a9c-9-'+index}}" name="reload" size="32" label="重新报备" label-size="24" data-event-opts="{{[['^click',[['pageTo',['/pages/agent/recommend/create',['o',['info',item.$orig]]]]]]]}}" bind:click="__e" bind:__l="__l"></u-icon></block></view></view></view></block></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="float-search" bindtap="__e"><u-icon vue-id="0b863a9c-10" name="search" size="42" color="#fff" bind:__l="__l"></u-icon></view><u-popup bind:input="__e" vue-id="0b863a9c-11" 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="{{('0b863a9c-12')+','+('0b863a9c-11')}}" 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="{{('0b863a9c-13')+','+('0b863a9c-11')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('0b863a9c-14')+','+('0b863a9c-11')}}" 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="{{('0b863a9c-15')+','+('0b863a9c-11')}}" size="medium" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消</u-button><u-button vue-id="{{('0b863a9c-16')+','+('0b863a9c-11')}}" 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="{{customerList.length>0}}"><u-loadmore vue-id="0b863a9c-17" 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>