fix: stabilize SMS login form

This commit is contained in:
Codex
2026-07-03 22:43:25 +08:00
parent 69b3d80621
commit 0a60609a67
2 changed files with 35 additions and 1 deletions

View File

@@ -110,6 +110,7 @@
}
.login-field-label {
display: block;
color: #334155;
font-size: 17px;
font-weight: 850;
@@ -145,6 +146,39 @@
.login-send-button {
width: 104px;
min-width: 104px;
max-width: 104px;
padding: 0;
white-space: nowrap;
}
.login-card .login-input {
display: block;
width: 100%;
height: 54px;
min-height: 54px;
padding: 0 16px;
border: 1px solid #dbe3ef;
border-radius: 10px;
background: #fff;
color: #111827;
font-size: 17px;
line-height: 54px;
}
.login-card .login-code-row .login-code-input {
width: 100%;
}
.login-card .login-send-button.secondary-button {
width: 104px;
min-width: 104px;
max-width: 104px;
height: 54px;
min-height: 54px;
padding: 0;
border-radius: 10px;
font-size: 15px;
line-height: 54px;
}
.login-page-admin {

View File

@@ -100,7 +100,7 @@ export async function apiRequest<T>(
throw new ApiError({
status: response.statusCode,
code: String(payload.code || 'API_ERROR'),
message: String(payload.message || '请求失败'),
message: String(payload.message || payload.error || '请求失败'),
details: payload,
});
}