- AI 聊天用工具/子代理/推理帧推断等待阶段,提示已完成步数,子代理输出不再并入主回答 - 下单弹层去掉 01-04 编号分组标题 - 同步首页设计规范与 UI 测试断言,补充首页品牌图
1070 lines
21 KiB
Plaintext
1070 lines
21 KiB
Plaintext
@import "../../styles/service-icons.wxss";
|
|
|
|
/* pages/escort/itemdetail.wxss
|
|
设计方向:本页是"服务说明书",不是电商详情页。
|
|
- 去掉了顶部 420rpx 大图:占位图在 8 条服务间复用,既无法区分服务,又抢走首屏
|
|
- 结构重音只给一处:服务流程的时间轴橙色导轨(真序列,编号在此合法)
|
|
- 配色锁定首页/清单页的暖白纸面 + 单一暖橙;实心橙只给两个提交按钮
|
|
- 形状锁定:面板/卡片 28rpx、字段 12rpx、标签 10rpx、胶囊按钮 999rpx */
|
|
page {
|
|
/* 全局配色与阴影令牌来自 app.wxss,本页只保留固定栏专用阴影。 */
|
|
--shadow-bar: 0 -2rpx 8rpx rgba(63, 43, 25, 0.07);
|
|
|
|
background-color: var(--paper);
|
|
}
|
|
|
|
.page-bg {
|
|
min-height: 100vh;
|
|
background: var(--paper);
|
|
}
|
|
|
|
.container {
|
|
padding: 0 32rpx calc(40rpx + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
/* 整页加载与失败状态:避免服务未就绪时闪现空内容 */
|
|
.page-state {
|
|
min-height: 70vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48rpx 32rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.page-state-text {
|
|
font-size: var(--fs-28);
|
|
color: var(--muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.page-retry {
|
|
margin: 28rpx 0 0;
|
|
padding: 12rpx 36rpx;
|
|
border: 2rpx solid var(--brand-strong);
|
|
border-radius: 999rpx;
|
|
background: transparent;
|
|
color: var(--brand-strong);
|
|
font-size: var(--fs-28);
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.page-retry::after {
|
|
border: none;
|
|
}
|
|
|
|
/* ===== 下单表单分组:用发丝线分隔,不叠白卡 =====
|
|
去掉了 01–04 编号标题,分组间距改为仅由发丝线上下各 8rpx 贡献:
|
|
行内相邻字段间距 48rpx,跨分组 64rpx,靠 16rpx 差形成层级,不再靠大段留白 */
|
|
.form-section {
|
|
padding: 8rpx 0;
|
|
}
|
|
|
|
.form-section:first-child {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.form-section + .form-section {
|
|
border-top: 2rpx solid var(--line);
|
|
}
|
|
|
|
/* ===== 头部:短横色标 + 深墨标题 ===== */
|
|
.page-header {
|
|
padding: 32rpx 0 0;
|
|
}
|
|
|
|
|
|
.title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
row-gap: 10rpx;
|
|
column-gap: 16rpx;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.header-title {
|
|
font-size: 44rpx;
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
letter-spacing: 1rpx;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* 标签:浅橙衬底 + 暖陶土字,与首页/清单页同一口径 */
|
|
.header-tag {
|
|
flex-shrink: 0;
|
|
padding: 6rpx 18rpx;
|
|
border-radius: 10rpx;
|
|
background: var(--brand-soft);
|
|
border: 2rpx solid var(--brand-line);
|
|
color: var(--brand-ink);
|
|
font-size: var(--fs-28);
|
|
font-weight: 600;
|
|
letter-spacing: 1rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header-subtitle {
|
|
display: block;
|
|
margin-top: 12rpx;
|
|
font-size: var(--fs-28);
|
|
color: var(--muted);
|
|
letter-spacing: 1rpx;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ===== 内容页签:纯文字 + 底边,不用圆角胶囊、不加背景块与过渡 =====
|
|
选中态只用 --brand-ink 文字 + 一条 --brand-strong 底边,比实心橙轻,不与提交按钮抢重音 */
|
|
.tab-bar {
|
|
display: flex;
|
|
margin-top: 32rpx;
|
|
border-bottom: 2rpx solid var(--line);
|
|
}
|
|
|
|
.tab-item {
|
|
flex: 1;
|
|
padding: 18rpx 0;
|
|
/* 下沉 2rpx 压住轨道底边,未选中项留同宽透明底边,切换时高度不跳 */
|
|
margin-bottom: -2rpx;
|
|
border-bottom: 4rpx solid transparent;
|
|
text-align: center;
|
|
font-size: var(--fs-30);
|
|
color: var(--muted);
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
.tab-item.active {
|
|
color: var(--brand-ink);
|
|
font-weight: 600;
|
|
border-bottom-color: var(--brand-strong);
|
|
}
|
|
|
|
/* ===== 通用区块:靠发丝线切分,不靠白卡浮起来 ===== */
|
|
.section {
|
|
margin-top: 44rpx;
|
|
padding-top: 30rpx;
|
|
border-top: 2rpx solid var(--line);
|
|
}
|
|
|
|
/* 页签内的首个区块:页签下边线已切分,不再叠一条分隔线 */
|
|
.section.section-first {
|
|
margin-top: 32rpx;
|
|
padding-top: 0;
|
|
border-top: none;
|
|
}
|
|
|
|
.section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
/* 区块标识:单竖条,与首页/清单页同规格 */
|
|
|
|
.section-title {
|
|
margin-left: 0;
|
|
font-size: var(--fs-34);
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
/* ===== 服务详情 ===== */
|
|
.detail-text {
|
|
display: block;
|
|
font-size: var(--fs-28);
|
|
color: var(--ink-2);
|
|
line-height: 1.85;
|
|
letter-spacing: 0.5rpx;
|
|
}
|
|
|
|
/* ===== 服务流程:时间轴(本页唯一的结构性重音) ===== */
|
|
.step-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.step {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
/* 导轨需要撑满整步高度,连接线才能真的连到下一步 */
|
|
.step-rail {
|
|
align-self: stretch;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 44rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-dot {
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
box-sizing: border-box;
|
|
border-radius: 50%;
|
|
background: var(--brand-soft);
|
|
border: 2rpx solid var(--brand-line);
|
|
color: var(--brand-ink);
|
|
font-size: var(--fs-28);
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 连接线:橙色导轨,用半透明暖橙而非实心,避免与圆点抢重音 */
|
|
.step-line {
|
|
flex: 1;
|
|
width: 2rpx;
|
|
min-height: 16rpx;
|
|
margin: 8rpx 0;
|
|
background: rgba(184, 82, 10, 0.28);
|
|
}
|
|
|
|
.step-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-left: 20rpx;
|
|
padding-bottom: 30rpx;
|
|
}
|
|
|
|
.step:last-child .step-body {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.step-title {
|
|
display: block;
|
|
font-size: var(--fs-30);
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.step-desc {
|
|
display: block;
|
|
margin-top: 8rpx;
|
|
font-size: var(--fs-30);
|
|
color: var(--muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ===== 注意事项:与指南页同一套圆点语言 ===== */
|
|
.dot-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18rpx;
|
|
}
|
|
|
|
.dot-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.dot {
|
|
width: 10rpx;
|
|
height: 10rpx;
|
|
border-radius: 50%;
|
|
background: var(--brand-strong);
|
|
margin-top: 14rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dot-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-left: 16rpx;
|
|
font-size: var(--fs-28);
|
|
color: var(--ink-2);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
/* ===== 底部占位 + 下单栏 ===== */
|
|
.bottom-placeholder {
|
|
height: 150rpx;
|
|
}
|
|
|
|
.bottom-bar {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20rpx 32rpx;
|
|
padding-bottom: calc(20rpx + constant(safe-area-inset-bottom));
|
|
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
|
background: var(--white);
|
|
border-top: 2rpx solid var(--line);
|
|
box-shadow: var(--shadow-bar);
|
|
z-index: 100;
|
|
}
|
|
|
|
.price-info {
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.total-label {
|
|
margin-right: 8rpx;
|
|
font-size: var(--fs-30);
|
|
color: var(--muted);
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
.price-sym {
|
|
font-size: var(--fs-28);
|
|
font-weight: 700;
|
|
color: var(--brand-strong);
|
|
}
|
|
|
|
.total-price {
|
|
margin-left: 2rpx;
|
|
font-size: 44rpx;
|
|
font-weight: 700;
|
|
color: var(--brand-strong);
|
|
}
|
|
|
|
/* 主操作:实心暖橙胶囊,与首页/清单页 CTA 同形。
|
|
内边距把高度撑到约 86rpx(43pt),贴近 iOS 44pt 触控目标 */
|
|
.order-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
margin: 0;
|
|
padding: 22rpx 52rpx;
|
|
border: none;
|
|
border-radius: 999rpx;
|
|
background: var(--brand-strong);
|
|
box-shadow: var(--shadow-cta);
|
|
color: var(--white);
|
|
font-size: var(--fs-30);
|
|
font-weight: 600;
|
|
letter-spacing: 2rpx;
|
|
line-height: 1.4;
|
|
transition: transform 0.15s ease;
|
|
}
|
|
|
|
.order-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.order-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* ===== 下单弹窗 ===== */
|
|
/* 遮罩用暖近黑而非纯黑,避免和暖色纸面打架 */
|
|
.popup-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(43, 37, 33, 0.45);
|
|
z-index: 200;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.3s, visibility 0.3s;
|
|
}
|
|
|
|
.popup-mask.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.popup-content {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 85vh;
|
|
background: var(--white);
|
|
border-radius: 32rpx 32rpx 0 0;
|
|
z-index: 201;
|
|
transform: translateY(100%);
|
|
transition: transform 0.3s ease-out;
|
|
}
|
|
|
|
.popup-content.show {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.popup-header {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 30rpx 32rpx;
|
|
border-bottom: 2rpx solid var(--line);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.popup-title {
|
|
font-size: var(--fs-32);
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
/* 用 padding 撑热区到约 64rpx,再用更小的 right 抵消,图标视觉位置不变 */
|
|
.popup-close {
|
|
position: absolute;
|
|
right: 20rpx;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12rpx;
|
|
}
|
|
|
|
.popup-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
max-height: 60vh;
|
|
width: auto;
|
|
padding: 28rpx 32rpx;
|
|
}
|
|
|
|
/* 服务信息:与「立即预约」页同一口径,裸排不加衬底,避免和浅橙可选控件混淆 */
|
|
.order-service-info {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8rpx 0;
|
|
}
|
|
|
|
.order-service-mark {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
}
|
|
|
|
/* 项目图标与首页宫格同一套图形(styles/service-icons.wxss),这里只改尺寸 */
|
|
.order-service-mark .assist-icon {
|
|
width: 56rpx;
|
|
height: 56rpx;
|
|
}
|
|
|
|
/* 名称与价格上下分层,长服务名也能完整显示。 */
|
|
.order-service-text {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8rpx;
|
|
margin: 0 16rpx;
|
|
}
|
|
|
|
.order-service-title {
|
|
flex: 1;
|
|
min-width: 0;
|
|
color: var(--ink);
|
|
font-size: var(--fs-32);
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.order-service-price {
|
|
flex-shrink: 0;
|
|
color: var(--brand-ink);
|
|
font-size: var(--fs-28);
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* ===== 表单行 ===== */
|
|
/* 上下各 24rpx 内边距,行高约 87rpx,贴近 iOS 44pt 触控目标 */
|
|
.order-row {
|
|
box-sizing: border-box;
|
|
min-height: 100rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24rpx 0;
|
|
border-bottom: 2rpx solid var(--line);
|
|
}
|
|
|
|
.order-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.order-row.column {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.order-label {
|
|
line-height: 1.6;
|
|
flex-shrink: 0;
|
|
font-size: var(--fs-30);
|
|
color: var(--muted);
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
.order-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-left: 24rpx;
|
|
text-align: right;
|
|
font-size: var(--fs-30);
|
|
font-weight: 500;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.input-placeholder {
|
|
color: var(--muted);
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* 只读值(就诊人姓名/电话):与 .order-input 同形,仅去掉输入框语义 */
|
|
.order-value {
|
|
line-height: 1.6;
|
|
word-break: break-all;
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-left: 24rpx;
|
|
text-align: right;
|
|
font-size: var(--fs-30);
|
|
font-weight: 500;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.order-value.placeholder {
|
|
color: var(--muted);
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* picker 需要占满剩余宽度,值才能靠右对齐 */
|
|
.order-picker {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-left: 24rpx;
|
|
padding: 0;
|
|
}
|
|
|
|
.picker-value {
|
|
display: block;
|
|
color: var(--ink);
|
|
font-size: var(--fs-30);
|
|
font-weight: 500;
|
|
text-align: right;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.picker-value.placeholder {
|
|
color: var(--muted);
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* picker 取值 + 下拉箭头:右对齐成一列,与医院选择行的箭头对齐 */
|
|
.picker-value-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.picker-chevron {
|
|
flex-shrink: 0;
|
|
width: 16rpx;
|
|
height: 16rpx;
|
|
border-right: 2rpx solid var(--muted, #6F655C);
|
|
border-bottom: 2rpx solid var(--muted, #6F655C);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
/* 备注文本域:字段用暖白纸面填充 + 发丝边,与白底弹窗拉开一层 */
|
|
.order-textarea {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: 136rpx;
|
|
margin-top: 16rpx;
|
|
padding: 20rpx;
|
|
border: 2rpx solid var(--line);
|
|
border-radius: 16rpx;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
font-size: var(--fs-30);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.textarea-count {
|
|
align-self: flex-end;
|
|
margin-top: 10rpx;
|
|
color: var(--muted);
|
|
font-size: var(--fs-26);
|
|
}
|
|
|
|
.address-tip {
|
|
align-self: flex-start;
|
|
margin-top: 10rpx;
|
|
color: var(--muted);
|
|
font-size: var(--fs-26);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ===== 就诊人选择 ===== */
|
|
.patient-scroll {
|
|
width: 100%;
|
|
margin-top: 16rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.patient-chips {
|
|
display: inline-flex;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.patient-chip {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
gap: 10rpx;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
/* 140rpx:只显示姓名,胶囊按名字长度收紧,不再为手机号预留宽度 */
|
|
min-width: 140rpx;
|
|
min-height: 88rpx;
|
|
padding: 16rpx 24rpx;
|
|
border: 2rpx solid var(--line);
|
|
border-radius: 16rpx;
|
|
background: var(--paper);
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
.patient-chip:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* 选中态:浅橙衬底 + 实心橙描边(--brand-line 在浅橙底上只有 1.16:1,看不见) */
|
|
.patient-chip.active {
|
|
background: var(--brand-soft);
|
|
border-color: var(--brand-strong);
|
|
}
|
|
|
|
.patient-chip-name {
|
|
font-size: var(--fs-28);
|
|
font-weight: 500;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.patient-chip.active .patient-chip-name {
|
|
color: var(--brand-ink);
|
|
}
|
|
|
|
.patient-chip-add {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4rpx;
|
|
/* 虚线描边 + 白底:与「已选就诊人」的实心浅橙底区分开,
|
|
一眼看出这是动作入口而不是某个就诊人 */
|
|
background: var(--white);
|
|
border: 2rpx dashed var(--brand-line);
|
|
}
|
|
|
|
.patient-chip-add .patient-chip-name {
|
|
color: var(--brand-ink);
|
|
}
|
|
|
|
/* 空态:整块可点,热区约 92rpx */
|
|
.add-profile-tip {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin-top: 16rpx;
|
|
padding: 22rpx 24rpx;
|
|
border-radius: 16rpx;
|
|
background: var(--brand-soft);
|
|
border: 2rpx solid var(--brand-line);
|
|
box-sizing: border-box;
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
.add-profile-tip:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.add-profile-tip-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-right: 8rpx;
|
|
color: var(--brand-ink);
|
|
font-size: var(--fs-26);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ===== 弹窗底部 ===== */
|
|
.popup-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20rpx 32rpx;
|
|
padding-bottom: calc(20rpx + constant(safe-area-inset-bottom));
|
|
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
|
border-top: 2rpx solid var(--line);
|
|
background: var(--white);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.popup-price {
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.popup-price-label {
|
|
display: block;
|
|
margin-bottom: 4rpx;
|
|
font-size: var(--fs-26);
|
|
color: var(--muted);
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
.popup-price-value {
|
|
margin-left: 2rpx;
|
|
font-size: 44rpx;
|
|
font-weight: 700;
|
|
color: var(--brand-strong);
|
|
}
|
|
|
|
.popup-submit-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
margin: 0;
|
|
min-height: 100rpx;
|
|
padding: 24rpx 48rpx;
|
|
border: none;
|
|
border-radius: 16rpx;
|
|
background: var(--brand-strong);
|
|
color: var(--white);
|
|
font-size: var(--fs-30);
|
|
font-weight: 600;
|
|
letter-spacing: 2rpx;
|
|
line-height: 1.4;
|
|
transition: transform 0.15s ease;
|
|
}
|
|
|
|
.booking-popup .popup-footer { gap: 24rpx; }
|
|
.popup-summary { min-width: 0; }
|
|
.patient-chip-copy { display: flex; flex-direction: column; }
|
|
.patient-chip-note { display: block; font-size: var(--fs-24); color: var(--muted); line-height: 1.5; }
|
|
/* 弹窗表单区铺纸面,与页面同一层底色 */
|
|
.booking-popup .popup-body { padding-top: 24rpx; background: var(--paper); }
|
|
.service-fee-note { display: block; padding: 0 0 16rpx; color: var(--muted); font-size: var(--fs-26); line-height: 1.7; }
|
|
|
|
.popup-submit-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.popup-submit-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* ===== 支付方式选择 ===== */
|
|
/* 两张可选卡片,选中态沿用品牌橙 */
|
|
.pay-channel-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16rpx;
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
.pay-channel-option {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20rpx 24rpx;
|
|
border: 2rpx solid var(--line);
|
|
border-radius: 18rpx;
|
|
background: var(--paper);
|
|
}
|
|
|
|
.pay-channel-option.active {
|
|
border-color: var(--brand-line);
|
|
background: var(--brand-soft);
|
|
}
|
|
|
|
.pay-channel-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
}
|
|
|
|
.pay-channel-title {
|
|
color: var(--ink);
|
|
font-size: var(--fs-30);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pay-channel-desc {
|
|
color: var(--muted);
|
|
font-size: var(--fs-28);
|
|
}
|
|
|
|
.pay-channel-radio {
|
|
flex-shrink: 0;
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
border: 2rpx solid var(--line);
|
|
border-radius: 50%;
|
|
background: var(--white);
|
|
}
|
|
|
|
.pay-channel-radio.checked {
|
|
border-color: var(--brand-strong);
|
|
background: var(--brand-strong);
|
|
}
|
|
|
|
.pay-popup-tip {
|
|
display: block;
|
|
margin-top: 20rpx;
|
|
color: var(--muted);
|
|
font-size: var(--fs-28);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* 支付弹窗底部只放两个等宽按钮,覆盖下单弹窗的「左价格右按钮」布局 */
|
|
.pay-actions {
|
|
justify-content: flex-end;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.popup-btn {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 22rpx 0;
|
|
border-radius: 999rpx;
|
|
font-size: var(--fs-30);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.popup-btn:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.popup-btn-ghost {
|
|
border: 3rpx solid var(--sep);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.popup-btn-primary {
|
|
background: var(--brand-strong);
|
|
color: var(--white);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ===== 免责协议确认(下单前置勾选) ===== */
|
|
.agreement-block {
|
|
padding: 24rpx 4rpx 0;
|
|
}
|
|
|
|
.agreement-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16rpx;
|
|
min-height: 88rpx;
|
|
box-sizing: border-box;
|
|
padding: 16rpx 0;
|
|
}
|
|
|
|
.agreement-check {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
box-sizing: border-box;
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
margin-top: 2rpx;
|
|
border: 2rpx solid var(--muted);
|
|
border-radius: 10rpx;
|
|
background: var(--white);
|
|
transition: background 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.agreement-check.checked {
|
|
border-color: var(--brand-strong);
|
|
background: var(--brand-strong);
|
|
color: var(--white);
|
|
font-size: var(--fs-24);
|
|
line-height: 1;
|
|
}
|
|
|
|
/* 勾选标识:与预约页同一枚纯 CSS 对勾,不依赖字符渲染 */
|
|
.selection-check {
|
|
flex-shrink: 0;
|
|
box-sizing: border-box;
|
|
width: 20rpx;
|
|
height: 12rpx;
|
|
margin: -6rpx 2rpx 0;
|
|
border-bottom: 3rpx solid var(--brand-ink);
|
|
border-left: 3rpx solid var(--brand-ink);
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
.agreement-check .selection-check {
|
|
width: 18rpx;
|
|
height: 10rpx;
|
|
border-color: var(--white);
|
|
}
|
|
|
|
.agreement-consent {
|
|
flex: 1;
|
|
min-width: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.agreement-consent-text {
|
|
color: var(--muted);
|
|
font-size: var(--fs-26);
|
|
}
|
|
|
|
.agreement-link {
|
|
color: var(--brand-ink);
|
|
font-size: var(--fs-26);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.agreement-block.is-hint .agreement-consent-text {
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.agreement-hint {
|
|
display: block;
|
|
margin-top: 10rpx;
|
|
margin-left: 52rpx;
|
|
color: var(--brand-strong);
|
|
font-size: var(--fs-24);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ===== 免责协议弹层:正文区可滚动,底部固定同意按钮 ===== */
|
|
/* 协议从预约弹窗内唤起,层级要压过预约弹窗(200/201) */
|
|
.agreement-mask {
|
|
z-index: 300;
|
|
}
|
|
|
|
.agreement-popup {
|
|
z-index: 301;
|
|
height: 80vh;
|
|
max-height: 80vh;
|
|
}
|
|
|
|
.agreement-popup-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
box-sizing: border-box;
|
|
padding: 20rpx 32rpx 8rpx;
|
|
}
|
|
|
|
.agreement-popup-subtitle {
|
|
display: block;
|
|
margin-bottom: 24rpx;
|
|
padding: 16rpx 20rpx;
|
|
border-radius: 14rpx;
|
|
background: var(--brand-soft);
|
|
color: var(--brand-ink);
|
|
font-size: var(--fs-24);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.agreement-section {
|
|
margin-bottom: 28rpx;
|
|
}
|
|
|
|
.agreement-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 12rpx;
|
|
color: var(--ink);
|
|
font-size: var(--fs-28);
|
|
font-weight: 600;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.agreement-section-number {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
margin-right: 12rpx;
|
|
border: 2rpx solid var(--brand-line);
|
|
border-radius: 50%;
|
|
background: var(--brand-soft);
|
|
color: var(--brand-ink);
|
|
font-size: var(--fs-24);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.agreement-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.agreement-item-dot {
|
|
flex-shrink: 0;
|
|
width: 10rpx;
|
|
height: 10rpx;
|
|
margin: 14rpx 12rpx 0 0;
|
|
border-radius: 50%;
|
|
background: var(--brand-strong);
|
|
}
|
|
|
|
.agreement-item-text {
|
|
flex: 1;
|
|
color: var(--ink-2);
|
|
font-size: var(--fs-26);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.agreement-popup-footer {
|
|
margin-top: 8rpx;
|
|
padding: 16rpx 0 24rpx;
|
|
border-top: 2rpx dotted var(--sep);
|
|
}
|
|
|
|
.agreement-popup-footer-text {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: var(--fs-24);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.agreement-popup-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80rpx 0;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.popup-content,
|
|
.popup-mask,
|
|
.agreement-check {
|
|
transition: none;
|
|
}
|
|
} |