pay_success.wxml
4.86 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
135
136
137
138
139
140
141
<wxs module="filters" src="../../../utils/filter.wxs"></wxs>
<view>
<!-- 支付成功提示 -->
<view class="payradio">
<!-- 提示框 -->
<view class="Success_box flex-center">
<view>
<view class="flex-center">
<image src="{{url}}miniapp/images/pay/paysuccess.png"></image>
</view>
<view class="Success_box_title fs32">订单支付成功!</view>
</view>
</view>
<!-- 支付信息 -->
<view class="payitem_max fs28">
<!-- 订单编号 -->
<view class="payitem flex">
<view>订单编号 :</view>
<text selectable="true">{{order_sn}}</text>
</view>
<!-- 实付金额 -->
<view class="payitem flex">
<view>实付金额 :</view>
<!-- {{filters.toFix()}} -->
<!-- 卡项订单 -->
<view class="pay_money" wx:if="{{options.card == 1}}">{{filters.toFix(order.account,2) }}元</view>
<block wx:else>
<view class="pay_money" wx:if="{{type==1}}">
<view wx:if="{{order.order_amount==0 && order.user_money==0 && pre_cut>0}}">{{filters.toFix(pre_cut,2)}}元</view>
<view wx:else>{{filters.toFix(order.order_amount+order.user_money+order.pt_tail_money,2)}}元</view>
</view>
<view class="pay_money" wx:else>
<view wx:if="{{order.order_amount==0 && order.user_money==0 && pre_cut>0}}">{{filters.toFix(pre_cut,2)}}元</view>
<view wx:else>{{filters.toFix(allmoney+user_money,2) }}元</view>
</view>
</block>
</view>
<!-- 支付方式 -->
<view class="payitem flex" wx:if="{{options.card == 1}}">
<view>支付方式 :</view>
<view>微信支付</view>
</view>
<block wx:else>
<view class="payitem flex" wx:if="{{type==1}}">
<view>支付方式 :</view>
<view wx:if="{{order.order_amount>0 && order.user_money>0 }}">微信支付,余额支付</view>
<view wx:elif="{{order.order_amount>0}}">微信支付</view>
<view wx:elif="{{order.user_money>0}}">余额支付</view>
<view wx:else>
<view wx:if="{{pre_cut>0}}">预存抵扣</view>
<view wx:else>免单</view>
</view>
</view>
<view class="payitem flex" wx:else>
<view>支付方式 :</view>
<view wx:if="{{allmoney>0 && user_money>0 }}">微信支付,余额支付</view>
<view wx:elif="{{allmoney>0}}">微信支付</view>
<view wx:elif="{{user_money>0}}">余额支付</view>
<view wx:else>
<view wx:if="{{pre_cut>0}}">预存抵扣</view>
<view wx:else>免单</view>
</view>
</view>
</block>
</view>
</view>
<view class="flex-level">
<view class="line"></view>
</view>
<!-- 跳转链接 -->
<view>
<!-- 个人收货信息 -->
<view class="pay_User fs28" wx:if="{{order.exp_type==0 || order.exp_type==2 }}">
<view class="payitem flex">
<view class="pay_Receiving">收货人 :</view>
<view class="pay_name ellipsis-1">{{order.consignee}}</view>
<view>{{order.mobile}}</view>
</view>
<view class="payitem flex">
<view class="pay_Receiving">收货地址 :</view>
<view class="address ellipsis-2">{{order.more_address+order.address}}</view>
</view>
</view>
<!-- 收货门店信息 -->
<view class="pay_User fs28" wx:else>
<view class="payitem flex">
<view class="pay_Receiving">门店 :</view>
<view class="pay_name ellipsis-1" wx:if="{{options.card == 1}}">{{order.list[0].pickup_name}}</view>
<view class="pay_name ellipsis-1" wx:else>{{pick.pickup_name}}</view>
</view>
<view class="payitem flex">
<view class="pay_Receiving">门店地址 :</view>
<view class="pay_name" wx:if="{{options.card == 1}}">{{order.list[0].fulladdress}}</view>
<view class="address ellipsis-2" wx:else>{{pick.fulladdress}}</view>
</view>
</view>
<!-- 链接 -->
<view class="fs28 pd20 mgt40">
<view class="flex">
<block wx:if="{{options.card == 1}}">
<!-- <view class="flex-center"> -->
<navigator class="btn f1 bg-yellow white" url="/packageA/pages/details_serviceCard/details_serviceCard?order_id={{order.order_id}}">
<view>订单详情</view>
</navigator>
<!-- </view> -->
<!-- <view class="flex-center"> -->
<navigator class="btn f1 bg-red white mgl20" url="/pages/user/my_service/i_service">
<view>立即预约</view>
</navigator>
<!-- </view> -->
</block>
<block wx:else>
<navigator class="btn f1 bg-yellow white" url="/pages/user/order_list/order_list">
<view>查看订单</view>
</navigator>
</block>
</view>
<view class="mgt30">
<navigator class="btn border c-6" bindtap="goto">
<view>回到首页</view>
</navigator>
</view>
</view>
</view>
</view>