1 |
- <view class="back"><view data-event-opts="{{[['tap',[['toserve',['$event']]]]]}}" class="input u-flex" bindtap="__e"><u-icon vue-id="11019d97-1" name="search" color="rgba(153, 153, 153, 1)" size="40" bind:__l="__l"></u-icon><input style="width:600rpx;margin-left:16rpx;" type="text" placeholder="{{i18n.Searchchat}}"/></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view><block wx:if="{{user_no!='13523652365'&&item.$orig.conversationId=='13523652365'}}"><view data-event-opts="{{[['tap',[['tokefu',['$event']]]]]}}" class="kefu u-flex" bindtap="__e"><image style="width:88rpx;height:88rpx;" src="/pageA/static/images/kefu.png" mode></image><view class="u-row-between" style="height:88rpx;display:flex;flex-direction:column;margin-left:20rpx;width:85%;"><view class="u-flex u-row-between"><view class="name">{{i18n.customerService}}</view><view class="time">{{''+item.g0+"-"+(item.g1+1)+"-"+item.g2+"\n\t\t\t\t\t\t"+item.g3+''}}</view></view><view class="u-flex u-row-between"><block wx:if="{{item.$orig.lastMessage.msg}}"><text class="news">{{item.$orig.lastMessage.msg}}</text></block><block wx:if="{{item.$orig.lastMessage.type=='img'}}"><text class="news">{{i18n.picture}}</text></block><block wx:if="{{item.$orig.lastMessage.type=='audio'}}"><text class="news">{{i18n.voiceMessage}}</text></block><u-badge vue-id="{{'11019d97-2-'+idx}}" type="{{type}}" max="99" value="{{item.$orig.unReadCount}}" bind:__l="__l"></u-badge></view></view></view></block></view></block><view class="box "><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['chat',['$0'],[[['list','',idx]]]]]]]}}" style="margin-bottom:26rpx;" bindtap="__e"><block wx:if="{{item.$orig.conversationId!='13523652365'}}"><view class="u-flex "><block wx:if="{{item.$orig.lastMessage.ext.user.easemob_username==user_no}}"><image style="width:88rpx;height:88rpx;" src="{{item.$orig.lastMessage.ext.user_other.image||item.$orig.lastMessage.ext.user_other.avatar}}" mode></image></block><block wx:else><image style="width:88rpx;height:88rpx;" src="{{item.$orig.lastMessage.ext.user.avatar}}" mode></image></block><view class="u-row-between" style="display:flex;flex-direction:column;margin-left:20rpx;width:85%;"><view class="u-flex u-row-between"><block wx:if="{{item.$orig.lastMessage.ext.user.easemob_username==user_no}}"><view class="name">{{''+(item.$orig.lastMessage.ext.user_other.merchant_name||item.$orig.lastMessage.ext.user_other.nickname||item.$orig.lastMessage.ext.user_other.member.easemob_nickname)+''}}</view></block><block wx:else><view class="name">{{''+item.$orig.lastMessage.ext.user.nickname+''}}</view></block><view class="time">{{''+item.g4+"-"+(item.g5+1)+"-"+item.g6+"\n\t\t\t\t\t\t\t\t"+item.g7+''}}</view></view><view class="u-flex u-row-between" style="border-bottom:2rpx solid #eae7e7;padding-bottom:26rpx;margin-top:10rpx;"><block wx:if="{{item.$orig.lastMessage.msg}}"><text class="news">{{item.$orig.lastMessage.msg}}</text></block><block wx:if="{{item.$orig.lastMessage.type=='img'}}"><text class="news">{{i18n.picture}}</text></block><block wx:if="{{item.$orig.lastMessage.type=='audio'}}"><text class="news">{{i18n.voiceMessage}}</text></block><u-badge vue-id="{{'11019d97-3-'+idx}}" type="{{type}}" max="99" value="{{item.$orig.unReadCount}}" bind:__l="__l"></u-badge></view></view></view></block></view></block></view></view>
|