完善表单校验与公共数据逻辑

Co-Authored-By: Kimi-K3.1-Pro <noreply@moonshot.ai>
This commit is contained in:
lik
2026-10-24 18:49:02 +08:00
committed by trae-solo-agent
co-authored by Kimi-K3.1-Pro
parent d731fc1da3
commit a45a3d7a86
18 changed files with 496 additions and 336 deletions
+36
View File
@@ -11,6 +11,32 @@ page {
padding: 40rpx 32rpx calc(180rpx + env(safe-area-inset-bottom));
}
/* ===== 加载与失败状态 ===== */
.page-state {
display: flex;
flex-direction: column;
align-items: center;
padding: 120rpx 32rpx;
}
.page-state-text {
margin-top: 20rpx;
font-size: 28rpx;
line-height: 1.6;
color: var(--muted);
text-align: center;
}
.page-retry {
margin-top: 24rpx;
padding: 12rpx 28rpx;
border: 2rpx solid var(--brand-strong);
border-radius: 28rpx;
font-size: 26rpx;
font-weight: 500;
color: var(--brand-strong);
}
/* ===== 通栏白块 =====
白面 + 上下各 2rpx 发丝线 + 中性阴影,圆角 0;
负向 margin 抵消容器 32rpx 内距后左右顶到屏幕两侧,
@@ -31,12 +57,22 @@ page {
/* 行高约 87rpx(28rpx×1.4 + 上下 24rpx),贴近 iOS 44pt 触控目标 */
.form-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding: 24rpx 32rpx;
border-bottom: 2rpx solid var(--line);
}
.field-error {
width: 100%;
margin-top: 12rpx;
font-size: 24rpx;
line-height: 1.5;
color: #B4231A;
text-align: right;
}
.form-row-last {
border-bottom: none;
}