|
|
// import qs from 'yoho-qs';
|
|
|
import dialog from 'plugin/dialog';
|
|
|
import safeCheckBoxHbs from 'cart/order-ensure/safe-check-box.hbs';
|
|
|
|
|
|
class OrderEnsure {
|
|
|
constructor(order) { // 参数为使用哪个 cookie
|
...
|
...
|
@@ -50,6 +52,20 @@ class OrderEnsure { |
|
|
event.preventDefault();
|
|
|
event.stopPropagation();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 验证码弹窗
|
|
|
*/
|
|
|
showSafeCheckDialog(mobile) {
|
|
|
dialog.showDialog({
|
|
|
hasHeader: '安全验证',
|
|
|
dialogText: safeCheckBoxHbs({ mobile: mobile }),
|
|
|
hasFooter: {
|
|
|
leftBtnText: '取消',
|
|
|
rightBtnText: '确定'
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
module.exports = OrderEnsure; |
...
|
...
|
|