123 lines
2.6 KiB
HTML
123 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
|
|
<title>登录</title>
|
|
<style>
|
|
:root {
|
|
--primary: #409eff;
|
|
--text: #222;
|
|
--subtext: #666;
|
|
--bg: #f5f7fa;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
background: var(--bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
.login-container {
|
|
width: 92%;
|
|
max-width: 400px;
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
padding: 28px 22px;
|
|
}
|
|
|
|
.login-header {
|
|
text-align: center;
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
font-size: 0.95rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 10px;
|
|
outline: none;
|
|
transition: border 0.2s;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.login-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.85rem;
|
|
margin: 6px 0 18px;
|
|
color: var(--subtext);
|
|
}
|
|
|
|
.login-actions label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.login-actions a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.login-button {
|
|
width: 100%;
|
|
padding: 13px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
background: var(--primary);
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.login-button:active {
|
|
background: #318ae6;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="login-container">
|
|
<div class="login-header">系统登录</div>
|
|
<form>
|
|
<div class="form-group">
|
|
<input type="text" placeholder="请输入机构码">
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="text" placeholder="请输入账号">
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="password" placeholder="请输入密码">
|
|
</div>
|
|
<div class="login-actions">
|
|
<label>
|
|
<input type="checkbox" style="accent-color: var(--primary);"> 记住我
|
|
</label>
|
|
<a href="#">忘记密码?</a>
|
|
</div>
|
|
<button type="submit" class="login-button">登录</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|