list.wxml 5.3 KB

1
  1. <view class="scoped-box"><wm-watermark vue-id="0b863a9c-1" text="{{userInfo2.phone}}" num="{{50}}" bind:__l="__l"></wm-watermark><u-navbar vue-id="0b863a9c-2" customBack="{{customBack}}" back-icon-color="#fff" title="{{'报备列表('+curTotal+')'}}" background="{{({backgroundColor:'#2080f0'})}}" title-color="#fff" border-bottom="{{false}}" bind:__l="__l"></u-navbar><h-m-filter-dropdown vue-id="0b863a9c-3" 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="{{$root.g0==0}}"><view class="empty-wrap"><u-empty vue-id="0b863a9c-4" 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',[['listItemHandle',['$0'],[[['customerList','',index]]]]]]]}}" class="info" bindtap="__e"><view class="customer"><view class="relname">{{''+item.$orig.name+''}}<u-icon class="u-m-l-5" vue-id="{{'0b863a9c-5-'+index}}" name="{{item.$orig.sex=='male'?'man':'woman'}}" size="28" 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-6-'+index}}" name="phone" size="28" bind:__l="__l"></u-icon>{{''+item.$orig.phone+''}}</view><view class="item"><u-icon class="u-m-r-5" vue-id="{{'0b863a9c-7-'+index}}" name="home" size="28" bind:__l="__l"></u-icon>{{''+item.$orig.estate_name+''}}</view><block wx:if="{{item.$orig.remark}}"><view class="item">{{"备注:"+item.$orig.remark}}</view></block></view><view class="data-wrap"><view class="date u-m-t-5">{{"报备:"+item.$orig.create_at}}</view><block wx:if="{{item.$orig.lock_at}}"><view class="date">{{"截止:"+item.$orig.lock_at}}</view></block></view></view><view class="tool-wrap"><view class="tag"><u-tag class="u-m-r-10" vue-id="{{'0b863a9c-8-'+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-9-'+index}}" text="{{stepList[item.$orig.report_step]}}" type="{{item.m0>1?'success':'warning'}}" size="mini" bind:__l="__l"></u-tag></block><block wx:if="{{item.$orig.report_state==3}}"><u-icon vue-id="{{'0b863a9c-10-'+index}}" name="reload" size="32" label="重新报备" label-size="24" color="#f00" label-color="#f00" data-event-opts="{{[['^click',[['pageTo',['/pages/agent/recommend/create',['o',['info',item.$orig]]]]]]]}}" bind:click="__e" bind:__l="__l"></u-icon></block></view><view class="scoped-list-more-info"><text data-event-opts="{{[['tap',[['dial',['$0'],[[['customerList','',index,'create_user.phone']]]]]]]}}" bindtap="__e">{{"报备人:"+item.$orig.create_user.nickname}}</text><u-tag style="margin-left:10px;" vue-id="{{'0b863a9c-11-'+index}}" text="复制" type="primary" size="mini" data-event-opts="{{[['^click',[['copyTextHandle',['$0'],[[['customerList','',index]]]]]]]}}" bind:click="__e" 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="0b863a9c-12" name="search" size="42" color="#fff" bind:__l="__l"></u-icon></view><u-popup bind:input="__e" vue-id="0b863a9c-13" 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-14')+','+('0b863a9c-13')}}" 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-15')+','+('0b863a9c-13')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('0b863a9c-16')+','+('0b863a9c-13')}}" 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-17')+','+('0b863a9c-13')}}" size="medium" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消</u-button><u-button vue-id="{{('0b863a9c-18')+','+('0b863a9c-13')}}" 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="0b863a9c-19" 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>