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;