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:
@@ -65,14 +65,12 @@
|
||||
数据按预约时间正序取最近三条;无未完成预约时整块不渲染,新用户首屏不受影响 -->
|
||||
<view class="pending-card" wx:for="{{ pendingRecords }}" wx:key="id" data-id="{{ item.id }}" bindtap="goToRecordDetail">
|
||||
<!-- 一条预约压成一行:日期 · 就诊人 · 医院 · 服务项目。
|
||||
四项之间用留白切分,不再插中点字符(全站分隔语言统一为留白 / 细竖线);
|
||||
行内不换行,医院名过长时只省略医院,日期、就诊人和项目始终可见 -->
|
||||
<view class="pending-line">
|
||||
<text class="pending-when">{{ item.whenText }}</text>
|
||||
<text class="pending-dot">·</text>
|
||||
<text class="pending-patient">{{ item.patientName }}</text>
|
||||
<text class="pending-dot">·</text>
|
||||
<text class="pending-hospital">{{ item.hospitalName }}</text>
|
||||
<text class="pending-dot">·</text>
|
||||
<text class="pending-service">{{ item.serviceName }}</text>
|
||||
</view>
|
||||
<view class="pending-arrow">
|
||||
@@ -138,7 +136,7 @@
|
||||
<view class="footer-sep"></view>
|
||||
<text class="footer-link" data-section="sec-train" bindtap="goToBusiness">陪诊师考证</text>
|
||||
</view>
|
||||
<text class="footer-note">WARM ESCORT · 用心陪好每一步</text>
|
||||
<text class="footer-note">用心陪好每一步</text>
|
||||
</view>
|
||||
|
||||
<!-- 底部留白 -->
|
||||
|
||||
+6
-11
@@ -9,11 +9,11 @@
|
||||
|
||||
page {
|
||||
/* 配色令牌已上移到 app.wxss(全站唯一来源,改配色只改那一处),本页不再留副本。
|
||||
这里只剩本页专属的一样:「未完成预约」逐条卡的状态色——全页唯一的冷色面。
|
||||
这里只把「未完成预约」的状态色指向 §三 的待确认档——全页唯一的冷色面。
|
||||
语义由 DESIGN.md §3 管(只给「等你去处理」),且已登记为整卡底色的例外;
|
||||
其余卡片仍走中性填充 */
|
||||
--status-soft: #ECF7F4;
|
||||
--status-line: #C7E5DF;
|
||||
--status-soft: var(--status-wait-bg);
|
||||
--status-line: var(--status-wait-line);
|
||||
}
|
||||
|
||||
.page-bg {
|
||||
@@ -323,6 +323,7 @@ page {
|
||||
color: var(--ink);
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
|
||||
.pending-patient {
|
||||
@@ -331,14 +332,7 @@ page {
|
||||
color: var(--ink);
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pending-dot {
|
||||
margin: 0 8rpx;
|
||||
/* 24rpx:跟随全站最小字号档(硬约束 1),不再单列 22rpx 的小一号特例 */
|
||||
font-size: var(--fs-24);
|
||||
color: var(--muted);
|
||||
flex-shrink: 0;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
|
||||
/* 医院名按内容宽度排,只有整行放不下时才收缩并省略;
|
||||
@@ -347,6 +341,7 @@ page {
|
||||
.pending-hospital {
|
||||
flex: 0 1 auto;
|
||||
min-width: 0;
|
||||
margin-left: 16rpx;
|
||||
font-size: var(--fs-26);
|
||||
color: var(--ink-2);
|
||||
white-space: nowrap;
|
||||
|
||||
Reference in New Issue
Block a user