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:
@@ -24,8 +24,8 @@ const PAYMENT_METHOD_MAP = {
|
||||
|
||||
const WEEKDAYS = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
|
||||
|
||||
// 取消后的未支付订单不再有待办,胶囊用中性灰,避免仍像在催付
|
||||
const INACTIVE_PAYMENT_STYLE = { color: '#6F655C', bg: 'transparent', border: '#E5DACC' }
|
||||
// 取消后的未支付订单不再有待办,胶囊退回中性语气档(颜色见 app.wxss 的 .chip-tone-*)
|
||||
const INACTIVE_PAYMENT_STYLE = { tone: 'neutral' }
|
||||
|
||||
Page({
|
||||
data: {
|
||||
@@ -300,9 +300,7 @@ Page({
|
||||
showPaidFee: Number(item.payment?.paidFee) > 0,
|
||||
paymentStatus,
|
||||
paymentStatusText,
|
||||
paymentStatusColor: paymentStyle.color,
|
||||
paymentStatusBg: paymentStyle.bg,
|
||||
paymentStatusBorder: paymentStyle.border,
|
||||
paymentStatusTone: paymentStyle.tone,
|
||||
cancelFlowTip,
|
||||
refundNote,
|
||||
paymentMethodText: PAYMENT_METHOD_MAP[item.payment?.method] || '',
|
||||
@@ -318,9 +316,7 @@ Page({
|
||||
medicalSummary: item.notes?.medicalSummary || '',
|
||||
status: displayStatus,
|
||||
statusText: statusInfo.text,
|
||||
statusColor: statusInfo.color,
|
||||
statusBg: statusInfo.bg,
|
||||
statusBorder: statusInfo.border,
|
||||
statusTone: statusInfo.tone,
|
||||
statusDesc: statusInfo.desc,
|
||||
canCancel,
|
||||
canRebook,
|
||||
|
||||
Reference in New Issue
Block a user