index.wxml 3.6 KB

1
  1. <view class="main data-v-53286b40"><view class="top-tabs data-v-53286b40" style="{{(colorStyle)}}"><view class="tabs data-v-53286b40"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTabs',[index]]]]]}}" class="{{['item','data-v-53286b40',(type===index)?'btborder':'']}}" bindtap="__e">{{''+item.m0+''}}</view></block></view><view data-event-opts="{{[['tap',[['allLook']]]]}}" class="read-all data-v-53286b40" bindtap="__e">{{''+$root.m1+''}}</view></view><block wx:if="{{$root.g0}}"><view class="list data-v-53286b40"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goChat',['$0'],[[['list','',index]]]]]]]}}" class="item data-v-53286b40" bindtap="__e"><view class="image-wrap data-v-53286b40"><image class="image data-v-53286b40" src="{{item.$orig.avatar}}"></image></view><view class="text-wrap data-v-53286b40"><view class="name-wrap data-v-53286b40"><view class="name data-v-53286b40">{{item.m2}}</view><view class="data-v-53286b40">{{item.$orig._update_time}}</view></view><view class="info-wrap data-v-53286b40"><block wx:if="{{item.$orig.message_type===1}}"><view class="info data-v-53286b40"><rich-text nodes="{{item.$orig.message}}"></rich-text></view></block><block wx:if="{{item.$orig.message_type===2}}"><view class="info data-v-53286b40"><rich-text nodes="{{item.$orig.message}}"></rich-text></view></block><block wx:if="{{item.$orig.message_type===3}}"><view class="info data-v-53286b40">{{item.m3}}</view></block><block wx:if="{{item.$orig.message_type===4}}"><view class="info data-v-53286b40">{{item.m4}}</view></block><block wx:if="{{item.$orig.message_type===5}}"><view class="info data-v-53286b40">{{item.m5}}</view></block><block wx:if="{{item.$orig.message_type===6}}"><view class="info data-v-53286b40">{{item.m6}}</view></block><block wx:if="{{item.$orig.mssage_num}}"><view class="num data-v-53286b40">{{item.$orig.mssage_num}}</view></block></view></view></view></block></view></block><block wx:if="{{$root.g1}}"><view class="list data-v-53286b40"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-53286b40"><tui-drawer vue-id="{{'22321454-1-'+index}}" actions="{{!item.$orig.look?actions:actionsIsLook}}" params="{{item.a0}}" data-event-opts="{{[['^click',[['e0']]]]}}" data-event-params="{{({item:item.$orig})}}" bind:click="__e" class="data-v-53286b40" bind:__l="__l" vue-slots="{{['content']}}"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','',index,'id']]]]]]]}}" class="item data-v-53286b40" bindtap="__e" slot="content"><view class="image-wrap data-v-53286b40"><block wx:if="{{item.$orig.type===1}}"><image class="image data-v-53286b40" src="../static/admin-msg.png"></image></block><block wx:else><image class="image data-v-53286b40" src="../static/user-msg.png"></image></block><block wx:if="{{!item.$orig.look}}"><view class="no-look data-v-53286b40"></view></block></view><view class="text-wrap data-v-53286b40"><view class="name-wrap data-v-53286b40"><view class="name data-v-53286b40">{{item.m7}}</view><view class="data-v-53286b40">{{item.$orig.add_time}}</view></view><view class="info-wrap data-v-53286b40"><view class="info data-v-53286b40"><rich-text nodes="{{item.$orig.content}}"></rich-text></view></view></view></view></tui-drawer></view></block></view></block><block wx:else><block wx:if="{{$root.g2}}"><view class="empty-wrap data-v-53286b40"><view class="image-wrap data-v-53286b40"><image class="image data-v-53286b40" src="{{imgHost+'/statics/images/noMessage.png'}}"></image></view><view class="data-v-53286b40">{{$root.m8}}</view></view></block></block></view>