HHSLinkSLink/HSLink-wx/unpackage/dist/build/mp-weixin/pages/tabbar/message/message.wxml

1 line
1.9 KiB
Plaintext
Raw Permalink Normal View History

2020-12-19 12:13:27 +08:00
<view class="page data-v-f09ba9f0"><block wx:if="{{noData===true}}"><view class="noData data-v-f09ba9f0"><no-data vue-id="fdb36a42-1" custom="{{true}}" class="data-v-f09ba9f0" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-f09ba9f0">暂无消息,打开他人主页可私信</view></no-data></view></block><block wx:if="{{noData===false}}"><view class="cu-list menu-avatar data-v-f09ba9f0"><block wx:for="{{message}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['cu-item data-v-f09ba9f0',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-f09ba9f0"><avatar vue-id="{{'fdb36a42-2-'+index}}" userName="{{item.userInfo.real_name}}" size="50" class="data-v-f09ba9f0" bind:__l="__l"></avatar></view><view class="content data-v-f09ba9f0"><view class="text-grey data-v-f09ba9f0">{{item.userInfo.real_name}}</view><view class="text-gray text-sm width data-v-f09ba9f0">{{''+item.letterList[item.letterList.length-1].content+''}}</view></view><view class="action data-v-f09ba9f0"><view class="text-grey text-xs data-v-f09ba9f0">{{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-f09ba9f0">{{item.unreadNumber}}</view></block><block wx:if="{{item.unreadNumber>0}}"><view class="cu-tag round bg-red sm data-v-f09ba9f0">{{item.unreadNumber}}</view></block></view><view class="move data-v-f09ba9f0"><view data-event-opts="{{[['tap',[['deleteMessage',['$event']]]]]}}" class="bg-red data-v-f09ba9f0" bindtap="__e">删除</view></view></view></block></view></block></view>