my.wxml
4.8 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<block>
<view class="header" bindtap="toLoginFun">
<image class="avator" src="{{obj.image || '/images/icon_59.png'}}"></image>
<!-- 未登录 -->
<view class="right" wx:if="{{no_login}}">
<view class="tips_word">您好,请登录</view>
</view>
<!-- 登录 -->
<view class="right" wx:else>
<view class="name_box">
<view class="name">{{obj.user_name}}
<view class="id">ID {{obj.id_card}}</view>
</view>
</view>
<view class="company">{{obj.competition}}</view>
<view class="info_box">
<view>{{obj.job?obj.job:'暂无'}}</view>
<view>{{obj.section?obj.section:'暂无'}}</view>
<view>{{obj.tel}}</view>
</view>
</view>
</view>
<view class="content">
<view class="order_box">
<view class="order_item" bindtap="jumpListFun" data-t="1" data-i="0">
<image src="/images/icon_29.png" />
<text>待付款</text>
<view class="num" wx:if="{{order.daiorder>0}}">{{order.daiorder}}</view>
</view>
<view class="order_item" bindtap="jumpListFun" data-t="1" data-i="1">
<image src="/images/icon_58.png" />
<text>待发货</text>
<view class="num" wx:if="{{order.daifahuoorder>0}}">{{order.daifahuoorder}}</view>
</view>
<view class="order_item" bindtap="jumpListFun" data-t="1" data-i="2">
<image src="/images/icon_30.png" />
<text>待收货</text>
<view class="num" wx:if="{{order.daishouhuoorder>0}}">{{order.daishouhuoorder}}</view>
</view>
<view class="order_item" bindtap="jumpListFun" data-t="1" data-i="3">
<image src="/images/icon_37.png" />
<text>已完成</text>
<view class="num" wx:if="{{order.success>0}}">{{order.success}}</view>
</view>
<view class="order_item" bindtap="jumpListFun" data-t="1" data-i="4">
<image src="/images/icon_31.png" />
<text>退换货</text>
<view class="num" wx:if="{{order.tui>0}}">{{order.tui}}</view>
</view>
</view>
<!-- 物流信息 -->
<view class="wuliuinfo" wx:if="{{kuaidi.length!=0}}">
<view class="page-section page-section-spacing swiper">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" vertical="true" circular="true">
<block wx:for="{{kuaidi}}" wx:key="*this">
<swiper-item>
<view class="swiper-item">
<view class='wuliutop flextwo'>
<view class="wutopleft">最新物流</view>
<view class="wutopright">{{item.kuaidi.Traces[0].AcceptTime}}</view>
</view>
<view class="wuliubot flexone">
<view class="wuliuleft">
<image src="{{item.kuaidi.product_image}}"></image>
</view>
<view class="wuliuitemright">
<view class="wuliustate flextwo">
<view class="wuliuimg">
<image src="/images/icon_30.png"></image>
</view>
<view class="dai" wx:if="{{item.kuaidi.State==0}}">待取件</view>
<view class="dai" wx:if="{{item.kuaidi.State==1}}">已揽收</view>
<view class="dai" wx:if="{{item.kuaidi.State==2}}">在途中</view>
<view class="dai" wx:if="{{item.kuaidi.State==3}}">签收</view>
<view class="dai" wx:if="{{item.kuaidi.State==4}}">问题件</view>
</view>
<view class="daiquname">{{item.kuaidi.Traces[0].AcceptStation}}</view>
</view>
</view>
</view>
</swiper-item>
</block>
</swiper>
</view>
</view>
<view class="item_box">
<view class="item" bindtap="jumpListFun" data-t="2">
<view class="left">
<image src="/images/icon_35.png" />我的收藏
</view>
<image src="/images/youjiantou.png" class="youjiantou" />
</view>
<view class="item" bindtap="jumpListFun" data-t="3">
<view class="left">
<image src="/images/icon_33.png" />我的积分
</view>
<image src="/images/youjiantou.png" class="youjiantou" />
</view>
<view class="item" bindtap="jumpListFun" data-t="4">
<view class="left">
<image src="/images/icon_32.png" style="width:26rpx;height:30rpx;" />我的地址
</view>
<image src="/images/youjiantou.png" class="youjiantou" />
</view>
<view class="item" bindtap="jumpListFun" data-t="5">
<view class="left">
<image src="/images/icon_34.png" style="width:30rpx;height:30rpx;" />关于我们
</view>
<image src="/images/youjiantou.png" class="youjiantou" />
</view>
</view>
</view>
<concat/>
</block>