From 91f933f4ebc9e36bb71f5fc33ce6d09b7d451905 Mon Sep 17 00:00:00 2001 From: Nixevol Date: Fri, 30 Oct 2026 10:41:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=99=BB=E5=BD=95=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E4=B8=8E=E8=BE=93=E5=85=A5=E6=A1=86=E5=B7=A6=E5=8F=B3=E5=AF=B9?= =?UTF-8?q?=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/features/auth/LoginView.vue | 2 +- web/src/styles.css | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/web/src/features/auth/LoginView.vue b/web/src/features/auth/LoginView.vue index 4709b35..f441db7 100644 --- a/web/src/features/auth/LoginView.vue +++ b/web/src/features/auth/LoginView.vue @@ -151,7 +151,7 @@ async function finishNqi() {

{{ purpose === "pool" ? "添加账号" : "DecomEval" }}

-
+ 这个数据库已经安装过,请使用原来的管理员账号登录。 {{ errorText }}
diff --git a/web/src/styles.css b/web/src/styles.css index 7896209..49eee28 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -106,12 +106,23 @@ button, input, select { font: inherit; } font-weight: 600; letter-spacing: 0.12em; } -.login-secondary { - display: flex; - justify-content: flex-end; +.login-form { + display: grid; + grid-template-columns: 112px minmax(0, 1fr); + column-gap: 12px; + row-gap: 8px; + align-items: center; +} +.login-form .form-grid { display: contents; } +.login-form .n-alert, +.login-form .login-secondary { grid-column: 1 / -1; } +.login-form .gate-submit.n-button { + grid-column: 2; + width: 100%; + height: 40px; margin-top: 16px; + justify-self: stretch; } -.login-secondary + .gate-submit.n-button { margin-top: 12px; } .gate-brand { display: flex; gap: 14px;