个人消息
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
<wxs module="_"> module.exports.contains = function(arr, target) { return arr.indexOf(target) > -1; } </wxs>
|
||||
<t-collapse value="{{activeValues}}" bind:change="handleChange">
|
||||
<t-collapse-panel
|
||||
header="今天任务到期了"
|
||||
header-right-content="{{_.contains(activeValues, 0) ? '收起' : '展开'}}"
|
||||
value="{{0}}"
|
||||
expandIcon
|
||||
>
|
||||
这个凑数的,到时候改成已读未读的消息
|
||||
</t-collapse-panel>
|
||||
</t-collapse>
|
||||
<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>
|
||||
<view wx:for="{{messageList}}">
|
||||
<t-cell title="{{item.title}}" description="{{item.content}}" wx:key="index">
|
||||
<view slot="description">
|
||||
{{item.date}}
|
||||
</view>
|
||||
<view class="sendDate" slot="note">
|
||||
<t-badge wx:if="{{item.isRead}}" dot/>
|
||||
</view>
|
||||
</t-cell>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user