1018修改

master
chenzhi 5 years ago
parent 5805880e0c
commit 5f4dca0a77

@ -159,7 +159,7 @@ class SsgController extends BaseController {
}
//添加自动登录
$userApi = new MemberApi();
$user_id = $userApi->login($account, $password,1);
$user_id = $userApi->login($user['account'], $user['password'],1);
$this -> set_message(1, "success", "添加成功");

@ -49,7 +49,7 @@
</div>
<div class="descitem" style="background: url('__IMG__/ssg/home/list1.png') no-repeat top center/100% 100%;margin-top: .45rem;">
<ul>
<li>高端定制仅对IOS用户开放</li>
<li>高端定制仅对IOS用户开放</li>
<li>永不闪退,不丢游戏,不丢数据,稳定有保障</li>
<li>同一设备安装一次可在一年内无限次下载重装</li>
</ul>

@ -14,7 +14,7 @@
<body>
<div class="login-page" style="background: url('__IMG__/ssg/login/bg.png') no-repeat top center/100% 100%;">
<!---登陆弹框-->>
<!---登陆弹框-->
<div id="alert_box" style="height: 100vh;background:rgba(41,41,41,.8);position:fixed;z-index:9999;top: 0px;width: 100%;display: none;">
<div style="top:50%;margin-top: -1.5rem;position: fixed;width: 6.3rem;left: 50%;margin-left: -3.2rem;background-color: #fff;border-radius:.2rem;">
<div style="line-height:1.4rem;font-size:.32rem;text-align: center;">
@ -286,9 +286,11 @@
if (result.return_code == 'fail') {
alert(result.return_msg);
} else {
$("#alert_box").show();
setTimeout(hideAndLogin,2500)
//成功
alert("注册成功,三秒后将自动登陆");
window.location.href = "mobile.php?s=/Ssg/index.html"
// alert("注册成功,三秒后将自动登陆");
// window.location.href = "mobile.php?s=/Ssg/index.html"
}
}
})

Loading…
Cancel
Save