mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-10-30 18:17:31 +08:00
由gopath形式改为module
This commit is contained in:
115
merchant/views/login.html
Normal file
115
merchant/views/login.html
Normal file
@@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>商户后台登录</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="robots" content="all,follow">
|
||||
|
||||
<!-- Bootstrap CSS-->
|
||||
<link rel="stylesheet" href="../static/vendor/bootstrap/css/bootstrap.min.css">
|
||||
<!-- Font Awesome CSS-->
|
||||
<link rel="stylesheet" href="../static/vendor/font-awesome/css/font-awesome.min.css">
|
||||
<!-- Fontastic Custom icon font-->
|
||||
<link rel="stylesheet" href="../static/css/fontastic.css">
|
||||
<!-- Google fonts - Poppins -->
|
||||
|
||||
<!-- theme stylesheet-->
|
||||
<link rel="stylesheet" href="../static/css/style.blue.css" id="theme-stylesheet">
|
||||
<!-- Custom stylesheet - for your changes-->
|
||||
<link rel="stylesheet" href="../static/css/custom.css">
|
||||
<!-- Favicon-->
|
||||
<link rel="shortcut icon" href="../static/img/icon.ico" type="image/x-icon"/>
|
||||
|
||||
<link href="../static/vendor/toastr-2.1.4-7/toastr.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Tweaks for older IEs--><!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="page login-page">
|
||||
<div class="container d-flex align-items-center">
|
||||
<div class="form-holder has-shadow">
|
||||
<div class="row">
|
||||
<!-- Logo & Information Panel-->
|
||||
<div class="col-lg-6">
|
||||
<div class="info d-flex align-items-center">
|
||||
<div class="content">
|
||||
<div class="logo">
|
||||
<h1>商户开放平台</h1>
|
||||
</div>
|
||||
<p>掌握最新的行业解决方案.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Form Panel -->
|
||||
<div class="col-lg-6 bg-white">
|
||||
<div class="form d-flex align-items-center">
|
||||
<div class="content">
|
||||
<form id="form-validate">
|
||||
<div class="form-group">
|
||||
<input id="userName" type="text" name="userName" required
|
||||
data-msg="请输入您的账户" class="input-material" placeholder="登录账户">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input id="Password" type="password" name="Password" required
|
||||
data-msg="请输入您的密码" class="input-material" placeholder="密码">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input id="captchaCode" style="float: left;width: 55%" type="text"
|
||||
name="captchaCode" required
|
||||
data-msg="请输入验证码" class="input-material"
|
||||
placeholder="验证码">
|
||||
|
||||
<img src="/img.do/{{.CaptchaId}}.png"
|
||||
style="float: right;width: 40%;max-height: 45px;"
|
||||
id="rcCaptcha-img" alt="验证码过期,请刷新页面!"
|
||||
title="点击更换验证码" onclick="login.changeImg();">
|
||||
<input value="{{.CaptchaId}}" id="captchaId" name="captchaId" type="hidden"/>
|
||||
</div>
|
||||
<br><br><br>
|
||||
<button type="button" style="top: 12px;" class="btn btn-primary btn-user btn-block"
|
||||
id="btn_submit"
|
||||
onclick="login.login_action()">
|
||||
<i class="fa fa-lock"></i> 登录
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyrights text-center">
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
<script src="../static/vendor/jquery/jquery.min.js"></script>
|
||||
<script src="../static/vendor/bootstrap/js/bootstrap.min.js"></script>
|
||||
<!-- Main File-->
|
||||
<script src="../static/js/front.js"></script>
|
||||
<script src="../static/vendor/jquery.cookie/jquery.cookie.js"></script>
|
||||
|
||||
<script src="../static/vendor/toastr-2.1.4-7/toastr.min.js"></script>
|
||||
<script src="../static/js/login.js"></script>
|
||||
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
//验证码
|
||||
// $("#captchaCode").blur(function () {
|
||||
// login.verifyCaptchaId();
|
||||
// });
|
||||
|
||||
//提交回车键
|
||||
$(document).keydown(function (e) {
|
||||
if (e.keyCode === 13) {
|
||||
$("#btn_submit").click();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user