2024-11-14 14:55:43 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>登录 - 授权验证管理平台</title>
|
|
|
|
<link rel="stylesheet" href="/static/layui/css/layui.css">
|
2024-11-16 15:59:15 +00:00
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.login-container {
|
|
|
|
width: 360px;
|
|
|
|
padding: 30px;
|
|
|
|
background-color: #fff;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 2px 10px rgba(0,0,0,.1);
|
|
|
|
}
|
|
|
|
.login-title {
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
color: #333;
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.login-form {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
.captcha-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.captcha-input {
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
.captcha-img {
|
|
|
|
height: 38px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.layui-form-item {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
.layui-input {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.layui-btn {
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
</style>
|
2024-11-14 14:55:43 +00:00
|
|
|
</head>
|
2024-11-16 15:59:15 +00:00
|
|
|
<body>
|
|
|
|
<div class="login-container">
|
|
|
|
<h2 class="login-title">授权验证管理平台</h2>
|
|
|
|
<form class="layui-form login-form">
|
|
|
|
<div class="layui-form-item">
|
|
|
|
<div class="layui-input-block" style="margin-left: 0;">
|
|
|
|
<input type="text" name="username" required lay-verify="required"
|
|
|
|
placeholder="请输入用户名" autocomplete="off" class="layui-input">
|
2024-11-14 14:55:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-11-16 15:59:15 +00:00
|
|
|
<div class="layui-form-item">
|
|
|
|
<div class="layui-input-block" style="margin-left: 0;">
|
|
|
|
<input type="password" name="password" required lay-verify="required"
|
|
|
|
placeholder="请输入密码" autocomplete="off" class="layui-input">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
|
|
<div class="layui-input-block captcha-container" style="margin-left: 0;">
|
|
|
|
<input type="text" name="captcha" required lay-verify="required"
|
|
|
|
placeholder="请输入验证码" autocomplete="off" class="layui-input captcha-input">
|
|
|
|
<img id="captchaImg" class="captcha-img" alt="验证码">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
|
|
<div class="layui-input-block" style="margin-left: 0;">
|
|
|
|
<button class="layui-btn layui-btn-normal" lay-submit lay-filter="login">登录</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2024-11-14 14:55:43 +00:00
|
|
|
</div>
|
|
|
|
<script src="/static/layui/layui.js"></script>
|
|
|
|
<script src="/static/js/login.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|