个人消息
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<view class="msgTitle">
|
||||
<view class="clear"></view>
|
||||
<view class="clear"><t-icon name="app"></t-icon></view>
|
||||
<view class="read"><t-icon name="app"/></view>
|
||||
<view class="clear"><t-icon name="clear" data-key="clearConfirm" bind:tap="showDialog" /></view>
|
||||
<view class="read"><t-icon name="check" data-key="checkConfirm" bind:tap="showDialog"/></view>
|
||||
</view>
|
||||
<view wx:for="{{messageList}}">
|
||||
<view class="msgContent" wx:for="{{messageList}}">
|
||||
<t-cell title="{{item.title}}" description="{{item.content}}" wx:key="index">
|
||||
<view slot="description">
|
||||
{{item.date}}
|
||||
@@ -13,3 +12,21 @@
|
||||
</view>
|
||||
</t-cell>
|
||||
</view>
|
||||
<t-dialog
|
||||
visible="{{clearConfirm}}"
|
||||
title="确认清除所有消息?"
|
||||
t-class-confirm="custom-confirm-btn"
|
||||
confirm-btn="清除"
|
||||
cancel-btn="取消"
|
||||
bind:confirm="clearMessage"
|
||||
bind:cancel="closeDialog"
|
||||
/>
|
||||
<t-dialog
|
||||
visible="{{checkConfirm}}"
|
||||
title="全部标记已读"
|
||||
t-class-confirm="custom-confirm-btn"
|
||||
confirm-btn="确定"
|
||||
cancel-btn="取消"
|
||||
bind:confirm="allRead"
|
||||
bind:cancel="closeDialog"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user