<view><view class="tab_list"><view data-event-opts="{{[['tap',[['changeFirTab',[0]]]]]}}" class="{{['tabli',type==0?'tabliactive':'']}}" bindtap="__e">全部</view><view data-event-opts="{{[['tap',[['changeFirTab',[1]]]]]}}" class="{{['tabli',type==1?'tabliactive':'']}}" bindtap="__e">我创建的</view><view data-event-opts="{{[['tap',[['changeFirTab',[2]]]]]}}" class="{{['tabli',type==2?'tabliactive':'']}}" bindtap="__e">下属创建的</view></view><view class="searchbox"><view data-event-opts="{{[['tap',[['toQuery',['$event']]]]]}}" class="searchtext" bindtap="__e">筛选<view class="iconfont icon-shaixuan"></view></view></view><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="fllow_item"><block wx:if="{{item.is_read!=1}}"><view class="unread"></view></block><view data-event-opts="{{[['tap',[['clientClick',['$0',index],[[['lists','',index]]]]]]]}}" class="item_content" catchtap="__e"><view class="con_img"><image class="headerimg" src="{{item.staff.img?item.staff.img:BASE_IMG_URL+'headImg.png'}}" mode="scaleToFill"></image><view class="main_first"><view class="main_title"><view class="first_left"><view>{{item.staff.name}}</view><view class="fontColor">{{item.staff.post?item.staff.post:''}}</view></view><block wx:if="{{item.follow_type=='到访'}}"><view class="main_type daofang">{{item.follow_type}}</view></block><block wx:if="{{item.follow_type=='跟进'}}"><view class="main_type genjin">{{item.follow_type}}</view></block><block wx:if="{{item.follow_type!='跟进'&&item.follow_type!='到访'}}"><view class="main_type other">{{item.follow_type}}</view></block></view><view class="fontColor main_time">{{item.follow_time}}</view></view></view><view class="con_main"><view class="main_second"><view>{{item.content}}</view></view><block wx:if="{{item.next_time!=null}}"><view class="main_third fontColor"><view class="third_left"><view class="iconfont icon-clock"></view><view class="lxs_time">{{"下次跟进时间："+item.next_time}}</view></view><view class="third_right"><view class="iconfont icon-arrows_right"></view></view></view></block><block wx:if="{{item.relation_type==1}}"><view data-event-opts="{{[['tap',[['toMore',['$0',1],[[['lists','',index,'relation_id']]]]]]]}}" class="customer" catchtap="__e">关联客户：<label style="color:#008EFF;" class="_span">{{item.relation_name?item.relation_name:'--'}}</label></view></block><block wx:if="{{item.relation_type==2}}"><view data-event-opts="{{[['tap',[['toContactDetail',['$0'],[[['lists','',index,'relation_id']]]]]]]}}" class="customer" catchtap="__e">关联联系人：<label style="color:#008EFF;" class="_span">{{item.relation_name?item.relation_name:'--'}}</label></view></block><block wx:if="{{item.relation_type==3}}"><view data-event-opts="{{[['tap',[['toContractDetail',['$0'],[[['lists','',index,'relation_id']]]]]]]}}" class="customer" catchtap="__e">关联合同：<label style="color:#008EFF;" class="_span">{{item.relation_name?item.relation_name:'--'}}</label></view></block><block wx:if="{{item.relation_type==4}}"><view data-event-opts="{{[['tap',[['toClues',['$0'],[[['lists','',index,'relation_id']]]]]]]}}" class="customer" catchtap="__e">关联线索：<label style="color:#008EFF;" class="_span">{{item.relation_name?item.relation_name:'--'}}</label></view></block><block wx:if="{{item.relation_type==5}}"><view data-event-opts="{{[['tap',[['toBusiness',['$0'],[[['lists','',index,'relation_id']]]]]]]}}" class="customer" catchtap="__e">关联商机：<label style="color:#008EFF;" class="_span">{{item.relation_name?item.relation_name:'--'}}</label></view></block></view></view></view></block><view style="height:200rpx;"></view><block wx:if="{{$root.g0==0}}"><u-empty vue-id="7ba13168-1" text="暂无更多" bind:__l="__l"></u-empty></block><view data-event-opts="{{[['tap',[['toCreateFollow',['$event']]]]]}}" class="icon_creat" bindtap="__e"><image src="{{BASE_IMG_URL+'1.png'}}" mode="scaleToFill"></image></view><screen-pop class="vue-ref" bind:sureParams="__e" vue-id="7ba13168-2" data-ref="popChild" data-event-opts="{{[['^sureParams',[['sureParams']]]]}}" bind:__l="__l"></screen-pop></view>