From 564968472d2fcee2f48e23a8e190879a7fdcf868 Mon Sep 17 00:00:00 2001 From: Nixevol Date: Fri, 30 Oct 2026 11:33:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B4=A6=E5=8F=B7=E6=B1=A0=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=B4=A6=E5=8F=B7=E5=A4=8D=E7=94=A8=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=EF=BC=8C=E4=B8=8D=E5=86=8D=E5=A5=97=E4=B8=80?= =?UTF-8?q?=E5=B1=82=E5=8D=A1=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/features/admin/PoolView.vue | 2 +- web/src/features/auth/LoginView.vue | 8 ++++---- web/src/styles.css | 31 ++++++++++++++++++++--------- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/web/src/features/admin/PoolView.vue b/web/src/features/admin/PoolView.vue index 555c010..1d92870 100644 --- a/web/src/features/admin/PoolView.vue +++ b/web/src/features/admin/PoolView.vue @@ -64,7 +64,7 @@ onMounted(load);

没有账号

- + diff --git a/web/src/features/auth/LoginView.vue b/web/src/features/auth/LoginView.vue index 217b00f..537f0d9 100644 --- a/web/src/features/auth/LoginView.vue +++ b/web/src/features/auth/LoginView.vue @@ -196,9 +196,9 @@ async function finishNqi() { - 登录 + {{ purpose === "pool" ? "添加" : "登录" }} diff --git a/web/src/styles.css b/web/src/styles.css index 38fd5e0..efa6b29 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -223,25 +223,31 @@ button, input, select { font: inherit; } font-size: 13px; } .lv-side h1 { margin: 0; font-size: 18px; } -.lv-side form { +.lv-side form, +.lv-embed form { display: grid; - grid-template-columns: max-content 220px; + grid-template-columns: max-content minmax(0, 1fr); column-gap: 8px; row-gap: 10px; align-items: center; } -.lv-side label { margin: 0; justify-self: end; } -.lv-side .n-alert { grid-column: 1 / -1; } -.lv-side .n-button { grid-column: 2; width: 100%; } -.lv-side .lv-go { +.lv-side form { grid-template-columns: max-content 220px; } +.lv-side label, +.lv-embed label { margin: 0; justify-self: end; } +.lv-side .n-alert, +.lv-embed .n-alert { grid-column: 1 / -1; } +.lv-side .n-button, +.lv-embed .n-button { grid-column: 2; width: 100%; } +.lv-side .lv-go, +.lv-embed .lv-go { height: 36px; margin-top: 4px; font-weight: 600; letter-spacing: 0.08em; } -.lv-side .lv-captcha { display: flex; gap: 8px; align-items: center; min-width: 0; } -.lv-side .lv-captcha .n-input { flex: 1; min-width: 0; } -.lv-side .lv-captcha img { +.lv-captcha { display: flex; gap: 8px; align-items: center; min-width: 0; } +.lv-captcha .n-input { flex: 1; min-width: 0; } +.lv-captcha img { width: 112px; height: 36px; border: 1px solid var(--line); @@ -249,6 +255,13 @@ button, input, select { font: inherit; } background: var(--bg); cursor: pointer; object-fit: cover; + flex: none; +} +.lv-embed { + width: 100%; + background: transparent; + border: 0; + padding: 0; } .sms-actions { display: flex;