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
+49 -18
View File
@@ -11,40 +11,34 @@ page {
padding: 0 32rpx calc(48rpx + env(safe-area-inset-bottom));
}
.page-header {
/* 页首:页面级短横 + 一句导语(大标题已删,导航栏已有页名)。
与 itemlist / guide / contact / itemorder 共用同一套页首语言 */
.page-lead {
padding: 32rpx 0 8rpx;
}
.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;
}
.state-card {
margin-top: 40rpx;
padding: 80rpx 32rpx;
border: 2rpx solid var(--line);
border-radius: 24rpx;
border-radius: 28rpx;
background: var(--white);
box-shadow: var(--shadow-card);
color: var(--muted);
@@ -52,6 +46,10 @@ page {
text-align: center;
}
.state-card-hover {
opacity: 0.7;
}
.attendant-list {
margin-top: 28rpx;
}
@@ -60,9 +58,15 @@ page {
margin-bottom: 20rpx;
padding: 26rpx 28rpx 22rpx;
border: 2rpx solid var(--line);
border-radius: 24rpx;
border-radius: 28rpx;
background: var(--white);
box-shadow: var(--shadow-card);
transition: opacity 0.15s ease;
}
/* 整卡可点进详情:补按下反馈,与 recordlist / profilelist 的整卡手法一致(整体淡出) */
.attendant-card:active {
opacity: 0.7;
}
.card-main {
@@ -115,14 +119,24 @@ page {
font-weight: 600;
}
/* 元信息行:三项用细竖线分隔(全站分隔语言),不再拼中点字符 */
.attendant-meta {
display: block;
display: flex;
align-items: center;
margin-top: 8rpx;
color: var(--muted);
font-size: var(--fs-26);
line-height: 1.5;
}
.meta-sep {
width: 2rpx;
height: 18rpx;
margin: 0 12rpx;
background: var(--sep);
flex-shrink: 0;
}
.tag-row {
display: flex;
flex-wrap: wrap;
@@ -146,7 +160,7 @@ page {
gap: 16rpx;
margin-top: 20rpx;
padding-top: 18rpx;
border-top: 2rpx dashed var(--line-soft, #E9DECB);
border-top: 2rpx solid var(--line);
}
.badges {
@@ -176,8 +190,21 @@ page {
font-weight: 600;
}
.select-btn:active {
opacity: 0.7;
}
.detail-link {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 4rpx;
color: var(--brand-ink);
font-size: var(--fs-26);
font-weight: 600;
}
.detail-link-text {
color: var(--brand-ink);
font-size: var(--fs-26);
font-weight: 600;
@@ -194,10 +221,14 @@ page {
margin-top: 28rpx;
padding: 26rpx 0;
border: 2rpx solid var(--line);
border-radius: 24rpx;
border-radius: 28rpx;
background: var(--white);
color: var(--ink-2);
font-size: var(--fs-28);
font-weight: 600;
text-align: center;
}
.skip-entry:active {
opacity: 0.7;
}