dongfeng-pay/agent/views/login.html
2021-04-27 15:33:49 +08:00

115 lines
5.2 KiB
Go

<!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/lib/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome CSS-->
<link rel="stylesheet" href="../static/lib/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/lib/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/lib/jquery/jquery.min.js"></script>
<script src="../static/lib/bootstrap/js/bootstrap.min.js"></script>
<!-- Main File-->
<script src="../static/js/front.js"></script>
<script src="../static/lib/jquery.cookie/jquery.cookie.js"></script>
<script src="../static/lib/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>