myInform.wxml
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<view scroll-y='true' style='height:{{winHeight}}px' hidden='{{!ifData}}' bindscrolltolower='getMore'>
<view class='mid'>
<view class='mid_item' wx:for="{{noticeList}}" wx:key="index">
<view class='mid_item_top'>
<view class='mid_item_top_left'>
<!-- 图片 -->
<!-- <view class='mid_item_top_left_pic'>
<image src='../../images/03_nav@2x.png'></image>
</view> -->
<!-- 文字 -->
<view class='mid_item_top_left_text color_blue'>
系统消息
<view class='mid_icon' wx:if="{{item.read_switch == 0}}">
未读
<!-- <image src='../../images/weidu@2x.png'></image> -->
</view>
<view class='mid_icon color_read' wx:if="{{item.read_switch == 1}}">
已读
<!-- <image src='../../images/weidu@2x.png'></image> -->
</view>
</view>
</view>
<view class='mid_item_top_right '>
15分钟前
</view>
</view>
<!-- 大标题 -->
<view class='mid_item_title'>
{{item.title}}
</view>
<!-- 文字内容 -->
<view class='mid_item_text'>
{{item.content}}
</view>
</view>
</view>
</view>
<view class="none-box" hidden="{{ifData}}">
<view>暂无相关发文</view>
</view>