...
|
...
|
@@ -2,33 +2,39 @@ |
|
|
<view class="message-title">
|
|
|
<text class='message-title'>消息</text>
|
|
|
</view>
|
|
|
|
|
|
<!-- 三个通知 -->
|
|
|
<view class='message-header'>
|
|
|
<block wx:for="{{messageTypeList}}" wx:key="{{index}}">
|
|
|
<view class="type-item" data-item="{{item}}" bindtap="navToDetail">
|
|
|
<view class="iconfont">
|
|
|
<image src="{{item.imgUrl}}" class="icon-image"></image>
|
|
|
<view class='red-point' hidden='{{item.unReadCount?false:true}}'>
|
|
|
<view wx:if="{{item.unReadCount < 10}}" class='normal-red-point'>{{item.unReadCount}}</view>
|
|
|
<view wx:else class='long-red-point'>{{item.unReadCount}}</view>
|
|
|
<block wx:if="{{isLogined}}">
|
|
|
<!-- 三个通知 -->
|
|
|
<view class='message-header'>
|
|
|
<block wx:for="{{messageTypeList}}" wx:key="{{index}}">
|
|
|
<view class="type-item" data-item="{{item}}" bindtap="navToDetail">
|
|
|
<view class="iconfont">
|
|
|
<image src="{{item.imgUrl}}" class="icon-image"></image>
|
|
|
<view class='red-point' hidden='{{item.unReadCount?false:true}}'>
|
|
|
<view wx:if="{{item.unReadCount < 10}}" class='normal-red-point'>{{item.unReadCount}}</view>
|
|
|
<view wx:else class='long-red-point'>{{item.unReadCount}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
{{item.description}}
|
|
|
</view>
|
|
|
{{item.description}}
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
|
|
|
<view class='latest-message'>最新消息</view>
|
|
|
<view class='latest-message'>最新消息</view>
|
|
|
|
|
|
<!-- 消息列表 -->
|
|
|
<view class='message-list'>
|
|
|
<block wx:for="{{messageInfo.messageList}}" wx:key="{{index}}">
|
|
|
<view class='cell'>
|
|
|
<view class='content'>{{item.content}}</view>
|
|
|
<view class='time'>{{item.createTime}}</view>
|
|
|
<view class='space-line'></view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
<!-- 消息列表 -->
|
|
|
<view class='message-list'>
|
|
|
<block wx:for="{{messageInfo.messageList}}" wx:key="{{index}}">
|
|
|
<view class='cell'>
|
|
|
<view class='content'>{{item.content}}</view>
|
|
|
<view class='time'>{{item.createTime}}</view>
|
|
|
<view class='space-line'></view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
</block>
|
|
|
<block wx:else>
|
|
|
<view class='empty'>
|
|
|
<no-data-show-view isLogin="{{true}}"></no-data-show-view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|