style: 优化css样式,全局使用show.xx消息提示

This commit is contained in:
Ying
2023-08-04 11:06:34 +08:00
parent 515212e5d7
commit 066307c800
39 changed files with 566 additions and 751 deletions

View File

@@ -54,7 +54,7 @@
$('#uCode').click(function (e) {
let name = $('#name').val();
if (name === '') {
layer.msg('请输入邮箱或手机号', 'info');
layer.msg('请输入邮箱或手机号', {icon: 5});
return false;
}
let regUrl = '/api/ajax/smsSend';
@@ -74,9 +74,9 @@
success: function (res) {
if (res.code === 200) {
layer.msg(res.msg, 'success');
layer.msg(res.msg);
} else {
layer.msg(res.msg, 'error');
layer.msg(res.msg, {icon: 5});
}
}
});