feat: 管理后台登录页返回按钮的实现

This commit is contained in:
fhzit 2025-04-20 10:59:13 +08:00
parent 7f99f2613b
commit 19c9f4b2b4

View File

@ -81,9 +81,27 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
text-align: center;
margin-bottom: 16px;
}
.back-button {
position: absolute;
top: 16px;
left: 16px;
text-decoration: none;
padding: 8px 16px;
background: var(--md-primary);
color: var(--md-on-primary);
border-radius: 4px;
box-shadow: var(--md-elevation-1);
font-size: 14px;
}
.back-button:hover {
background: var(--md-primary-hover);
}
</style>
</head>
<body>
<a href="../" class="back-button md3-button">返回</a>
<div class="login-container md3-card">
<h2>登录</h2>
<?php if (isset($error)): ?>