Files
wxapp_escort/pages/mine/about.wxss
T
lik 17a64f10bc style(ui): 统一页首/字号/圆角档位并收口状态色令牌
- 页首:itemorder / guide / contact / attendants 删除与导航栏重复的大标题,统一为「短横 + 一句导语」
- 字号:页面主标题 44、区块标题 34、卡内标题 32;卡片圆角 28;容器内距 32(DESIGN.md 新增 §九)
- 状态色:utils/order.js 只产出语气档,两页胶囊改 .chip-tone-* 读 --status-* 令牌,删除内联 style 与 JS 色值
- 下单:字段标签去浅橙药丸改裸字,医院选择组件同步;搜索/手填输入框去掉旧绿底
- 文案:清除英文大写小标、粘字箭头与中点串,统一细竖线/留白分隔
- 修复:预约记录空值整行剔除、陪诊师卡片与重试态补按下反馈、三处无限动画补减动效回退
- aichat:消息时间改为距上条满 5 分钟才显示
2026-11-13 17:10:55 +08:00

156 lines
4.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* pages/mine/about.wxss
配色全部走 app.wxss 的暖橙令牌(DESIGN.md §二)。
原灰金 #D4A853 / 亮橙 #FF8500 / 冷灰底 #F5F5F5 / 两处渐变 / 6×28rpx 的渐变竖条,
已按 §5.1 与 §四(禁渐变、禁灰金亮橙)收口 */
page {
background-color: var(--paper);
}
.container {
min-height: 100vh;
padding-bottom: 48rpx;
}
/* 品牌信息区:不铺卡面、直接落在纸面上(同首页 hero),去掉原白→暖白渐变。
纸面本身已是暖白,再叠一层自近白到近白只是噪音,且渐变属硬约束禁止项 */
.brand-section {
display: flex;
flex-direction: column;
align-items: center;
padding: 64rpx 32rpx 48rpx;
}
/* 品牌印记:全页唯一实心块。白色线稿(home-w.png)需要深底才看得见,
故衬底走 --brand-strong 而非 --brand-soft;阴影用 --shadow-cta 这一档
暖橙阴影(DESIGN.md §2.3:只给实心 CTA、品牌印记这类小体量元素) */
.logo-wrap {
width: 160rpx;
height: 160rpx;
background: var(--brand-strong);
border-radius: 36rpx;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-cta);
}
.logo {
width: 100rpx;
height: 100rpx;
}
.app-name {
font-size: 44rpx;
font-weight: 700;
color: var(--ink);
margin-top: 24rpx;
}
.app-slogan {
font-size: var(--fs-28);
font-weight: 500;
color: var(--brand-ink);
margin-top: 12rpx;
}
/* 简介区:白卡走「2rpx --line 发丝边 + 中性阴影 + 28rpx 圆角」(DESIGN.md §2.3) */
.intro-section {
margin: 24rpx 32rpx 0;
background: var(--white);
border: 2rpx solid var(--line);
border-radius: 28rpx;
padding: 32rpx;
box-shadow: var(--shadow-card);
}
/* 区块标题:单竖条与全站同一套(8rpx 宽 × 34rpx 高、圆角 4rpx、--brand-strong)。
原 6×28rpx 走的是灰金→亮橙渐变,换成实色主色。
字重 600 改 700:中文系统字体通常只有 400/700 两档,600 在真机会随机落回一档 */
.section-title {
font-size: var(--fs-32);
font-weight: 700;
color: var(--ink);
margin-bottom: 20rpx;
position: relative;
padding-left: 20rpx;
}
.section-title::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 8rpx;
height: 34rpx;
background: var(--brand-strong);
border-radius: 4rpx;
}
.intro-text {
font-size: var(--fs-28);
color: var(--ink-2);
line-height: 1.8;
text-align: justify;
}
/* 联系方式:页面尾部的浅橙收口卡,与首页 .quick-item-full、陪诊服务列表页页脚同源。
浅橙块靠 2rpx --brand-line 描边托形,不加阴影(DESIGN.md §2.3)。
卡里不再平铺四项——那四项与「联系我们」页完全重合,这里只留一个入口,
否则同一意图出现两个入口;行内也不再有点击,整块点击行为交给整卡 */
.contact-section {
margin: 24rpx 32rpx 0;
background: var(--brand-soft);
border: 2rpx solid var(--brand-line);
border-radius: 28rpx;
padding: 32rpx;
display: flex;
align-items: center;
}
.contact-section-hover {
background: var(--brand-line);
}
.contact-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.contact-name {
font-size: var(--fs-32);
font-weight: 700;
color: var(--ink);
}
/* chevron 一律 muted,不抢暖橙焦点。
t-icon 的 color「属性」读不到 CSS 变量,但 CSS 的 color 可以——
这里走令牌,与 mine 页 .menu-icon 同法 */
.contact-arrow {
color: var(--muted);
margin-left: 16rpx;
flex-shrink: 0;
}
/* 底部版权:元信息一律 --muted,它是全站文字对比度底线,不得再浅(§2.2);
.icp 原 22rpx 低于中文最小字号 24rpx,按硬约束 1 提到 24rpx */
.footer-section {
margin-top: 48rpx;
display: flex;
flex-direction: column;
align-items: center;
gap: 8rpx;
}
.copyright {
font-size: var(--fs-24);
color: var(--muted);
}
.icp {
font-size: var(--fs-24);
color: var(--muted);
}