优化注册界面

This commit is contained in:
季圣华
2019-05-03 15:53:45 +08:00
parent 8eda014169
commit 3739bd2dfd
5 changed files with 25 additions and 14 deletions

View File

@@ -12,10 +12,10 @@
<script type="text/javascript" src="/js/md5/md5.js"></script>
<script type="text/javascript" src="/js/gVerify.js"></script>
</head>
<body id="login_body">
<div id="login_main">
<div id="login">
<p id="login_signal"><img src="/images/register_tip.jpg" width="108" height="29" alt="login"/></p>
<body id="register_body">
<div id="register_main">
<div id="register">
<p id="register_signal"><img src="/images/register_tip.jpg" width="108" height="29" alt="login"/></p>
<p id="txt_username">
<label for="user_name">用户名:</label>
</p>
@@ -73,7 +73,8 @@
}),
success: function (res) {
if (res && res.code === 200) {
alert("注册成功!");
alert("注册成功,请进行登录");
location.href = "login.html";
} else {
alert(res.msg);
}