refactor: clean up login-kicker and update button text
remove the unused .login-kicker CSS class and corresponding span element from the login page update the login button text to "login" from the original "enter maintenance desk" for more accurate labeling
This commit is contained in:
@@ -31,7 +31,6 @@ export function LoginPage({ onDone }: { onDone: () => void }) {
|
||||
<main className="login-shell">
|
||||
<Card className="login-panel">
|
||||
<CardHeader className="p-0">
|
||||
<span className="login-kicker">万趣运营后台</span>
|
||||
<CardTitle>万趣小程序管理端</CardTitle>
|
||||
<CardDescription>按前台页面结构维护内容、商品和线索。</CardDescription>
|
||||
</CardHeader>
|
||||
@@ -50,7 +49,7 @@ export function LoginPage({ onDone }: { onDone: () => void }) {
|
||||
<AlertDescription>{error}</AlertDescription>
|
||||
</Alert>
|
||||
) : null}
|
||||
<Button disabled={loading}>{loading ? "登录中" : "进入维护台"}</Button>
|
||||
<Button disabled={loading}>{loading ? "登录中" : "登录"}</Button>
|
||||
</form>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
@@ -75,12 +75,6 @@ button {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.login-kicker {
|
||||
color: #287d79;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.login-panel h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 26px;
|
||||
@@ -3019,10 +3013,6 @@ section.work-area:has(> .lead-toolbar) .empty-row {
|
||||
@apply w-full max-w-md rounded-2xl border border-white/80 bg-white/95 p-8 shadow-xl;
|
||||
}
|
||||
|
||||
.login-kicker {
|
||||
@apply mb-1 w-fit rounded-full border border-teal-200 bg-teal-50 px-3 py-1 text-xs font-bold text-teal-700;
|
||||
}
|
||||
|
||||
.login-panel h3 {
|
||||
@apply text-3xl font-black leading-tight text-slate-950;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user