You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
1.4 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>登录</title>
<link rel="stylesheet" href="css/login.css" type="text/css">
</head>
<body>
<!--<form class="login-page" action="/login" method="post">-->
<!-- <div class="form">-->
<!-- <h3>账户登录</h3>-->
<!-- <input type="text" placeholder="用户名" name="username" required="required" /><br/>-->
<!-- <input type="password" placeholder="密码" name="password" required="required" /><br/>-->
<!-- <img src="/code/image" style="margin-bottom: 10px"/>-->
<!-- <input type="text" name="imageCode" placeholder="请输入验证码" />-->
<!-- <input type="checkbox" style="width:10%;" name="remember-me">记住我-->
<!-- <button type="submit">登录</button>-->
<!-- </div>-->
<!--</form>-->
<form class="login-page" action="/login/mobile" method="post">
<div class="form">
<h3>短信验证码登录</h3>
<input type="text" placeholder="手机号" name="mobile" value="17777777777" required="required"/>
<input type="text" name="smsCode" placeholder="短信验证码" style="width: 50%;"/>
<a href="javascript:void(0);" onclick="sendSms()">发送验证码</a>
<button type="submit">登录</button>
</div>
</form>
<script>
function sendSms() {
window.location.href = "/code/sms?mobile=17777777777";
}
</script>
</body>
</html>