...
|
...
|
@@ -7,6 +7,8 @@ |
|
|
require('cart/order-ensure.page.css');
|
|
|
require('common.js');
|
|
|
|
|
|
const dialog = require('plugin/dialog');
|
|
|
|
|
|
let lazyLoad = require('yoho-jquery-lazyload'),
|
|
|
tip = require('plugin/tip'),
|
|
|
cookie = require('yoho-cookie');
|
...
|
...
|
@@ -262,6 +264,13 @@ function submitOrder() { |
|
|
}
|
|
|
cookie.set('order-info', '', actCkOpthn);
|
|
|
window.location.href = url;
|
|
|
} else if (res.code === 440) {
|
|
|
dialog.showDialog({
|
|
|
dialogText: res.message,
|
|
|
hasFooter: {
|
|
|
centerBtnText: '我知道了'
|
|
|
}
|
|
|
});
|
|
|
} else if (res.message) {
|
|
|
tip.show(res.message);
|
|
|
}
|
...
|
...
|
|