<!DOCTYPE html>
<html>
<head>
<title>登录</title>
<meta charset="UTF-8">
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
.login-form { max-width: 300px; margin: 0 auto; padding: 20px; border: 1px solid #ddd; border-radius: 5px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input { width: 100%; padding: 8px; box-sizing: border-box; }
.error { color: red; margin-bottom: 15px; }
.submit-btn { background-color: #4CAF50; color: white; padding: 10px; border: none; width: 100%; cursor: pointer; }
.submit-btn:hover { background-color: #45a049; }
</style>
</head>
<body>
<div class="login-form">
<h2>管理员登录</h2>
<form method="post">
<div class="form-group">
<label for="username">用户名:</label>
<input type="text" id="username" name="username" required>
</div>
<div class="form-group">
<label for="password">密码:</label>
<input type="password" id="password" name="password" required>
</div>
<div class="form-group">
<button type="submit" class="submit-btn">登录</button>
</div>
</form>
</div>
</body>
</html>