unpayOrderDetail.wxml
7.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
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
123
124
125
126
127
128
129
130
131
132
133
134
<!--pages/my/orderDetail/orderDetail.wxml-->
<view class='page {{cancel_order?"active":""}}'>
<view class='banner_box'>
<image src='../../imgs/unpay.png' class='banner_imaimg'></image>
<view class='banner'>
<view class='iconfont icon-fanhui' catchtap='get_my'></view>
<view class='coupons'>订单详情</view>
<view class='user_guide' bindtap='jump_user'>用户指南</view>
</view>
<view class='state'>
<view class='wait_pay'>待付款</view>
<view class='state_btn'>
<view class='payTop' bindtap='go_pay' data-id='{{orderInfo.order_sn}}'>付款</view>
<view class='pay' bindtap='cancel_order'>取消订单</view>
</view>
</view>
</view>
<!-- <view class='banner_box'>
<view class='banner'>
<view class='iconfont icon-fanhui' catchtap='get_my'></view>
<view class='coupons'>订单详情</view>
<view class='user_guide' bindtap='jump_user'>用户指南</view>
</view>
<view class='state'>
<image src='../../imgs/unship.png' class='banner_imaimg'></image>
<view class='wait_pay'>待发货</view>
<view class='state_btn'>
<view class='pay'>提醒发货</view>
</view>
</view>
</view> -->
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>配送信息</view>
<view class='expected_time'>
<view class='hint'>期望时间</view>
<view>{{delivery_time}}</view>
</view>
<view class='shipping_information'>
<view class='hint'>配送信息</view>
<view>
<view>{{orderInfo.sh_name}}{{orderInfo.mobile}}
</view>
<view>{{orderInfo.sh_address}}</view>
</view>
</view>
</view>
<view class='item_list1'>
<view class='list_title'>配送信息</view>
<view class='content {{More?"":"active"}}'>
<view class='content_list' wx:for="{{orderDetail}}" wx:key="{{item.id}}">
<view class='content_detail'>
<view class='content_img'>
<image src='{{item.more.thumbnail}}'></image>
</view>
<view class='species'>
<view>{{item.title}}</view>
<view class='num'>×{{item.number}}</view>
</view>
</view>
<view>¥{{item.ggprice}}</view>
</view>
</view>
<view class='more_box' wx:if='{{More}}' bindtap='clickMore'>
<view>展开更多</view>
<view class='iconfont icon-zhankai'></view>
</view>
</view>
<view>
<view class='item_list1'>
<view class='goods_detail'>
<view>商品总价</view>
<view>¥{{orderInfo.amount}}</view>
</view>
<view class='goods_detail' wx:if='{{orderInfo.coupon_price!="0.00"}}'>
<view>优惠券</view>
<view>-¥{{orderInfo.coupon_price}}</view>
</view>
<view class='goods_detail' wx:if='{{orderInfo.score_price!="0.00"}}'>
<view>积分抵扣</view>
<view>-¥{{orderInfo.score_price}}</view>
</view>
<view class='goods_detail'>
<view>运费</view>
<view>¥{{orderInfo.yunfei}}</view>
</view>
<view class='goods_detail'>
<view>商品实付</view>
<view>¥{{orderInfo.order_price}}</view>
</view>
<view class='goods_detail' wx:if='{{orderInfo.vip_price!="0.00"}}'>
<view>购买会员</view>
<view>¥{{orderInfo.vip_price}}</view>
</view>
</view>
<view class='total'>合计
<text class='money'>¥{{orderInfo.real_price}}</text> </view>
</view>
<view class='item_list1'>
<view class='list_title'>订单信息</view>
<view class='expected_time'>
<view class='hint'>订单编号</view>
<view>{{orderInfo.order_sn}}</view>
</view>
<view class='expected_time'>
<view class='hint'>交易流水</view>
<view>{{orderInfo.pay_order_sn}}</view>
</view>
<view class='expected_time'>
<view class='hint'>创建时间</view>
<view>{{orderInfo.create_time}}</view>
</view>
<!-- <view class='expected_time'>
<view class='hint'>付款时间</view>
<view>{{orderInfo.pay_time}}</view>
</view> -->
</view>
</view>
</view>
<!-- 订单取消 -->
<view class='cancelOrder_mask' wx:if='{{cancel_order}}' bindtap='close_mask'>
<view class='cancelOrder_diceng'>
<view class='cancel_one'>取消原因</view>
<view class='cancel_two'>
<view class='cancel_two_item {{cancel_id===index?"active":""}}' wx:for='{{sale_arr}}' wx:key='{{index}}' wx:for-index='index' data-id='{{index}}' data-value='{{item}}' catchtap='changeReasonId'>{{item}}</view>
</view>
<view class='cancel_three' catchtap='close_cancel_masks'>我知道了</view>
</view>
</view>