statements.ttml
15 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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<view tt:if="{{hasAddress}}">
<view class="addressC">
<view class="address" bindtap="otherAddressTapped">
<image class="addressIcon" src="{{addressIcon}}"></image>
<view class="addressDetailView">
<view class="addressNameView">
<text class="addressName">{{addressName}}</text>
<text class="addressTel">{{userTel}}</text>
</view>
<view class="addressText">
<text class="currentAddress" style=" word-break: break-all">{{currentAddress}}</text>
</view>
</view>
<view class="currentAddressArrow">
<image class="arrow" src="{{arrowIcon_m}}"></image>
</view>
</view>
<image class="lineIcon" src="{{lineIcon}}">
</image>
</view>
</view>
<view tt:else>
<view class="noAddressContainer">
<view class="noAddress" bindtap="otherAddressTapped" data-type='normal'>
<image class="addressIconNew" src="../../images/add@2x.png"></image>
<text class="addressPlaceholder">手动新增收货地址</text>
<image class="addressArrow" src='../../images/disclosure-arrow_m@2x.png'></image>
</view>
<!-- <view tt:if="{{false}}" class="noAddress" bindtap="otherAddressTapped" data-type='wechat'>
<image class="addressIconNew" src="../../images/weixin@2x.png"></image>
<text class="addressPlaceholder">一键获取微信地址</text>
<image class="addressArrow" src='../../images/disclosure-arrow_m@2x.png'></image>
</view> -->
</view>
</view>
<scroll-view scroll-y style="margin-top: {{listTop}}rpx;" enable-back-to-top="true">
<block tt:if="{{isJit}}">
<view class="space">
</view>
<view class="tip">
<text class="tipText">{{package_title_detail}}</text>
</view>
</block>
<view class="space">
</view>
<block tt:for="{{goods_list}}" tt:key="unique">
<view class="product">
<view class="productImageView">
<image class="productImage" src="{{item.goods_images}}">
</image>
<block tt:if="{{item.goods_type == 'price_gift'}}">
<image class="productImageBottom" src="{{productImageBottomImage_price_gift}}">
</image>
</block>
<block tt:elif="{{item.goods_type == 'gift'}}">
<image class="productImageBottom" src="{{productImageBottomImage_gift}}">
</image>
</block>
<block tt:else>
</block>
</view>
<view class="productDetail">
<view class="productName">
<text class="name">{{item.product_name}}</text>
</view>
<view class="productColor">
<text class="color">{{item.sale_attr_desc.skc_attr}} {{item.sale_attr_desc.sku_attr?item.sale_attr_desc.sku_attr:''}}</text>
</view>
<block tt:if="{{item.LRE}}">
<view class="order-tipView">
<image class="icons" src="../../images/question-ic@3x.png">
</image>
<text class="order-tip" >不支持7天无理由退换货</text>
</view>
</block>
<block tt:elif="{{item.L15DE}}">
<view class="order-tipView">
<image class="icons" src="../../images/question-ic@3x.png">
</image>
<text class="order-tip" >不支持15天无理由换货</text>
</view>
</block>
</view>
<view class="productLeft">
<block tt:if="{{item.goods_type == 'price_gift' || item.goods_type == 'gift'}}">
<text class="productPrice">¥ {{item.last_price}}</text>
</block>
<block tt:else>
<text class="productPrice">¥ {{item.sales_price}}</text>
</block>
<!-- <view style='flex:1;background-color:transparent'></view> -->
<text class="productNumText" style='font-size:24rpx;margin-top:27.2rpx'>x {{item.buy_number}}</text>
<block tt:if="{{item.RPCU}}">
<text style='margin-top:6rpx;color:#D0021B;font-size:24rpx;text-align:right;margin-bottom:8rpx'>可用红包</text>
</block>
</view>
</view>
<block tt:if="{{item.is_deposit_advance === 'Y' || item.is_limittime_advance === 'Y'}}">
<view class="finalPaymentTime">
<text class="color">尾款支付时间: {{item.expect_arrival_time}}</text>
</view>
</block>
</block>
<!--为定金预售所加 -->
<block tt:if="{{is_deposit_advance}}">
<view style='width:100%;height:88rpx;display:flex;flex-direction:row;align-items:center;border-top:1rpx solid #e0e0e0'>
<view style='margin-left:30rpx;color:#b0b0b0;font-size:28rpx'>尾款支付时间:</view>
<view style='color:#000000;font-size:28rpx'></view>
</view>
</block>
<view class="space">
</view>
<view class="cell yohoCodeCell" bindtap="deliveryExpandSelectDeliveryAction">
<view class="cellNameText">{{deliveryTitle}}</view>
<block tt:for="{{delivery_way}}" tt:key="unique">
<block tt:if="{{item.default == 'Y'}}">
<text class="cellDetailText">{{item.delivery_way_name}}: 运费¥{{item.delivery_way_cost}}</text>
</block>
</block>
<block tt:if="{{deliveryExpand}}">
<image src="{{arrowIcon_i}}" class="arrowIcon2"></image>
</block>
<block tt:else>
<image src="{{arrowIcon_h}}" class="arrowIcon2"></image>
</block>
</view>
<view tt:if="{{deliveryExpand}}">
<block tt:for="{{delivery_way}}" tt:key="unique">
<view class="singleSelectCell" data-name="{{index}}" bindtap="selectDeliveryAction">
<text class="singleSelectCellTitle"data-name="{{index}}" bindtap="selectDeliveryAction">{{item.delivery_way_name}}: 运费¥{{item.delivery_way_cost}}</text>
<block tt:if="{{item.default == 'Y'}}">
<image src="{{address_CheckedIcon}}" class="singleSelectCellButton"data-name="{{index}}" bindtap="selectDeliveryAction"></image>
</block>
<block tt:else>
<image src="{{address_UnCheckIcon}}" data-name="{{index}}" class="singleSelectCellButton" bindtap="selectDeliveryAction"></image>
</block>
</view>
</block>
</view>
<!-- <view class="cell" bindtap="expandSelectDeliveryTimeAction">
<view class="cellNameText">{{deliveryTime}}</view>
<block tt:for="{{delivery_time}}" tt:key="unique">
<block tt:if="{{item.default == 'Y'}}">
<text class="cellDetailText">{{item.delivery_time_string}}</text>
</block>
</block>
<block tt:if="{{deliveryTimeExpand}}">
<image src="{{arrowIcon_i}}" class="arrowIcon2"></image>
</block>
<block tt:else>
<image src="{{arrowIcon_h}}" class="arrowIcon2"></image>
</block>
</view>
<view tt:if="{{deliveryTimeExpand}}">
<block tt:for="{{delivery_time}}" tt:key="unique">
<view class="singleSelectCell" data-name="{{index}}" bindtap="selectDeliveryTimeAction">
<text class="singleSelectCellTitle"data-name="{{index}}" bindtap="selectDeliveryTimeAction">{{item.delivery_time_string}}</text>
<block tt:if="{{item.default == 'Y'}}">
<image src="{{address_CheckedIcon}}" class="singleSelectCellButton"data-name="{{index}}" bindtap="selectDeliveryTimeAction"></image>
</block>
<block tt:else>
<image src="{{address_UnCheckIcon}}" data-name="{{index}}" class="singleSelectCellButton" bindtap="selectDeliveryTimeAction"></image>
</block>
</view>
</block>
</view> -->
<block tt:if="{{goods_list[0].is_deposit_advance === 'Y' || goods_list[0].is_limittime_advance === 'Y'}}">
<block tt:for="{{textArray}}" >
<view class="yohoCodeCellNone">
<text class="yohoCodeCellName" style="color: #b0b0b0;">{{item}}</text>
<text class="yohoCodeCellDetailText">支付尾款时可用</text>
</view>
</block>
</block>
<block tt:else>
<!--红包 红包 红包-->
<block tt:if="{{isShowRedPac}}">
<view class='yohoCodeCell' style='flex-direction:row'>
<text class="yohoCodeCellName">{{redPac}}</text>
<text class="yohoCodeCellDetailText">{{redReduction}}</text>
<image src="{{invoiceIcon}}"
style='margin-left:5rpx;margin-right:0rpx'
class="yohoCodeCellArrowIcon" bindtap="yohoRedCellArrowIconAction"></image>
<block tt:if="{{flase}}">
<view class='use-redpac-price'>{{redStrUsedNum}}</view>
</block>
<block tt:else>
<view style='flex:1;background-color:transparent'></view>
</block>
<view class='yohoRedCellSwitchView' style='margin-right:30rpx'>
<switch checked="{{isRedPacEnable}}" class="yohoCodeCellSwitch" bindchange="switch2ChangeForRedPac" disabled = "{{isSwitchRedPac}}"/>
</view>
</view>
</block>
<block tt:if="{{from_page_name != 'groupPurchaseDetail'}}">
<block tt:if="{{isMinappLimit}}">
<view class="cell">
<view class="cellNameText">优惠券</view>
<text class="cellDetailText grayText">该商品不可使用优惠券</text>
<image src="../../images/disclosure-arrow_m@2x.png" class="arrowIcon_m"></image>
</view>
</block>
<block tt:else>
<view class="cell yohoCodeCell" bindtap="yohoCouponAction">
<view class="cellNameText" style='width'>
{{yohoCoupon}}
</view>
<block tt:if="{{coupon_count !== 0}}">
<block tt:if="{{select_yoho_coupon_code_count !== 0}}">
<text class="yohoCodeCellDetailText">已选{{select_yoho_coupon_code_count}}张</text>
</block>
<block tt:else>
<text class="yohoCodeCellDetailText">{{usable_couponsCount}}张可用,已推荐{{coupon_count}}张</text>
</block>
</block>
<block tt:else>
<text class="yohoCodeCellDetailText">{{usable_couponsCount}}张可用</text>
</block>
<view class="arrowIconEnlarge">
<image src="{{invoiceIcon}}" class="arrowIcon" catchtap="yohoCouponTipAction"></image>
</view>
<block tt:if="{{hasSelectYohoCouponCode}}">
<text class="cellDetailText" style="flex-grow: 1;">已抵用 ¥{{yohoCouponMomey}}</text>
</block>
<block tt:else>
<text class="cellDetailText" style="flex-grow: 1;">未使用</text>
</block>
<image src="{{arrowIcon_m}}" class="arrowIcon_m"></image>
</view>
</block>
<view class="yohoCodeCell">
<text class="yohoCodeCellName">{{yohoCode}}</text>
<block tt:if="{{needYohoCode && updateYohoCoin}}">
<text class="yohoCodeCellDetailText">已抵¥{{use_yoho_coin}}</text>
</block>
<block tt:else>
<block tt:if="{{!isSwitchYohoCoin}}"><text class="yohoCodeCellDetailText">不满足有货币使用条件</text></block>
<block tt:elif="{{total_yoho_coin_num >= 100}}">
<text class="yohoCodeCellDetailText">可抵¥{{yoho_coin}}</text>
</block>
<block tt:else>
<text class="yohoCodeCellDetailText">共{{total_yoho_coin_num}}个有货币,满100可用!</text>
</block>
</block>
<image src="{{invoiceIcon}}" class="yohoCodeCellArrowIcon" bindtap="yohoCodeCellArrowIconAction"></image>
<view class='yohoCodeCellSwitchView'>
<switch checked="{{needYohoCode}}" class="yohoCodeCellSwitch" bindchange="switch2ChangeForYohoCode" disabled = "{{!isSwitchYohoCoin}}"/>
</view>
</view>
</block>
<view class="cell yohoCodeCell">
<view class="cellNameText">{{invoice}}</view>
<switch checked="{{needInvoice}}" class="switch" bindchange="switch2Change"/>
</view>
<view class="invoiceCell" style= "display: {{needInvoice?'':'none'}};"bindtap="invoiceIconAction">
<text class="invoiceCellName">{{invoiceDetailTitle}}</text>
<block tt:if="{{!invoiceData}}">
<text class="invoiceCellDetailText">{{invoiceDetail}}</text>
</block>
<block tt:elif="{{invoiceData.personal}}">
<text class="invoiceCellDetailText">电子发票-{{invoiceData.personName}}</text>
</block>
<block tt:else>
<text class="invoiceCellDetailText">电子发票-{{invoiceData.companyName}}</text>
</block>
<view class="invoiceCellArrowView">
<image src="{{arrowIcon_m}}" class="invoiceCellArrowIcon"></image>
</view>
</view>
</block>
<view class="space">
</view>
<view class="addressBottomSpace">
</view>
<block tt:for="{{promotion_formula_list}}" tt:key="unique">
<block tt:if="{{item.level === 1}}">
<view class="paymentDetailCell">
<text class="title">{{item.promotion}}</text>
<text class="detail1">{{item.promotion_amount}}</text>
</view>
</block>
<block tt:elif="{{item.level === 2}}">
<view class="paymentDetailCell">
<text class="titleLevel2">{{item.promotion}}</text>
<text class="detail1Level2">{{item.promotion_amount}}</text>
</view>
</block>
</block>
<block tt:if="{{goods_list[0].is_deposit_advance === 'Y' || goods_list[0].is_limittime_advance === 'Y'}}">
<!-- <view class="finalPaymentMoneyCell">
<view class="finalPaymentMoney">
<text class="title">{{finalPayment}}</text>
<text class="detail2">¥{{order_tail_pay_amount}}</text>
</view>
<view class="notifyPhone">
<text>尾款支付通知号码</text>
<input adjust-position="true" class="inputStyle" value="{{notifyInputPhone}}" bindinput="inputNotifyPhoneNumber"></input>
</view>
</view>
<view class="space">
</view>
<view style="height: 126rpx; background-color: white;">
</view> -->
<view style="height: 126rpx; background-color: white; z-index: 1;">
</view>
</block>
<block tt:else>
<view class="paymentDetailCell">
<text class="title">{{payAmount}}</text>
<text class="detail2">¥{{actualAmount}}</text>
</view>
</block>
<view class="addressBottomSpace">
</view>
<view class="space">
</view>
<block tt:if="{{!(goods_list[0].is_deposit_advance === 'Y' || goods_list[0].is_limittime_advance === 'Y')}}">
<form bindsubmit="formSubmit" report-submit='true'>
<button formType="submit" bindtap="paymentBtnAction" class="paymentButton">{{payMentButtonTitle}}
</button>
</form>
</block>
<view class="addressBottomSpace">
</view>
</scroll-view>
<block tt:if="{{goods_list[0].is_deposit_advance === 'Y' || goods_list[0].is_limittime_advance === 'Y'}}">
<form bindsubmit="formSubmit" report-submit='true'>
<view class="paymentContainer">
<view class="paymentAgreement">
<image class='isCheckedAgreement' src='{{ isChecked ? "../../images/address_Checked@2x.png" : "../../images/address_Check@2x.png"}}' bindtap="checkedAgreemented"></image>
<text bindtap='checkedAgreemented'>我已阅读并同意 </text>
<text style='color: #4a90e2;' bindtap='goToH5'> 有货预售协议</text>
<!-- <text>并确认尾款通知手机号</text> -->
</view>
<view class="cell-line">
</view>
<view class="paymentPrice">
<view class="paymentPriceText">
<text>待付定金:</text>
<text class="price">{{real_amount.promotion_amount}}</text>
</view>
<button formType="submit" bindtap="paymentBtnAction" class="payAdvanceButton">
确认
</button>
</view>
</view>
</form>
</block>
<import src="../../vendors/toast/wetoast.ttml"/>
<template is="wetoast" data="{{...__wetoast__}}"/>