修复bug

This commit is contained in:
2026-08-03 20:50:32 +08:00
parent fed46f42ef
commit 2d38c90d1c
17 changed files with 499 additions and 62 deletions
+4
View File
@@ -4,3 +4,7 @@ html, body, #app { min-width: 320px; min-height: 100%; margin: 0; }
body { min-height: 100vh; background: #f5f7fa; }
button, input { font: inherit; }
a { color: inherit; }
@media (max-width: 720px) {
html, body, #app { min-width: 0; }
}
+34 -3
View File
@@ -36,9 +36,9 @@
.agreement-control { display: flex; min-height: 44px; align-items: center; gap: 4px; flex-wrap: wrap; color: var(--muted); }
.agreement-item .el-checkbox { min-height: 44px; white-space: normal; }
.agreement-required { margin-right: 2px; color: var(--el-color-danger); }
.agreement-item button { padding: 0; border: 0; background: transparent; color: var(--primary); cursor: pointer; }
.agreement-item button:hover { text-decoration: underline; }
.agreement-item button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.agreement-item a { color: var(--primary); text-decoration: none; }
.agreement-item a:hover { text-decoration: underline; }
.agreement-item a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.register-security-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.register-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.registration-result { display: flex; min-height: 470px; align-items: center; justify-content: center; flex-direction: column; color: var(--primary); text-align: center; }
@@ -54,6 +54,31 @@
.registration-next-step strong { color: var(--navy); font-size: 13px; }
.registration-result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.legal-page { min-height: 100vh; background: #f5f7f8; }
.legal-header { position: sticky; top: 0; z-index: 10; display: flex; height: 68px; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .96); }
.legal-header > a:first-child { display: flex; min-height: 44px; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-header > a:first-child:hover { color: var(--primary); }
.legal-header a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.legal-main { width: min(860px, calc(100% - 32px)); margin: 36px auto 64px; }
.legal-document { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--border); background: #fff; color: #34464f; }
.legal-title { padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.legal-title h1 { margin: 0 0 20px; color: var(--navy); font-size: clamp(28px, 4vw, 38px); line-height: 1.25; }
.legal-title dl { display: flex; margin: 0; gap: 24px; flex-wrap: wrap; }
.legal-title dl div { display: flex; gap: 6px; font-size: 12px; }
.legal-title dt { color: var(--muted); }
.legal-title dd { margin: 0; color: var(--navy); font-weight: 650; }
.legal-introduction { margin: 28px 0 34px; padding: 18px 20px; background: #eef6f4; color: #29423e; }
.legal-introduction p { margin: 0; font-size: 14px; line-height: 1.9; }
.legal-introduction p + p { margin-top: 10px; }
.legal-section { margin-top: 32px; }
.legal-section h2 { margin: 0 0 12px; color: var(--navy); font-size: 18px; line-height: 1.5; }
.legal-section p, .legal-section li { font-size: 14px; line-height: 1.9; }
.legal-section p { margin: 0; }
.legal-section p + p { margin-top: 10px; }
.legal-section ul { margin: 0; padding-left: 1.35em; }
.legal-section li + li { margin-top: 8px; }
.legal-section li::marker { color: var(--primary); }
.client-dashboard { display: flex; flex-direction: column; gap: 18px; }
.dashboard-load-error { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #f1d4a8; border-radius: 12px; background: #fff9ef; color: #9a5a09; }
.dashboard-load-error > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
@@ -117,6 +142,12 @@
.registration-result dl div:nth-child(odd) { border-right: 0; }
.registration-result-actions { width: 100%; }
.registration-result-actions .el-button { flex: 1; }
.legal-header { height: 60px; padding: 0 16px; }
.legal-header .auth-brand-logo { width: 120px; height: 48px; }
.legal-main { margin: 16px auto 32px; }
.legal-document { padding: 24px 20px; }
.legal-title dl { flex-direction: column; gap: 6px; }
.legal-introduction { margin: 22px 0 28px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {