Authored by wenjiekong

领券提示框,还关闭图标

... ... @@ -272,8 +272,8 @@ function requestCoupon(id) {
var opt = {
className: 'stu-alert',
myCloseIcon: 'close-icon',
content: '<p class="errorText">网络异常</p>'
}
content: '<p>网络异常</p>'
};
new Dialog(opt).show();
}
... ...
... ... @@ -512,11 +512,12 @@
}
}
.stu-alert .errorText {
.stu-alert .content p {
margin-top: 50px;
}
.stu-alert .close-icon,
.stu-dialog .close-icon{
.stu-dialog .close-icon {
display: inline-block;
top: -20px;
right: -20px;
... ...