settle_account.wxml
11.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!--pages/my/orderDetail/orderDetail.wxml-->
<view class='pages {{showad?"active":""}} {{couponFlag||deliverTime||chooseFlagAddress?"activity":""}}'>
<view class='scroll'>
<view class='banner'>
<view class='iconfont icon-fanhui' catchtap='get_back'></view>
<view class='coupons'>结算</view>
</view>
<view class='content_item'>
<view class='item_list'>
<!-- <view class='expected_time' bindtap='chooseTime' wx:if='{{is_group==0}}'> -->
<picker mode="multiSelector" wx:if='{{is_group==0}}' class='flex_box' bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
<view class="picker_class">
<view class='iconfont icon-time'></view>
<view class='hint' wx:if='{{timeflag}}'>选择时间</view>
<view class='hint' wx:else>{{multiArray[0][multiIndex[0]]}}{{multiArray[1][multiIndex[1]]}}</view>
<view class='centers'>送达</view>
<view class='iconfont icon-jinru add_left'></view>
</view>
</picker>
<!-- <view class='expected_time' bindtap='chooseTime' wx:else> -->
<view class='expected_time' wx:else>
<view class='iconfont icon-time'></view>
<text class='hint'>团购成功后,我们会在2天内完成配送的</text>
</view>
<view class='expected_time' bindtap='openAddress'>
<view class='iconfont icon-position'></view>
<!-- <text wx:if='{{addressFlag}}'>请选择收货地址</text> -->
<!-- <text wx:else class='centers'>{{address.name}}\t\t\t\t{{address.mobile}}\n{{address.poiname}}\t\t{{address.doorplate}}\t\t</text> -->
<text class='centers'>{{address.name}}\t\t\t\t{{address.mobile}}\n{{address.poiname}}\t\t{{address.doorplate}}\t\t</text>
<view class='iconfont icon-jinru dec_left active'></view>
</view>
</view>
<view class='item_list1'>
<view class='list_title'>商品信息 </view>
<view class='content'>
<view class='content_list' wx:if='{{goodsList}}' wx:for="{{goodsList}}" 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>
<view wx:if='{{packId==-1}}'>
<view wx:if='{{is_vip==1}}'>¥{{item.vip_price}}</view>
<view wx:else>¥{{item.price}}</view>
</view>
<view wx:else>¥{{item.price}}</view>
</view>
</view>
<!-- <view class='content_list' wx:if='{{num!=0}}'>
<view class='content_detail'>
<view class='content_img'>
<image src='{{gList.more.thumbnail}}'></image>
</view>
<view class='species'>
<view>{{gList.title}}</view>
<view class='num'>×{{num}}</view>
</view>
</view>
<view>¥{{goodsTotalPrice}}</view>
</view> -->
</view>
</view>
<view>
<view class='item_list1'>
<view class='goods_detail'>
<view>原价</view>
<view>
<view wx:if='{{vip.priceData.amountOld!=""}}'>¥{{goodsTotalPrice}}</view>
<!-- {{vip.priceData.amountOld}} -->
</view>
</view>
<view class='goods_detail'>
<view>运费</view>
<view>¥{{vip.priceData.shipment_price}}</view>
</view>
<view class='goods_detail' bindtap='jump_coupon'>
<view>优惠券抵扣</view>
<view class='right'>
<view>-¥{{couponPrice}}</view>
<view class='iconfont icon-jinru icon-jinru-dec'></view>
</view>
</view>
<view class='goods_detail bottom'>
<view>可用{{vip.priceData.score}}积分抵用{{vip.priceData.scorePrice}}元</view>
<view>
<switch color="#FFDA44" class='daxiao_size' style='zoom:.6' bindchange='changeSwitch' data-scoreprice='{{vip.priceData.scorePrice}}'></switch>
</view>
</view>
</view>
<view class='total'>合计
<text class='moneys'>¥{{amount}}</text> </view>
</view>
<view class='item_list1'>
<view class='list_title'>升级尊享会员特权,本单更返¥{{vip.priceData.cashbackPrice}}</view>
<view class='contents' wx:for='{{vipList}}' wx:for-index='key' wx:for-item='value' wx:key='{{key}}'>
<view class='no_flex'>
<text class='jiange'>{{value.title}}</text>
<text class='jiange kuoda'>¥{{value.sale_price}}</text>
<view class='one_month'>({{value.remark}})</view>
<view class='iconfont icon-weixuanzhong xuanzhong {{vipId==value.id&&value.t?"active":""}}' bindtap='change_vip_id' data-id='{{value.id}}' data-index='{{key}}'></view>
</view>
</view>
</view>
<view class='no_padding_top'>
<view class='contents no_border_top'>
<view class='no_flex'>
<text class='jiange'>余额</text>
<text class='jiange kuoda'>¥{{vip.user.balance}}</text>
<view class='invest' bindtap='go_recharge'>余额充值</view>
<view class='yue_pay'>使用余额支付</view>
<view class='iconfont icon-weixuanzhong xuanzhong {{useBalance?"active":""}}' bindtap='useBalance'></view>
</view>
</view>
</view>
</view>
</view>
<view class='fixed_bottom'>
<view class='bottom_left'>
<view>
<view class='bottom_left_left' wx:if='{{useBalance}}'>余额支付</view>
<view class='bottom_left_left' wx:else>微信支付</view>
</view>
<view class='bottom_left_right'>¥{{last_total_price}}</view>
</view>
<view class='bottom_right' bindtap='settle_success'>去支付</view>
</view>
</view>
<!-- 选取优惠券弹框 -->
<view class='chooseCoupon' wx:if='{{couponFlag}}'>
<view class='banner'>
<view class='iconfont icon-fanhui' bindtap='get_myss'> </view>
<view class='coupons'>我的优惠券</view>
</view>
<view class='item_list_boxs' wx:for='{{vip.newUserCoupon}}' wx:key='{{item.id}}' bindtap='closeCoupon' wx:for-index='index' data-index='{{index}}'>
<view class='item_lists'>
<view class='right_top_circle'>免运费券</view>
<view class='list_character'>
<view class='triangle' bindtap='openXiaLa' data-id='{{item.id}}'>
<view class='iconfont {{open&&id==item.id?"icon-xiangxia":"icon-xiangshang"}}'></view>
</view>
<view class='money'>
<text>¥</text>{{item.price}}
</view>
<view class='sale'>{{item.title}}</view>
<view class='data'>有效期至:{{item.end_time}}</view>
</view>
</view>
<view class='item_list_box' wx:if='{{id==item.id&&open}}'>
<view class='limit_values'>可使用商品,仅限{{item.limit_values}}</view>
</view>
</view>
</view>
<!-- 支付成功弹框 -->
<view class='ad_box' bindtap='show_ad' wx:if='{{showad}}'>
<image src='{{imgUrl}}settle_ad.png' mode='widthFix' catchtap='goad'></image>
<view class='iconfont icon-quxiao' bindtap='jump_index'></view>
</view>
<!-- 选择时间弹框 -->
<view class='choose_deliver_time' wx:if='{{deliverTime}}'>
<scroll-view scroll-y='true' class='deliver_box'>
<view class='banner'>
<view class='iconfont icon-fanhui' catchtap='get_my'></view>
<view class='coupons'>选择配送时间</view>
</view>
<view class='time_quantumsss' wx:for='{{deliverList}}' wx:for-item='cell' wx:for-index='cellindex' wx:key='{{cellindex}}'>
<view class='time_quantum_leftsss'>
<view class='time_centersss'>
<view class='time_calendarsss'>{{cell.labelArray.date}}</view>
<view class='weeksss'>{{cell.labelArray.week}}</view>
</view>
</view>
<view class='time_quantum_rightsss'>
<view class='time_quantum_right_itemsss' wx:for='{{cell.children}}' wx:for-item='item' wx:for-index='index' wx:key='{{index}}' bindtap='choose_deliver_time' data-id='{{item.value}}' data-parent='{{cellindex}}' data-index='{{index}}'>
<view class='time_quantum_right_item_timesss'>{{item.label}}</view>
<view class='iconfont icon-weixuanzhong icon-weixuanzhongs {{deliverTimeId==item.value?"active":""}}'></view>
</view>
</view>
</view>
</scroll-view>
</view>
<!-- 选择地址弹框 -->
<view class='choose_address' wx:if='{{chooseFlagAddress}}'>
<view class='banner'>
<view class='iconfont icon-fanhui' bindtap='get_mys'> </view>
<view class='coupons'>我的地址</view>
</view>
<view class='hint_informations'>
<view class='hints'>提示</view>
<view>您需要修改或删除地址到
<text class='place_names'>个人中心</text> 修改
</view>
</view>
<view class='content_itemaa'>
<view class='item_listaa' wx:for='{{addressList}}' wx:key="item.id" wx:for-index='index' bindtap='chooseAddress' data-index='{{index}}' data-id='{{item.id}}'>
<view>
<view class='addressaa'>{{item.poiname}}{{item.doorplate}}</view>
<view class='person_informationaa'>{{item.name}}{{item.mobile}}</view>
</view>
</view>
</view>
<view class='bottom_btns' bindtap='addAddress'>
<view class='new_address_btns' bindtap='new_address'>新增收货地址</view>
</view>
</view>