message.wxml
1.4 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
<!--pages/message/message.wxml-->
<view class='message_top'>
<view class="{{currenttab==0?'no':''}}" data-tab='0' bindtap='settab'>订单通知</view>
<view class="{{currenttab==1?'no':''}}" data-tab='1' bindtap='settab'>系统消息</view>
</view>
<view class='tab0' wx:if='{{currenttab==0}}'>
<navigator class="messagebox" wx:for='{{postdata0}}' wx:key url='/pages/order_detail/order_detail?id={{item.order_id}}&&messagetab=1&&message_id={{item.id}}'>
<view class='messaage_title'>
<view>您的订单{{item.statustxt}}</view>
<view class='message_time'>
<text>{{item.create_time==null?'暂无':item.create_time}} </text>
<text wx:if='{{item.is_look==0}}' class='dot'></text>
</view>
</view>
<view class='message_mian'>
订单编号:{{item.order_number}}
</view>
</navigator>
<view class='addnomore' >——没有更多数据了——</view>
</view>
<view class='tab1' wx:if='{{currenttab==1}}'>
<navigator class="messagebox" wx:for='{{postdata1}}' wx:key url='/pages/img_text/img_text?state=5&id={{item.id}}' hover-class="other-navigator-hover ">
<view class='messaage_title'>
<view>系统消息</view>
<view class='message_time'>
<text>{{item.create_time==null?'暂无':item.create_time}}</text>
<text wx:if='{{item.is_look==0}}' class='dot'></text>
</view>
</view>
<view class='message_mian'>
{{item.abstract}}
</view>
</navigator>
<view class='addnomore' >——没有更多数据了——</view>
</view>