cart.wxml
35.5 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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
<wxs module="filter" src="c_filter.wxs"></wxs>
<wxs src="filter.wxs" module="util"></wxs>
<wxs module="filters" src="../../../../utils/filter.wxs"></wxs>
<form bindsubmit="submitForm">
<view class="container">
<!-- 支付进度 -->
<view class="information bdr14 mgt20">
<view class="item ai-center" style="justify-content: flex-start;">
<view class="pdr20">
<text class="iconfont icon-qianbao fs60"></text>
</view>
<view wx:if="{{wait_dj}}">
<view>等待买家付定金</view>
<view>{{filters.format_time(act.start_time,1)}} - {{filters.format_time(act.end_time,1)}} </view>
</view>
<view wx:if="{{wait_wk && no_start}}">
<view>等待尾款支付开始</view>
<view>{{filters.format_time(act.pay_begindate,1)}} - {{filters.format_time(act.pay_enddate,1)}}</view>
</view>
<view wx:if="{{wait_sh && !wait_fh}}">
<view>等待收货</view>
<view>{{order.order_sn}}</view>
</view>
<view wx:if="{{wait_wk && !no_start}}">
<view>等待买家付尾款</view>
<view class="fs22">请于{{days}}天{{hours}}小时{{minutes}}分{{seconds}}秒内付款完成,超时订单将自动取消</view>
</view>
<view wx:if="{{wait_fh && order.order_status!=6 && is_fwk==0}}">
<view>等待商家发货</view>
<view class="fs22">将在{{filters.format_time(send_time,1)}}后发货</view>
</view>
<view wx:if="{{order.order_status==2 || (is_fwk==1 && order.pay_status==1)}}">
<view>待评价</view>
<view>{{order.order_sn}}</view>
</view>
<view wx:if="{{order.order_status==3}}">
<view>已取消</view>
<view>{{order.order_sn}}</view>
</view>
<view wx:if="{{order.order_status==4}}">
<view>已完成</view>
<view>{{order.order_sn}}</view>
</view>
<view wx:if="{{order.order_status==5}}">
<view>已作废</view>
<view>{{order.order_sn}}</view>
</view>
<view wx:if="{{order.order_status==6}}">
<view>退款退货完成</view>
<view>{{order.order_sn}}</view>
</view>
</view>
<view class="pdb20 flex t-c fs22 c-7b">
<view class="f1">
<view wx:if="{{presell.presell_type!==1}}">付定金</view>
<view wx:else>支付金额</view>
<view wx:if="{{presell.deposit_pay_time>0}}" class="box">
<text class="iconfont icon-yes"></text>
</view>
<view wx:else class="box">
<text class="circle1"></text>
</view>
</view>
<view class="f1" wx:if="{{presell.presell_type!=1}}">
<view>付尾款</view>
<view wx:if="{{presell.tail_pay_state==1}}" class="box line">
<text class="iconfont icon-yes"></text>
</view>
<view wx:else class="box line">
<text class="circle1"></text>
</view>
</view>
<view class="f1">
<view>商家发货</view>
<view wx:if="{{order.pay_status==2 || order.shipping_status==1}}" class="box line">
<text class="iconfont icon-yes"></text>
</view>
<view wx:else class="box line">
<text class="circle1"></text>
</view>
</view>
<view class="f1">
<view>交易完成</view>
<view wx:if="{{order.order_status==4}}" class="box line">
<text class="iconfont icon-yes"></text>
</view>
<view wx:else class="box line">
<text class="circle1"></text>
</view>
</view>
</view>
</view>
<!-- 退款完成 -->
<!--
<view class="information bdr14 mgt20">
<view class="item ai-center" style="justify-content: flex-start;">
<view class="pdr20"><text class="iconfont icon-tkcg fs60"></text></view>
<view class="">退款完成(定金)</view>
</view>
</view>-->
<block wx:if="{{wait_wk && show_submit && !is_fwk}}">
<!-- 立即购买的时候 -->
<view class="tab-wrapper">
<view hidden="{{distr_type==2}}" bindtap='set_wuliu' data-type='1'
class="tab {{exp_type == 1? 'active':''}}"
data-txt='cartlist[0].exp_type' data-wl_txt='cartlist[0].wind' data-index="{{index}}">门店自提
</view>
<view hidden="{{distr_type==1}}" bindtap='set_wuliu' data-type='0'
class="tab {{exp_type== 0 ? 'active':''}}"
data-txt='cartlist[0].exp_type' data-wl_txt='cartlist[0].wind' data-index="{{index}}">快递邮寄
</view>
<!-- 同城配送 -->
<block wx:if="{{show_same_city}}">
<view bindtap='set_wuliu' data-type='2' class="tab {{exp_type== 2 ? 'active':''}}"
data-txt='cartlist[0].exp_type' data-wl_txt='cartlist[0].wind' data-index="{{index}}">同城配送</view>
</block>
</view>
<!----要进行判断地址是否显示---->
<view bindtap="enterAddressPage" class="user-mes mgt20"
hidden='{{exp_type==1 || is_fwk }}'>
<!-----默认地址显示---->
<block wx:if="{{user_addr!=null}}">
<view class="user-contact">
<text class="bold fs36 pdr20">{{user_addr.consignee}}</text>
<text class="fs28">{{user_addr.mobile}}</text>
</view>
<view class="location flex ai_c" style="font-size: 28rpx">
<view class="pos-icon">
<image class="wh100" style="vertical-align: top"
src="{{imgUrl}}/miniapp/images/goodscategory/new_position.png"></image>
</view>
<view class="address">{{user_addr.more_address}}{{' '}}{{user_addr.address}}</view>
</view>
<view class="update-logistics">
<image class="arrow-rigth" src="{{imgUrl}}/miniapp/images/icon-arrowdown.png"></image>
</view>
</block>
<!-----先增地址------>
<block wx:else>
<view class="add_new">
<image class="addr_jia" src="{{imgUrl}}/miniapp/images/jia.png"></image>
添加地址
</view>
</block>
</view>
</block>
<view class="user-mes" style="margin-top: 20rpx" wx:if="{{order.pay_status==1 && order.exp_type==0 && !is_fwk}}">
<view class="user-contact" style=" margin-left: 20rpx">
{{order.consignee}}{{' '}}{{order.mobile}}
</view>
<view class="location flex ">
<view class="pos-icon" style="width: 26rpx; height: 26rpx">
<image class="wh100" src="{{imgUrl}}/miniapp/images/iconfont-shouhuodizhi.png"></image>
</view>
<view class="address">{{order.more_address}} {{order.address}}</view>
</view>
</view>
<view class="use-item bfff bdr_t-14 mgt20">
<image class="dp" src='{{imgUrl}}/miniapp/images/goodscategory/new_store.png'></image>
<view>{{pickup.pickup_name}}</view>
</view>
<view class="order-detail">
<view class="goods-img" bindtap="go_goods" data-url="{{g_url}}">
<image class="wh100 bdr14" src="{{imgUrl}}{{goods.original_img}}" binderror='cart_set_err'
data-err="goods.original_img"></image>
</view>
<navigator class="order-cont" url="{{g_url}}">
<view class="goods-name ellipsis-2">{{goods.goods_name}}</view>
<!-- 商品属性 -->
<view class="flex-vertical fs28 xc-ash color-gray n_guige">
<view class="goods-color">
<block>
<text>{{filters.show_gui_ge(goods.goods_spec,goods.goods_color)}}</text>
</block>
</view>
</view>
<!-- ---商品名称规格---- -->
<view class="order-num flex-space-between">
<view class="co-red">¥
<text class="fs36">{{filters.toFix(pre_arr.presell_price,2)}}</text>
</view>
<view class="goods-num">×{{order.order_goods.goods_num}}</view>
</view>
</navigator>
</view>
<!-- 如果是等级卡的商品,会员没有注册,要提醒注册 -->
<view class="plus_buy fs28" wx:if="{{card_cut_price>0}}">
<view class="flex">
<view class="card_bg ellipsis-1" style="margin-right: 10rpx;">
<image src="{{imgUrl}}/miniapp/images/plus/dj_icon.png"></
image>
<text class="card_name">{{show_card.CardName}}</text>
</view>
<view>立减
<text style="color:#f23030;">{{filters.toFix(card_cut_price,2) }}</text>
元
</view>
</view>
<view>
<text style="color: #999;margin-left: 4rpx;">vip超级会员仅需{{show_card.CardFee}}元</text>
</view>
<!-- 三角形 -->
<view class="car_tri_up"></view>
<!-- 立即开通跳转 -->
<view bindtap="buycard" class="card_op">立即开通</view>
</view>
<view class="set-mes bdr_b-14" wx:if="{{presell.presell_type==0 && presell.deposit_pay_time>0 && presell.tail_pay_state==0 && !no_start && !wait_dj && order.order_status<2}}">
<view wx:if="{{order.store_prom}}">
<icon color="#f23030" size="16" type="info"></icon>
{{order.store_prom}}
</view>
<view class="xc-coupon-frame flex-center" data-bn="1" bindtap="open_coupon_list" data-pickid="{{pickup_id}}" hidden="{{is_fwk}}"
wx:if="{{(selected_quan_list && selected_quan_list.length>0) || get_by_quan_list!=null}}">
<view class="work-frame flex-space-between">
<view class="work">
优惠券
<text class="quan_num_show">{{(selected_quan_list?selected_quan_list.length:0)+
(get_by_quan_list?get_by_quan_list.length:0)}}张可用
</text>
</view>
<view class="xc-right-frame">
<text wx:if="{{using_quan[pickup_id].is_nouse_red}}">不使用</text>
<block wx:else>
<text wx:if="{{using_quan[pickup_id].money}}">¥{{using_quan[pickup_id].money}}元优惠券</text>
<text wx:if="{{using_quan[pickup_id].isby}}">包邮券</text>
</block>
<view class="xc-right"></view>
</view>
</view>
</view>
<view class="xc-coupon-frame" wx:if="{{bn_exp_type==0 && !is_default_logistics && !is_fwk}}">
<view class="flex-space-between" style="padding: 20rpx 25rpx; font-size: 30rpx;">
<view>选择物流</view>
<view class="flex-vertical" bindtap="show_wu_arr" data-txt='index' style="margin-right: 12rpx;">
<view class="logistics-name">{{wu_arr[index].name}}</view>
<view class="xc-right"></view>
</view>
</view>
</view>
</view>
<!-- 保障服务 -->
<view class="bz_view22 flex bdt16 ai_c" wx:if="{{bconfig.service_bz}}">
<image class="bzfu_img22" src="{{imgUrl}}/miniapp/images/bzfu_w.png"></image>
<view class="flex f1 ai_c rel22" style="position: relative;" bindtap="{{showFold ? 'clickCollapse':''}}">
<view class="bz-content22 showArea22 {{flag ? '':'ellipsis-1x'}}">{{bconfig.service_bz}}</view>
<view class="bz-content22 hideArea22">{{bconfig.service_bz}}</view>
<view class="cx-obtain-coupon22 wsize22 arrow22" wx:if="{{showFold}}">
<text class="bg_jj22 {{flag ? 'up22':''}}"></text>
</view>
</view>
</view>
<!-- 留言 -->
<view class="coupon-mes flex-vertical">
<view>留言</view>
<view class="leave-word" wx:if="{{sh_liuyan}}">
<input placeholder-class="fs28" bindblur="close_liuyan" focus="{{sh_liuyan}}" bindinput="keyUpChangeNum"
value="{{user_note}}"
class="word-box" maxlength="100" name="user_note"></input>
</view>
<view wx:if="{{!sh_liuyan}}" bindtap="show_liuyan">
<text class="fs26 {{user_note?'':'gray'}} note_text">{{user_note?user_note:'给商家留言,最多100字'}}</text>
</view>
</view>
<!-- 是否参与店铺优惠 -->
<view class="coupon-mes flex-vertical" bindtap="bn_pop_offline" wx:if="{{bn_goods.offline_price}}">
<view>店铺优惠</view>
<view class="leave-word fs32" style="color: #999;">
省{{filters.toFix(bn_goods.shop_price-bn_goods.offline_price,2)}}元
</view>
<block wx:if="{{bn_goods.is_offline}}">
<text style="color: #d7642b;">-¥{{filters.toFix(bn_goods.shop_price-bn_goods.offline_price,2)}}</text>
</block>
<block wx:else>
<text style="color: #d7642b;">不使用优惠</text>
</block>
<!-- 右边点击 -->
<view class="xc-right" style="margin-right: 12rpx; border-color: #d7642b;"></view>
</view>
<!-----使用佣金--- 佣金必须要小于尾款的支付的金额 ,同时订单优惠--->
<view class="set-mes bdr_t-14" wx:if="{{!is_fwk && goods.use_commission>0 && can_commission && util.get_sum(tail_pay,exp_price,order_prom_amount)>goods.use_commission}}">
<view class="use-item" bindtap='set_bn_commission'>
<icon color="{{bn_use_commission?'red':'gray'}}" size="16" type="success"></icon>
<view class="yu_er">使用佣金 :¥{{goods.use_commission}} </view>
</view>
</view>
<view class="information bdr14">
<view class="item" wx:if="{{allpice>0}}">
<view>商品金额</view>
<view class="co-red">¥ {{filters.toFix(allpice,2)}}元</view>
</view>
<!-- 未支付订单,没有取消的 -->
<block wx:if="{{order.pay_status<1 && order.order_status<2}}">
<view class="item" wx:if="{{exp_price>0}}">
<view>配送费用</view>
<view class="co-red">¥ {{filters.toFix(exp_price,2)}}元</view>
</view>
<view class="item" wx:if="{{quan_price>0}}">
<view>优惠券优惠</view>
<view class="co-red">¥ -{{filters.toFix(quan_price,2)}}元</view>
</view>
<view class="item" wx:if="{{order_prom_amount>0}}">
<view>订单优惠</view>
<view class="co-red">¥ -{{filters.toFix(order_prom_amount,2)}}元</view>
</view>
</block>
<block wx:else>
<view class="item" wx:if="{{order.shipping_price>0}}">
<view>配送费用</view>
<view class="co-red">¥ {{filters.toFix(order.shipping_price,2)}}元</view>
</view>
<view class="item" wx:if="{{order.coupon_price>0}}">
<view>优惠券优惠</view>
<view class="co-red">¥ -{{filters.toFix(order.coupon_price,2)}}元</view>
</view>
<view class="item" wx:if="{{order.order_prom_amount>0}}">
<view>订单优惠</view>
<view class="co-red">¥ -{{filters.toFix(order.order_prom_amount,2)}}元</view>
</view>
</block>
</view>
<view class="information bdr14 mgt20">
<block wx:if="{{act.presell_type==0}}">
<view class="item">
<view>阶段一:定金</view>
<view class="co-red">¥{{filters.toFix(pre_arr.presell_money*order.order_goods.goods_num,2)}}元</view>
</view>
<view class="item">
<view>阶段二:尾款</view>
<view class="co-red">¥{{filters.toFix(tail_pay,2)}}元</view>
</view>
</block>
</view>
</view>
<!-- 要支付尾款的时候 -->
<view class="fixedToBottom shadow-1" wx:if="{{wait_wk}}">
<view wx:if="{{no_start}}" class="date-container">尾款时间{{filters.format_time(act.pay_begindate,1)}} -
{{filters.format_time(act.pay_enddate,1)}}
</view>
<view wx:elif="{{is_end}}" class="date-container">尾款时间已经结束</view>
<view wx:elif="{{wait_wk && !no_start}}" class="date-container">
请于{{days}}天{{hours}}小时{{minutes}}分{{seconds}}秒内付款完成,超时订单将自动取消
</view>
<view class="btn-wrap" hidden="{{disabled_btn}}">
<view class="pay-amount">
<view class="payable">应付金额:
<text class="co-red"> <text class="fs24">¥</text>{{filters.toFix(order_m,2)}}</text>
</view>
</view>
<button wx:if="{{no_start || is_end || is_complete}}" class="tips-btn gray">支付尾款</button>
<button wx:else class="tips-btn" bindtap="show_pay" hidden="{{!show_submit || !same_ok}}">支付尾款</button>
<!-- 预售 -->
<!-- <button class="tips-btn" formType="submit" id="submitOrder">立即支付</button> -->
</view>
</view>
<!-- 当订单不是支付尾款的时候 -->
<view class="fixedToBottom shadow-1" wx:else style="background-color: #fff;display: flex; justify-content: flex-end; padding: 10rpx 0">
<view bindtap="cancelOrder" data-id="{{order.order_id}}" class="tips-btn2" wx:if="{{wait_dj}}">取消订单</view>
<view hidden="{{!show_submit}}" bindtap="jumpToCart4" class="tips-btn2" wx:if="{{wait_dj}}">立即付款</view>
<block wx:if="{{!(order.has_rt || order.return_btn==2 || order.return_btn==4) && wait_sh && !wait_fh }}">
<navigator bindtap="confirmOrder" class="tips-btn2" hidden="{{!wait_sh}}">收货确认</navigator>
</block>
<view class="tips-btn2" wx:if="{{order.order_status==3}}" bindtap="deleteOrderData" data-order_id="{{order.order_id}}" >删除订单</view>
<navigator bindtap="go_wuliu" class="tips-btn2" hidden="{{!order.shipping_btn}}"
data-order_id="{{order.order_id}}"
data-url="/packageG/pages/user/express/express?order_id={{order.order_id}}">查看物流</navigator>
<!-- 服务卡项的不能申请退款 -->
<block wx:if="{{order.return_btn==undefined && order.is_all_return!=1 && !is_fwk}}">
<navigator class="tips-btn2" wx:if="{{(order.order_status==0&&order.pay_status==1) && !order.is_bedistri}}" url="/packageG/pages/order/refund_order/refund_order?order_id={{order.order_id}}">申请退款</navigator>
<navigator class="tips-btn2" wx:if="{{(order.order_status==1&&order.pay_status==1) && !order.is_bedistri}}" url="/packageG/pages/order/refund_order/refund_order?order_id={{order.order_id}}">申请退款</navigator>
</block>
<block wx:else>
<view class="tips-btn2" wx:if="{{order.is_all_return_status==2 && order.isdel==0}}" bindtap="deleteOrderData" data-order_id="{{order.order_id}}" >删除订单</view>
<navigator class="tips-btn2" wx:if="{{order.is_all_return_status==3 && order.order_status<2}}" url="/packageG/pages/order/refund_order/refund_order?order_id={{order.order_id}}">重新退款</navigator>
<navigator class="tips-btn2" wx:if="{{order.is_all_return_status==0 || order.is_all_return_status==1}}"
url="/packageF/pages/user/return_goods_info/return_goods_info?order_id={{order.order_id}}">退款详情</navigator>
</block>
<block wx:if="{{order.order_status==2 }}">
<navigator class="tips-btn2" url="/packageB/pages/user/add_comment/add_comment?goods_id={{order_goods.goods_id}}&order_id={{order.order_id}}">去评价</navigator>
</block>
</view>
</form>
<!-- 使用券列表的弹窗 -->
<view wx:if='{{open_quan==1}}'>
<view class="cover-layer flex-center " bindtap='close_coupon'></view>
<view class="cx-popup {{open_quan==true?'up' : 'down'}}">
<!-- 最上面 -->
<view class="top flex">
<view class="xc-top-content t-c">
<view class="xc-title">优惠券使用</view>
</view>
<view class="xc-close-frame" bindtap='close_coupon'>
<view class="xc-close">×</view>
</view>
</view>
<!-- 使用优惠券和不使用优惠券层-->
<view class="may_use_coupon fs28 flex"> 可使用的优惠券
<view class=" is_use_coupon flex-vertical" bindtap="sele_quan_item" data-no="1">不使用优惠券
<block wx:if="{{using_quan[selected_quan_pick].is_nouse_red}}">
<view class="circle white xc-hooka fs20 red-b sn">
<text>Γ</text>
</view>
</block>
<block wx:else>
<view class="circle xc-hookst ons"></view>
</block>
</view>
</view>
<!-- 中间券内容显示 -->
<view class="xc-frame flex-level">
<view class="list-frame">
<view wx:for="{{selected_quan_list}}" bindtap="sele_quan_item" wx:if="{{!item.is_using}}"
data-ind="{{q_index}}"
wx:for-item="item" wx:for-index="q_index">
<view class="xc-coupon-frame flex-center" data-ind="{{q_index}}">
<view class="coupon-frame flex rel">
<!-- 锯齿 -->
<include src="juchi_part.wxml"/>
<!-- 左边 -->
<view class="coupon-left rel {{filter.setcolor(item.UseObjectType)}} flex-center">
<view class="white xc-money-frames">
<view class="f_text">
<text class="xc-rmb-symbol">¥</text>
<text class="xc-rmb-val">{{item.Sum}}</text>
</view>
<view class="coupon-explain t-c" wx:if="{{item.BuySum>0}}">满{{item.BuySum}}元可用
</view>
<view class="coupon-explain t-c" wx:else>满0元可用</view>
</view>
</view>
<!-- 右边 -->
<view class="coupon-right flex-center rel">
<view class="coupon-annotation flex">
<view class="flex top-frame">
<view class="frame">
<view class="coupon-wode ib flex ellipsis-2 ">
<text class="xc-brand t-c ib white {{filter.setcolor(item.UseObjectType)}}">{{filter.get_type_card(item.UseObjectType)}}</text>
<block>{{item.Sum}}元优惠券</block>
</view>
<view class="coupon-time">
{{filters.replace_time2(item.BeginDate)}}至{{item.ValidDate?filters.replace_time2(item.ValidDate):'不限'}}
</view>
</view>
</view>
<block wx:if="{{item.show_red}}">
<view class="circle white xc-hook fs20 red-b sn">
<text>Γ</text>
</view>
</block>
<block wx:else>
<view class="circle xc-hooks on"></view>
</block>
</view>
<include src="remark_click_part.wxml"/>
</view>
</view>
</view>
<!-- 打开是说明 -->
<include src="remark_part.wxml"/>
</view>
<!-- 包邮券的显示,立即购买 -->
<block wx:if="{{exp_type==0}}">
<view wx:for="{{get_by_quan_list}}" bindtap="sele_quan_item_by" wx:if="{{!item.is_using}}"
data-ind="{{byq_index}}"
wx:for-item="item" wx:for-index="byq_index">
<view class="xc-coupon-frame flex-center" data-ind="{{byq_index}}">
<view class="coupon-frame flex rel">
<!-- 锯齿 -->
<include src="juchi_part.wxml"/>
<!-- 左边 -->
<view class="coupon-left rel {{filter.setcolor(item.UseObjectType)}} flex-center">
<view class="white xc-money-frames">
<view class="f_text"><text class="xc-rmb-val">包邮券</text></view>
<view class="coupon-explain t-c" wx:if="{{item.condition>0}}">
满{{item.condition}}元可用
</view>
<view class="coupon-explain t-c" wx:else>满0元可用</view>
</view>
</view>
<!-- 右边 -->
<view class="coupon-right flex-center rel">
<view class="coupon-annotation flex">
<view class="flex top-frame">
<view class="frame">
<view class="coupon-wode ib flex ellipsis-2 ">
<text class="xc-brand t-c ib white {{filter.setcolor(item.UseObjectType)}}">{{filter.get_type_card(0)}}</text>
<block>包邮券</block>
</view>
<view class="coupon-time">
{{filters.format_time(item.use_start_time)}}至{{item.use_end_time?filters.format_time(item.use_end_time):'不限'}}
</view>
</view>
</view>
<block wx:if="{{item.show_red}}">
<view class="circle white xc-hook fs20 red-b sn">
<text>Γ</text>
</view>
</block>
<block wx:else>
<view class="circle xc-hooks on"></view>
</block>
</view>
<include src="remark_click_part2.wxml"/>
</view>
</view>
</view>
<!-- 打开是说明 -->
<include src="remark_part.wxml"/>
</view>
</block>
<!-- 包邮券的显示,购物车购买 -->
<block wx:if="{{!is_b_now && sele_exp_type==0}}">
<view wx:for="{{by_quan_list_cart}}" bindtap="sele_quan_item_by" wx:if="{{!item.is_using}}"
data-ind="{{byq_index}}"
wx:for-item="item" wx:for-index="byq_index">
<view class="xc-coupon-frame flex-center" data-ind="{{byq_index}}">
<view class="coupon-frame flex rel">
<!-- 锯齿 -->
<include src="juchi_part.wxml"/>
<!-- 左边 -->
<view class="coupon-left rel {{filter.setcolor(item.UseObjectType)}} flex-center">
<view class="white xc-money-frames">
<view class="f_text">
<text class="xc-rmb-val">包邮券</text>
</view>
<view class="coupon-explain t-c" wx:if="{{item.condition>0}}">
满{{item.condition}}元可用
</view>
<view class="coupon-explain t-c" wx:else>满0元可用</view>
</view>
</view>
<!-- 右边 -->
<view class="coupon-right flex-center rel">
<view class="coupon-annotation flex">
<view class="flex top-frame">
<view class="frame">
<view class="coupon-wode ib flex ellipsis-2 ">
<text class="xc-brand t-c ib white {{filter.setcolor(item.UseObjectType)}}">
{{filter.get_type_card(0)}}
</text>
<block>包邮券</block>
</view>
<view class="coupon-time">
{{filters.format_time(item.use_start_time)}}至{{item.use_end_time?filters.format_time(item.use_end_time):'不限'}}
</view>
</view>
</view>
<block wx:if="{{item.show_red}}">
<view class="circle white xc-hook fs20 red-b sn">
<text>Γ</text>
</view>
</block>
<block wx:else>
<view class="circle xc-hooks on"></view>
</block>
</view>
<include src="remark_click_part2.wxml"/>
</view>
</view>
</view>
<!-- 打开是说明 -->
<include src="remark_part.wxml"/>
</view>
</block>
</view>
</view>
<!-- 最底下确定层-->
<view class="determine-frame">
<view class="xc-confirm flex-center" bindtap="confirm_quan"> 确定</view>
</view>
</view>
</view>
<!----弹起选择物流名的列表---->
<view wx:if='{{open_express==1}}'>
<view class="cover-layer flex-center " bindtap='close_express'>
</view>
<view class="cx-popup radius {{open_express==1?'up' : 'down'}}">
<view class="tops flex">
<view class="top-content fs32">
<view>选择物流名字</view>
</view>
<view class="close-frame" bindtap='close_express'>
<view class="xc-close-express">×</view>
</view>
</view>
<view class="express_list">
<view wx:for="{{wu_arr}}" wx:for-item="express_list" wx:for-index="idx">
<view class="express_list_frame" bindtap="click_express_name"
data-shippingcode="{{express_list.shipping_code}}"
data-name="{{express_list.name}}" data-idxe="{{idx}}">
<block wx:if="{{is_express==idx}}">
<view class="circle white xc-hook fs20 red-b">
<text>Γ</text>
</view>
</block>
<block wx:else>
<view class="circle xc-hooks"></view>
</block>
<view class="fs30">{{express_list.name}}</view>
</view>
</view>
</view>
<view class="flex click-buttem">
<view class="xc-determine flex-center" bindtap="determine_expres">
<view class="flex-vertical t-c">确定</view>
</view>
<view class="xc-confirms flex-center" bindtap="select_default_logistics">
<view class="flex-vertical t-c">设为默认</view>
</view>
</view>
</view>
</view>
<warn id="warn"></warn>
<!-- 客服 -->
<view class="kefu-container shadow-1">
<block wx:if="{{sys_switch.weapp_customertype==1}}">
<button class="kefu-btn"
open-type="contact"
session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}">
<text class="iconfont icon-kefu fs60 co-red"></text>
</button>
</block>
<block wx:elif="{{sys_switch.weapp_customertype==2}}">
<text bindtap="con_weixin" class="iconfont icon-kefu fs60 co-red"></text>
</block>
<block wx:else>
<text bindtap="contactService" class="iconfont icon-kefu fs60 co-red"></text>
</block>
</view>
<!--支付的方式选择,0微信支付 1余额支付-->
<block wx:if="{{show_pay_type}}">
<view class="cover-layer" bindtap="close_show_pay"></view>
<view class="pay_type_view">
<view class="title">请选择支付方式</view>
<view class="anniu_view">
<view bindtap="set_pay_type" data-type="0">微信支付</view>
<view bindtap="set_pay_type" data-type="1">余额支付</view>
</view>
</view>
</block>