Authored by cailing

领券频道样式修改

... ... @@ -4322,7 +4322,8 @@ var $ = require("jquery"),
var defaultOptions = {
mask: true,
closeIcon: true
closeIcon: true,
refreshOnClose: false
};
var tpl =
... ... @@ -4403,6 +4404,9 @@ function Dialog(options) {
//绑定x关闭事件
that.$el.find('.close').click(function() {
that.close();
if (options.refreshOnClose) {
window.location.reload();
}
});
//绑定btn关闭事件
... ... @@ -17667,6 +17671,7 @@ alertConfig = {
content: '恭喜您,成功领取优惠券',
subContents: ['特殊情况下到账有延时', '请耐心等待'],
className: 'subcontent-dialog',
refreshOnClose: true,
btns: [
{
id: 1,
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.