@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>登陆页</title>
|
||||
<link href="__CSS__/ssg/common.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-container container-white">
|
||||
<div class="top">
|
||||
<a href="javascript:history.go(-1);"></a>登录
|
||||
</div>
|
||||
<div class="login">
|
||||
<div class="login-title">
|
||||
<h2>Hello!终于等到你~</h2>
|
||||
<input type="hidden" value="{$promote_id}" id="promote_id" name="promote_id"/>
|
||||
</div>
|
||||
<div class="login-input">
|
||||
<ul>
|
||||
<li>
|
||||
<label>
|
||||
<input type="text" id="userAccount" name="userAccount" placeholder="用户名">
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
<input type="password" id="password" name="password" placeholder="登录密码">
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
<input type="text" id="userCode" name="userCode" maxlength="4" placeholder="验证码">
|
||||
<img id="verifyCode" style="cursor:pointer" onclick="GetVerityCode()" src="/mobile.php?s=/Ssg/verify.html">
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login-btn"><a href="javascript:;" onclick="Login()">登录</a></div>
|
||||
<div style="padding-top: 0.2rem;" class="login-btn"><a href="/mobile.php?s=/User/step1.html">注册</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
|
||||
<script src="__JS__/ssg/jquery.md5.js" type="text/javascript"></script>
|
||||
<script src="__JS__/ssg/common.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
var loginLock = false;
|
||||
function GetVerityCode() {
|
||||
//刷新验证码
|
||||
$("#verifyCode").attr("src", "/mobile.php?s=/Ssg/verify.html&id=" + Math.random());
|
||||
}
|
||||
function Login() {
|
||||
var loginName = $("#userAccount").val();
|
||||
var loginPass = $("#password").val();
|
||||
var userCode = $("#userCode").val();
|
||||
var promoteId = $("#promote_id").val();
|
||||
if (loginName == "") {
|
||||
alert("账号不能为空");
|
||||
return false;
|
||||
}
|
||||
if (loginPass == "") {
|
||||
alert("密码不能为空");
|
||||
return false;
|
||||
}
|
||||
if (userCode == "") {
|
||||
alert("验证码不能为空");
|
||||
return false;
|
||||
}
|
||||
if (promoteId == "") {
|
||||
alert("推广员ID不能为空");
|
||||
return false;
|
||||
}
|
||||
|
||||
jQuery.ajax({
|
||||
type: 'POST',
|
||||
url:'mobile.php?s=/Ssg/do_login.html',
|
||||
data: {
|
||||
'Account':loginName,
|
||||
'Password':(loginPass),
|
||||
'VerifyCode':userCode,
|
||||
'promote_id' :promoteId,
|
||||
},
|
||||
dataType: 'JSON',
|
||||
xhrFields:{
|
||||
withCredentials:true
|
||||
},
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function (result) {
|
||||
if (result.ErrorCode!=0){
|
||||
alert(result.ResultMsg);
|
||||
GetVerityCode();
|
||||
}else{
|
||||
window.location.href="mobile.php?s=/Ssg/index.html"
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</html>
|
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 119 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 164 KiB |
After Width: | Height: | Size: 776 B |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 963 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 355 KiB |
After Width: | Height: | Size: 371 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 4.5 KiB |
@ -0,0 +1 @@
|
||||
!function(e){var t=e.document,n=t.documentElement,i="orientationchange"in e?"orientationchange":"resize",a=function e(){var t=n.getBoundingClientRect().width;return n.style.fontSize=5*Math.max(Math.min(t/750*20,11.2),8.55)+"px",e}();n.setAttribute("data-dpr",e.navigator.appVersion.match(/iphone/gi)?e.devicePixelRatio:1),/iP(hone|od|ad)/.test(e.navigator.userAgent)&&(t.documentElement.classList.add("ios"),parseInt(e.navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/)[1],10)>=8&&t.documentElement.classList.add("hairline")),t.addEventListener&&(e.addEventListener(i,a,!1),t.addEventListener("DOMContentLoaded",a,!1))}(window);
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 36 KiB |