style(ui): 统一页首/字号/圆角档位并收口状态色令牌

- 页首:itemorder / guide / contact / attendants 删除与导航栏重复的大标题,统一为「短横 + 一句导语」
- 字号:页面主标题 44、区块标题 34、卡内标题 32;卡片圆角 28;容器内距 32(DESIGN.md 新增 §九)
- 状态色:utils/order.js 只产出语气档,两页胶囊改 .chip-tone-* 读 --status-* 令牌,删除内联 style 与 JS 色值
- 下单:字段标签去浅橙药丸改裸字,医院选择组件同步;搜索/手填输入框去掉旧绿底
- 文案:清除英文大写小标、粘字箭头与中点串,统一细竖线/留白分隔
- 修复:预约记录空值整行剔除、陪诊师卡片与重试态补按下反馈、三处无限动画补减动效回退
- aichat:消息时间改为距上条满 5 分钟才显示
This commit is contained in:
lik
2026-11-13 17:10:55 +08:00
parent 79464ce12a
commit 17a64f10bc
38 changed files with 472 additions and 277 deletions
+16 -28
View File
@@ -15,33 +15,29 @@ page {
padding: 0 32rpx calc(40rpx + env(safe-area-inset-bottom));
}
.page-header {
padding-top: 32rpx;
/* 页首:页面级短横 + 一句导语。
大标题已删——导航栏写着「立即预约」,页内再写一遍是同一屏两遍标题;
导语沿用 itemlist 的 .page-lead 口径(32rpx/700/--ink),
四页由此共用一套页首语言 */
.page-lead {
margin-top: 32rpx;
}
.header-accent {
.page-accent {
width: 64rpx;
height: 8rpx;
border-radius: 4rpx;
background: var(--brand-strong);
}
.header-title {
.page-lead-text {
display: block;
margin-top: 22rpx;
color: var(--ink);
font-size: 48rpx;
font-size: var(--fs-32);
font-weight: 700;
letter-spacing: 1rpx;
line-height: 1.3;
}
.header-subtitle {
display: block;
margin-top: 12rpx;
color: var(--muted);
font-size: var(--fs-28);
line-height: 1.6;
line-height: 1.5;
}
.booking-form {
@@ -55,7 +51,7 @@ page {
/* 陪诊项目:展示沿用原项目卡片,点击卡片展开下拉列表 */
.service-picker-row {
padding: 24rpx 0;
border-bottom: 2rpx dotted var(--line-soft, #E9DECB);
border-bottom: 2rpx solid var(--line);
}
.service-picker {
@@ -231,7 +227,7 @@ page {
align-items: center;
justify-content: space-between;
padding: 24rpx 0;
border-bottom: 2rpx dotted var(--line-soft, #E9DECB);
border-bottom: 2rpx solid var(--line);
}
.order-row:last-child {
@@ -244,23 +240,15 @@ page {
justify-content: flex-start;
}
/* 字段标签:裸字 muted,与 itemdetail 弹窗、health/profileedit 同一口径。
沿革:浅橙药丸(定宽 190rpx 居中)→ 现在去底去内距。
改因:本页同行里「陪诊项目卡」「就诊人可选胶囊」都是浅橙底,
标签再用浅橙底就没有「哪个能点」的分界;标签是纯说明,不该长得像控件 */
.order-label {
flex-shrink: 0;
box-sizing: border-box;
/* 统一宽度:容纳 5 字标题(5×30 + 40 内边距),短标题居中补齐 */
min-width: 190rpx;
padding: 8rpx 20rpx;
color: var(--muted);
font-size: var(--fs-30);
letter-spacing: 1rpx;
text-align: center;
background: var(--brand-soft, #FFF4E8);
border-radius: 12rpx;
}
/* 竖排行标题不随 stretch 撑满整行,保持 tag 宽度 */
.order-row.column .order-label {
align-self: flex-start;
}
.order-input,