HHSLinkSLink/HSLink-app/unpackage/dist/dev/mp-weixin/pages/tabbar/message/message.wxml

1 line
1.9 KiB
Plaintext
Raw Normal View History

2020-12-19 12:13:27 +08:00
<view class="page data-v-4e7d1707"><block wx:if="{{noData===true}}"><view class="noData data-v-4e7d1707"><no-data vue-id="fdb36a42-1" custom="{{true}}" class="data-v-4e7d1707" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-4e7d1707">暂无消息,打开他人主页可私信</view></no-data></view></block><block wx:if="{{noData===false}}"><view class="cu-list menu-avatar data-v-4e7d1707"><block wx:for="{{message}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['cu-item data-v-4e7d1707',modalName=='move-box-'+index?'move-cur':'']}}" data-target="{{'move-box-'+index}}" data-event-opts="{{[['touchstart',[['ListTouchStart',['$event']]]],['touchmove',[['ListTouchMove',['$event']]]],['touchend',[['ListTouchEnd',['$event']]]],['tap',[['goToMessage',['$0'],[[['message','',index]]]]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e" bindtap="__e"><view class="header-photo data-v-4e7d1707"><avatar vue-id="{{'fdb36a42-2-'+index}}" userName="{{item.userInfo.real_name}}" size="50" class="data-v-4e7d1707" bind:__l="__l"></avatar></view><view class="content data-v-4e7d1707"><view class="text-grey data-v-4e7d1707">{{item.userInfo.real_name}}</view><view class="text-gray text-sm width data-v-4e7d1707">{{''+item.letterList[item.letterList.length-1].content+''}}</view></view><view class="action data-v-4e7d1707"><view class="text-grey text-xs data-v-4e7d1707">{{item.letterList[item.letterList.length-1].letter_create_time}}</view><block wx:if="{{item.unreadNumber===0}}"><view class="cu-tag round bg-grey sm data-v-4e7d1707">{{item.unreadNumber}}</view></block><block wx:if="{{item.unreadNumber>0}}"><view class="cu-tag round bg-red sm data-v-4e7d1707">{{item.unreadNumber}}</view></block></view><view class="move data-v-4e7d1707"><view data-event-opts="{{[['tap',[['deleteMessage',['$event']]]]]}}" class="bg-red data-v-4e7d1707" bindtap="__e">删除</view></view></view></block></view></block></view>