|
@@ -35,7 +35,8 @@ let $invoice = $('.invoice'), |
|
@@ -35,7 +35,8 @@ let $invoice = $('.invoice'), |
35
|
isYohoCoinClick = $coinLi.data('yoho-coin-click') * 1, // 判断有货币是否可以单击
|
35
|
isYohoCoinClick = $coinLi.data('yoho-coin-click') * 1, // 判断有货币是否可以单击
|
36
|
addressTop = $('.address-wrap').outerHeight(),
|
36
|
addressTop = $('.address-wrap').outerHeight(),
|
37
|
$message = $('#msg'),
|
37
|
$message = $('#msg'),
|
38
|
- $noPrintPrice = $('.no-print-price');
|
38
|
+ $noPrintPrice = $('.no-print-price'),
|
|
|
39
|
+ delivery = 0;
|
39
|
|
40
|
|
40
|
const orderEnsure = new OrderEnsure(order);
|
41
|
const orderEnsure = new OrderEnsure(order);
|
41
|
|
42
|
|
|
@@ -416,6 +417,20 @@ $subBlock.on('touchstart', 'li', function() { |
|
@@ -416,6 +417,20 @@ $subBlock.on('touchstart', 'li', function() { |
416
|
});
|
417
|
});
|
417
|
let self = $(this);
|
418
|
let self = $(this);
|
418
|
|
419
|
|
|
|
420
|
+ if (self.find('span').data('message') && delivery === 0 &&
|
|
|
421
|
+ parseInt(self.find('i').data('payment-type'), 10) === 2) {
|
|
|
422
|
+
|
|
|
423
|
+ dialog.showDialog({
|
|
|
424
|
+ hasHeader: '温馨提示',
|
|
|
425
|
+ dialogText: self.find('span').data('message'),
|
|
|
426
|
+ hasFooter: {
|
|
|
427
|
+ centerBtnText: '我知道了'
|
|
|
428
|
+ }
|
|
|
429
|
+ });
|
|
|
430
|
+
|
|
|
431
|
+ delivery = 1;
|
|
|
432
|
+ }
|
|
|
433
|
+
|
419
|
setTimeout(function() {
|
434
|
setTimeout(function() {
|
420
|
self.parents('ul').hide();
|
435
|
self.parents('ul').hide();
|
421
|
}, 300);
|
436
|
}, 300);
|