Authored by Zhang

立即购买

... ... @@ -12,7 +12,8 @@ const qs = require('yoho-qs');
let tip = require('plugin/tip'),
loading = require('plugin/loading'),
order = require('./order-info'),
richTip = require('plugin/rich-tip');
richTip = require('plugin/rich-tip'),
dialog = require('plugin/dialog');
let $invoice = $('.invoice'),
$couponUse = $('.coupon-use.used'),
... ... @@ -446,6 +447,15 @@ $subBlock.on('touchstart', 'li', function() {
});
let self = $(this);
if (self.find('i').data('payment-type') === 2) {
dialog.showDialog({
dialogText: '货到付款订单是否支持刷卡以当地快递公司为准',
hasFooter: {
centerBtnText: '我知道了'
}
});
}
setTimeout(function() {
self.parents('ul').hide();
}, 300);
... ...