Files
wxapp_escort/pages/escort/guide.wxss
T
2026-10-06 17:58:18 +08:00

202 lines
3.8 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/escort/guide.wxss
内页规范:小色带 + 白底,不用整块主色面板;
卡片沿用首页「发丝边 + 紧阴影」,与首页保持同一套视觉语言。
本页原有的 page 级令牌副本(停在旧值 #C2410C / #9A3412)已按
DESIGN.md §5.1 删掉,改用 app.wxss 的唯一来源(#B8520A / #9B4508),
与首页、陪诊服务列表页同色 */
page {
background-color: var(--paper);
}
.page-bg {
min-height: 100vh;
background: var(--paper);
}
.container {
padding: 32rpx 32rpx 0;
}
/* ===== 头部:小色带 + 深墨标题 ===== */
.page-header {
padding: 24rpx 0 8rpx;
}
.header-accent {
width: 64rpx;
height: 8rpx;
border-radius: 4rpx;
background: var(--brand-strong);
}
.header-title {
display: block;
margin-top: 20rpx;
font-size: 46rpx;
font-weight: 700;
color: var(--ink);
letter-spacing: 1rpx;
}
.header-subtitle {
display: block;
margin-top: 12rpx;
font-size: 26rpx;
color: var(--muted);
letter-spacing: 1rpx;
}
/* ===== 通用白卡 ===== */
.card {
margin-top: 32rpx;
padding: 28rpx 26rpx;
border-radius: 28rpx;
background: var(--white);
border: 2rpx solid var(--line);
box-shadow: var(--shadow-card);
}
.card-head {
display: flex;
align-items: center;
margin-bottom: 20rpx;
}
/* 卡片头标识:浅橙衬底 + 2rpx 描边托形(同全站「浅橙衬底承载标识」),
不再用实心橙——全页实心块只留底部 CTA 一处(DESIGN.md §2.1) */
.card-mark {
width: 44rpx;
height: 44rpx;
border-radius: 12rpx;
background: var(--brand-soft);
border: 2rpx solid var(--brand-line);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.card-title {
margin-left: 14rpx;
font-size: 32rpx;
font-weight: 700;
color: var(--ink);
letter-spacing: 1rpx;
}
/* ===== 服务流程:左侧序号 + 递进条目 ===== */
.step-item {
display: flex;
padding: 18rpx 0;
}
.step-index {
width: 44rpx;
height: 44rpx;
border-radius: 50%;
background: var(--brand-soft);
color: var(--brand-ink);
font-size: 26rpx;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-right: 20rpx;
}
.step-body {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
}
/* 中文系统字体只有 400/700 两档,写 600 真机会随机落回 400 或 700 */
.step-title {
font-size: 30rpx;
font-weight: 700;
color: var(--ink);
}
.step-desc {
margin-top: 8rpx;
font-size: 26rpx;
color: var(--muted);
line-height: 1.6;
}
/* ===== 要点列表 ===== */
.dot-item {
display: flex;
padding: 12rpx 0;
}
.dot {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
background: var(--brand-strong);
margin: 16rpx 18rpx 0 4rpx;
flex-shrink: 0;
}
.dot-text {
flex: 1;
font-size: 28rpx;
color: var(--ink-2);
line-height: 1.7;
}
/* ===== 底部出口 ===== */
.guide-cta {
display: flex;
align-items: center;
justify-content: center;
margin-top: 48rpx;
padding: 26rpx;
border-radius: 999rpx;
background: var(--brand-strong);
/* 全站 CTA 阴影统一为小偏移小模糊的 --shadow-cta(原 0 6rpx 16rpx/22% 是旧色值的大阴影) */
box-shadow: var(--shadow-cta);
transition: transform 0.15s ease;
}
.guide-cta:active {
transform: scale(0.98);
}
.guide-cta-text {
font-size: 30rpx;
font-weight: 700;
color: var(--white);
letter-spacing: 2rpx;
margin-right: 6rpx;
}
.guide-help {
display: flex;
align-items: center;
justify-content: center;
margin-top: 24rpx;
padding: 22rpx;
border-radius: 20rpx;
background: var(--brand-soft);
border: 2rpx solid var(--brand-line);
}
.guide-help:active {
opacity: 0.75;
}
.guide-help-text {
margin-left: 12rpx;
font-size: 26rpx;
font-weight: 700;
color: var(--brand-ink);
}
.footer-space {
height: 60rpx;
}