crm_second_opening_mini/components/content/customerDynamic/customerDynamic.wxml

64 lines
4.2 KiB
Plaintext
Raw Normal View History

2023-03-16 01:27:27 +00:00
<view class="customer_dynamic">
<block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index">
<view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="fllow_item" catchtap="__e">
<view class="item_content">
<view class="con_img">
<image class="headerimg" style="width:129rpx;height:129rpx;border-radius:50%;margin:23rpx 36rpx 42rpx 35rpx;" src="{{item.$orig.staff.img?item.$orig.staff.img:BASE_IMG_URL+'headImg.png'}}" mode="scaleToFill"></image>
<view class="main_first">
<view class="main_title">
<view class="first_left">
<view class="f_l_yop">
<view>{{item.$orig.staff.name}}</view>
<view>{{item.$orig.follow_time}}</view>
</view>
<view class="f_l_bottom" style="margin-top:30rpx;">
<block wx:if="{{item.$orig.follow_type=='到访'}}">
<view class="main_type daofang">{{''+item.$orig.follow_type+''}}</view>
</block>
<block wx:if="{{item.$orig.follow_type=='跟进'}}">
<view class="main_type genjin">{{''+item.$orig.follow_type+''}}</view>
</block>
<block wx:if="{{item.$orig.follow_type!='跟进'&&item.$orig.follow_type!='到访'}}">
<view class="main_type other">{{''+item.$orig.follow_type+''}}</view>
</block>
</view>
</view>
</view>
</view>
</view>
<view class="con_main">
<view class="main_second">
<view>{{item.$orig.content}}</view>
</view>
<block wx:if="{{item.$orig.next_time}}">
<view class="lxs_time">{{"下次跟进时间:"+(item.$orig.next_time?item.$orig.next_time:'')}}</view>
</block>
<block wx:if="{{item.g0!=0}}">
<view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="main_img" catchtap="__e">
<block wx:for="{{item.$orig.imgList}}" wx:for-item="ele" wx:for-index="index" wx:key="index">
<image class="imgbox" src="{{ele.file_path}}" data-event-opts="{{[['tap',[['toPrevieImg',['$0',index],[[['list','',index,'imgList']]]]]]]}}" catchtap="__e"></image>
</block>
</view>
</block>
<block wx:if="{{item.g1!=0}}">
<view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="fllow_file_li" catchtap="__e">
<block wx:for="{{item.$orig.fileList}}" wx:for-item="fileitem" wx:for-index="fileindex" wx:key="fileindex">
<view class="fil_li">
<image class="fileimg" src="{{BASE_IMG_URL+'fujian.png'}}" mode="scaleToFill"></image>
<view data-event-opts="{{[['tap',[['openCommonFile',['$0'],[[['list','',index],['fileList','',fileindex]]]]]]]}}" class="filename" bindtap="__e">{{fileitem.name}}</view>
</view>
</block>
</view>
</block>
</view>
<view class="comment">
<image src="{{BASE_IMG_URL+'pl.png'}}" mode="scaleToFill"></image>{{"("+item.$orig.comment_num+')'}}
<view class="span" style="margin-left:10rpx;display:block;">查看评论</view>
</view>
</view>
</view>
</block>
<block wx:if="{{$root.g2==0}}">
<u-empty vue-id="ab320058-1" text="暂无更多" bind:__l="__l"></u-empty>
</block>
</view>