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:
+12
-16
@@ -16,22 +16,20 @@
|
||||
.page-bg {
|
||||
min-height: 100vh;
|
||||
background: var(--paper);
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
||||
/* 四档字号:语义令牌可以复用,但不增加新的字体尺寸 */
|
||||
--t-display: 64rpx;
|
||||
--t-h1: 40rpx;
|
||||
--t-h1: 44rpx; /* 页面主标题:全站统一 44rpx */
|
||||
--t-title: var(--fs-32);
|
||||
--t-body: var(--fs-28);
|
||||
--t-h2: var(--t-title);
|
||||
--t-h2: var(--fs-34); /* 区块标题:全站统一 34rpx */
|
||||
--t-caption: var(--t-body);
|
||||
--tracking-tight: -1rpx;
|
||||
--tracking-title: 1rpx;
|
||||
--tracking-label: 2rpx;
|
||||
}
|
||||
|
||||
.container { padding: 28rpx 28rpx calc(48rpx + env(safe-area-inset-bottom)); }
|
||||
.container { padding: 28rpx 32rpx calc(48rpx + env(safe-area-inset-bottom)); }
|
||||
|
||||
/* ===== 页首 ===== */
|
||||
.page-header { padding: 20rpx 4rpx 4rpx; }
|
||||
@@ -57,7 +55,7 @@
|
||||
box-shadow: var(--shadow-card);
|
||||
}
|
||||
.intro-card {
|
||||
margin-top: 28rpx; padding: 32rpx 16rpx; border-radius: 24rpx;
|
||||
margin-top: 28rpx; padding: 32rpx 16rpx; border-radius: 28rpx;
|
||||
background: var(--brand-soft); border-color: var(--brand-line);
|
||||
}
|
||||
|
||||
@@ -96,24 +94,18 @@
|
||||
}
|
||||
|
||||
/* ===== 区块标题 =====
|
||||
竖条高 = 标题字号(32rpx),与首页 / itemlist 同一支记号;
|
||||
右侧英文小标只做节奏与秩序感,宽字距 + muted,不与中文标题争层级 */
|
||||
竖条高 = 标题字号(34rpx),与首页 / 清单页 / 记录详情同一支记号 */
|
||||
.section { margin-top: 36rpx; }
|
||||
.section-head { display: flex; align-items: baseline; margin-bottom: 16rpx; padding: 0 4rpx; }
|
||||
.section-bar { width: 8rpx; height: 32rpx; border-radius: 4rpx; background: var(--brand-strong); flex-shrink: 0; align-self: center; }
|
||||
.section-bar { width: 8rpx; height: 34rpx; border-radius: 4rpx; background: var(--brand-strong); flex-shrink: 0; align-self: center; }
|
||||
.section-title {
|
||||
margin-left: 16rpx;
|
||||
font-size: var(--t-h2); font-weight: 700; line-height: 1.4;
|
||||
letter-spacing: var(--tracking-title); color: var(--ink);
|
||||
}
|
||||
.section-en {
|
||||
margin-left: 14rpx;
|
||||
font-size: var(--t-caption); font-weight: 700; line-height: 1.4;
|
||||
letter-spacing: var(--tracking-label); color: var(--muted);
|
||||
}
|
||||
|
||||
/* ===== 白卡 ===== */
|
||||
.list-card { padding: 4rpx 24rpx; border-radius: 24rpx; }
|
||||
.list-card { padding: 4rpx 24rpx; border-radius: 28rpx; }
|
||||
|
||||
/* ===== 培训与考试:规格表 =====
|
||||
左标签 muted 小字、右取值 ink 粗体,一行一条,横向扫读最快 */
|
||||
@@ -134,7 +126,11 @@
|
||||
.spec-row-link { transition: background-color 0.15s ease; }
|
||||
.spec-row-link:active { background: var(--brand-soft); }
|
||||
.spec-link { color: var(--brand-ink); }
|
||||
.spec-link::after { content: ' ↗'; font-size: var(--t-caption); }
|
||||
|
||||
/* 证书查询是可复制的动作行:动作词走 muted 小字(与 contact 页「拨打 / 复制」同一口径),
|
||||
不再用字符箭头 ↗ 粘在网址后面 */
|
||||
.spec-link-wrap { display: flex; align-items: baseline; justify-content: flex-end; gap: 12rpx; }
|
||||
.spec-action { font-size: var(--t-caption); font-weight: 400; color: var(--muted); }
|
||||
|
||||
/* 卡片尾部说明:--muted 注释字号,比正文轻一档,是"以…为准"的免责声明 */
|
||||
.card-note {
|
||||
|
||||
Reference in New Issue
Block a user