1172 lines
26 KiB
Plaintext
1172 lines
26 KiB
Plaintext
/* pages/escort/recorddetail.wxss
|
||
设计方向:面向就诊人或家属的预约凭证,而非订单字段清单。
|
||
- 首屏用一张信息卡按「何时 → 给谁 → 去哪 → 什么服务 → 多少钱」的顺序作答,
|
||
时间是唯一会过期的强约束信息,放在卡内首落点,避免多张同权重卡片争抢注意力;
|
||
- 摘要卡先回答本人的问题:时间作首落点(日期最大字 + 暖橙色时段),
|
||
再列「医院 / 服务 / 就诊人」,最后一行费用;
|
||
不铺自己的头像与手机号——那是商家认顾客的版式,对本人零信息量;
|
||
- 陪诊师单独成卡(名 + 电话),平台分配后才出现,不与摘要行重复;
|
||
- 档案、支付明细、收货和订单技术信息按需展开,只读的历史订单也能核对完整资料;
|
||
- 陪诊需求、陪诊记录与就诊摘要仅在有内容时出现,已完成订单的服务结果直接展示;
|
||
- 修改仍按就诊人、医院预约、陪诊需求分区,表单只存在于档案页或底部弹窗;
|
||
- 配色沿用 app.wxss 暖橙令牌,状态文字与颜色共同传达信息;
|
||
- 字号层级:36 日期 / 32 标题与重点信息 / 30 正文 / 28 标签 / 26 辅助信息;
|
||
字重只用常规与 600,统一系统字体,避免相近字号和字重堆叠造成视觉杂乱 */
|
||
page {
|
||
background-color: var(--paper);
|
||
|
||
/* 底栏上向阴影:小偏移、小模糊,令牌不在全局色板内,故本页登记 */
|
||
--shadow-bar: 0 -2rpx 8rpx rgba(63, 43, 25, 0.06);
|
||
}
|
||
|
||
.page-bg {
|
||
min-height: 100vh;
|
||
background: var(--paper);
|
||
font-family: inherit;
|
||
}
|
||
|
||
.page-bg button,
|
||
.page-bg input,
|
||
.page-bg textarea {
|
||
font-family: inherit;
|
||
}
|
||
|
||
.container {
|
||
padding: 0 32rpx 48rpx;
|
||
}
|
||
|
||
.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-30);
|
||
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-30);
|
||
font-weight: 600;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.page-retry::after {
|
||
border: none;
|
||
}
|
||
|
||
/* ===== 抬头状态 ===== */
|
||
.page-header {
|
||
/* 抬头自成一区,靠空间 + 一条线立住,不引入第二套容器语言:
|
||
上方留白 40rpx(与分区间距一致,让抬头贴住顶栏而非浮在中间);
|
||
左右负 margin 抵消 .container 的 32rpx 内距,使下方发丝线通栏顶到屏幕两侧,
|
||
同时用 padding 把色标与胶囊重新拉回卡片同一条左对齐线 */
|
||
margin: 0;
|
||
padding: 24rpx 0 8rpx;
|
||
}
|
||
|
||
|
||
.status-row {
|
||
margin-top: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
row-gap: 8rpx;
|
||
}
|
||
|
||
/* 抬头右侧客服入口:图标 + 可见文字,不只靠图形表意(普通用户未必读懂问号)。
|
||
仍是安静入口:--muted 字与线图标,不抢状态胶囊的焦点。
|
||
负 margin 把热区撑到 88rpx 而不再抬高抬头区 */
|
||
.header-support {
|
||
box-sizing: border-box;
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 6rpx;
|
||
min-width: 88rpx;
|
||
min-height: 88rpx;
|
||
margin: -20rpx 0 -20rpx auto;
|
||
padding-left: 16rpx;
|
||
}
|
||
|
||
.header-support-text {
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.header-support:active {
|
||
opacity: 0.6;
|
||
}
|
||
|
||
/* 状态胶囊:底色 + 描边 + 字色三件套,颜色只做强化,文字才是信息(§三) */
|
||
.status-chip {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 4rpx 16rpx;
|
||
border: 2rpx solid transparent;
|
||
border-radius: 10rpx;
|
||
font-size: var(--fs-26);
|
||
font-weight: 600;
|
||
letter-spacing: 0;
|
||
line-height: 1.4;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.status-chip-lg {
|
||
padding: 8rpx 22rpx;
|
||
/* 28rpx 抬到 32rpx:与卡片主名同档(分节标题已于 2026-11-13 并入全站 34rpx)。
|
||
同字号下胶囊靠状态底色 + 2rpx 描边 + 内距压过裸字标题,
|
||
层级才回到「单据抬头 > 卡片标题」,不再是从前抬头比它统领的内容还小 */
|
||
font-size: var(--fs-32);
|
||
}
|
||
|
||
/* ===== 状态语气档 =====
|
||
JS 只产出 tone 名(utils/order.js),色值全部来自 app.wxss 的令牌 */
|
||
.chip-tone-wait {
|
||
background: var(--status-wait-bg);
|
||
border-color: var(--status-wait-line);
|
||
color: var(--status-wait-ink);
|
||
}
|
||
|
||
.chip-tone-doing {
|
||
background: var(--brand-soft);
|
||
border-color: var(--brand-line);
|
||
color: var(--brand-strong);
|
||
}
|
||
|
||
.chip-tone-done {
|
||
background: var(--status-done-bg);
|
||
border-color: var(--status-done-line);
|
||
color: var(--status-done-ink);
|
||
}
|
||
|
||
.chip-tone-cancel {
|
||
background: var(--status-cancel-bg);
|
||
border-color: var(--status-cancel-line);
|
||
color: var(--status-cancel-ink);
|
||
}
|
||
|
||
.chip-tone-neutral {
|
||
background: transparent;
|
||
border-color: var(--sep);
|
||
color: var(--muted);
|
||
}
|
||
|
||
.header-subtitle {
|
||
/* 说明独立成行,不与状态和客服争抢横向空间。 */
|
||
display: block;
|
||
margin: 14rpx 0 0;
|
||
/* 说明保持比 32rpx 的胶囊低一档,抬头内部才有焦点 */
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
line-height: 1.6;
|
||
letter-spacing: 0;
|
||
}
|
||
|
||
/* ===== 分区:纸面留白分隔,标题在纸面上、内容在白卡里 ===== */
|
||
.section {
|
||
margin-top: 40rpx;
|
||
}
|
||
|
||
.section-head {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.section-bar {
|
||
flex-shrink: 0;
|
||
width: 8rpx;
|
||
/* 色标高度跟随标题字号(全站规则:条高 = 标题字号) */
|
||
height: 34rpx;
|
||
border-radius: 4rpx;
|
||
background: var(--brand-strong);
|
||
}
|
||
|
||
/* 分区标题 34rpx(= --fs-34,全站区块标题统一档),色标等高跟随 */
|
||
.section-title {
|
||
margin-left: 16rpx;
|
||
font-size: var(--fs-34);
|
||
font-weight: 600;
|
||
color: var(--ink);
|
||
letter-spacing: 0;
|
||
}
|
||
|
||
/* 区块右侧入口:用 padding 撑热区、负 margin 抵消,保持标题行高度 */
|
||
.section-link {
|
||
display: flex;
|
||
align-items: center;
|
||
margin: -16rpx 0 -16rpx auto;
|
||
padding: 16rpx 0 16rpx 24rpx;
|
||
}
|
||
|
||
.section-link:active {
|
||
opacity: 0.6;
|
||
}
|
||
|
||
/* 「修改」降为中性字:全页三处入口若都用暖橙,会和所在行的标题抢注意力,
|
||
一个分组标题下不该有两个同权重焦点。入口靠位置(标题行右端)和热区成立,
|
||
不靠颜色——颜色留给底栏主按钮 */
|
||
.section-link-text {
|
||
margin-right: 4rpx;
|
||
/* 与图标同档:入口降为中性的同时留一点体量 */
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
}
|
||
|
||
/* ===== 白卡:全页唯一的容器语言(§2.3 主规则) =====
|
||
2rpx --line 发丝边、中性阴影 --shadow-card、28rpx 圆角,
|
||
与全站其余页面的白卡同一档,跨页跳转不再「卡一下」 */
|
||
.card {
|
||
box-sizing: border-box;
|
||
margin-top: 16rpx;
|
||
padding: 24rpx;
|
||
background: var(--white);
|
||
border: 2rpx solid var(--line);
|
||
border-radius: 28rpx;
|
||
}
|
||
|
||
/* ===== 通用元信息行:竖线分隔,空值已在 JS 整项剔除 ===== */
|
||
.meta-list {
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.meta-item {
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
letter-spacing: 0;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
/* 元信息竖线:2rpx×20rpx,取 --sep(比 --line 深一档,白卡与纸面上都看得见) */
|
||
.meta-sep {
|
||
flex-shrink: 0;
|
||
width: 2rpx;
|
||
height: 20rpx;
|
||
margin: 0 14rpx;
|
||
background: var(--sep);
|
||
}
|
||
|
||
/* ===== 预约摘要卡:就诊人本人的行程卡 =====
|
||
这页是本人看「哪天几点去哪、谁陪我」,不是商家认顾客的订单卡,
|
||
所以不铺自己的头像与手机号:时间作首落点,
|
||
「医院 / 服务 / 陪诊师 / 就诊人」四行小标签作答,底部一行费用 */
|
||
.appointment-card {
|
||
margin-top: 24rpx;
|
||
padding: 24rpx;
|
||
}
|
||
|
||
/* 时间块:卡内首落点。日期给全卡最大字号——它是唯一会过期的
|
||
强约束信息;时段用暖橙跟在同一行,是当天要准点到的第二关键信息 */
|
||
.schedule-row {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.schedule-block {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: baseline;
|
||
flex-wrap: wrap;
|
||
gap: 6rpx 16rpx;
|
||
padding-bottom: 20rpx;
|
||
}
|
||
|
||
.schedule-date {
|
||
font-size: var(--fs-34);
|
||
font-weight: 600;
|
||
color: var(--ink);
|
||
letter-spacing: 0;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.schedule-date.is-empty {
|
||
font-size: var(--fs-32);
|
||
font-weight: 400;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.schedule-time {
|
||
font-size: var(--fs-34);
|
||
font-weight: 600;
|
||
color: var(--brand-ink);
|
||
letter-spacing: 0;
|
||
}
|
||
|
||
.schedule-weekday {
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* 摘要底部完整信息入口:不再挤占日期宽度,保留独立触控热区。 */
|
||
.details-expand {
|
||
box-sizing: border-box;
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 6rpx;
|
||
min-width: 88rpx;
|
||
min-height: 88rpx;
|
||
margin: 16rpx 0 -12rpx;
|
||
border-top: 2rpx solid var(--line);
|
||
}
|
||
|
||
.details-expand-text {
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.details-expand:active {
|
||
opacity: 0.6;
|
||
}
|
||
|
||
.details-expand-icon {
|
||
display: flex;
|
||
align-items: center;
|
||
transition: transform 0.2s ease;
|
||
}
|
||
|
||
.details-expand-icon.is-expanded {
|
||
transform: rotate(180deg);
|
||
}
|
||
|
||
/* 行右入口:「修改」文字 + 图标,避免铅笔图标单独出现时被误读。
|
||
行尾入口统一尺寸与负 margin,让它们都落在首行文字的同一垂直中线上 */
|
||
.row-entry {
|
||
box-sizing: border-box;
|
||
flex-shrink: 0;
|
||
align-self: flex-start;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 4rpx;
|
||
min-width: 88rpx;
|
||
min-height: 88rpx;
|
||
margin: -20rpx 0 -20rpx 16rpx;
|
||
}
|
||
|
||
.row-entry-text {
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.row-entry:active {
|
||
opacity: 0.6;
|
||
}
|
||
|
||
/* 中段四行:两字小标签 + 值;标签列等宽,值的起点始终在同一竖线上 */
|
||
.appt-rows {
|
||
border-top: 2rpx solid var(--line);
|
||
}
|
||
|
||
.appt-row {
|
||
display: flex;
|
||
align-items: baseline;
|
||
padding: 12rpx 0;
|
||
}
|
||
|
||
/* 标签列按最长三字标签(陪诊师 / 就诊人)留宽,值的起点不错位 */
|
||
.appt-label {
|
||
flex-shrink: 0;
|
||
width: 96rpx;
|
||
font-size: var(--fs-28);
|
||
color: var(--muted);
|
||
letter-spacing: 0;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.appt-value {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 4rpx;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.appt-text {
|
||
min-width: 0;
|
||
word-break: break-all;
|
||
font-size: var(--fs-30);
|
||
color: var(--ink);
|
||
letter-spacing: 0;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.appt-text.is-empty {
|
||
color: var(--muted);
|
||
}
|
||
|
||
/* 备注是客户原话,可能多行长句:放宽行高、允许任意断行 */
|
||
.appt-note {
|
||
flex-basis: 100%;
|
||
word-break: break-all;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
/* 电话行拨打钮:只给一枚电话图标,无底色无描边,
|
||
靠暖橙图标与位置成立;尺寸与负 margin 和 .row-entry 一致,
|
||
三枚行尾图标共用同一条垂直中线 */
|
||
.row-call {
|
||
box-sizing: border-box;
|
||
flex-shrink: 0;
|
||
align-self: flex-start;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 72rpx;
|
||
min-height: 88rpx;
|
||
margin: -20rpx 0 -20rpx 16rpx;
|
||
}
|
||
|
||
.row-call:active {
|
||
opacity: 0.7;
|
||
}
|
||
|
||
/* 地址:医院行下的副行,换行独占。
|
||
颜色用 --ink-2:老人靠它找到地方,不能压成浅灰小字 */
|
||
.appt-sub {
|
||
flex-basis: 100%;
|
||
font-size: var(--fs-26);
|
||
color: var(--ink-2);
|
||
letter-spacing: 0;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
/* 长医院名使用整行宽度,修改入口只占标签行,避免末字被挤成孤行。 */
|
||
.hospital-row {
|
||
display: block;
|
||
padding-top: 16rpx;
|
||
}
|
||
|
||
.hospital-heading {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
min-height: 56rpx;
|
||
}
|
||
|
||
.hospital-heading .appt-label {
|
||
width: auto;
|
||
}
|
||
|
||
.hospital-heading .row-entry {
|
||
align-self: center;
|
||
margin: -16rpx 0;
|
||
}
|
||
|
||
.hospital-value {
|
||
margin-top: 4rpx;
|
||
}
|
||
|
||
.hospital-value .appt-text {
|
||
flex-basis: 100%;
|
||
}
|
||
|
||
/* 同一行内多值之间的细竖线分隔(如 姓名 │ 性别 │ 年龄),
|
||
取代原先拼在文案里的中点字符。自适应换行仍由 .appt-value 的 flex-wrap 承担 */
|
||
.appt-sep {
|
||
align-self: center;
|
||
width: 2rpx;
|
||
height: 24rpx;
|
||
margin: 0 6rpx;
|
||
background: var(--sep);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* 费用与支付:独立分区,排在陪诊需求之后 */
|
||
.pay-section {
|
||
margin-top: 40rpx;
|
||
}
|
||
|
||
.pay-card {
|
||
padding: 24rpx;
|
||
}
|
||
|
||
/* 卡内首行不再画顶边:分隔线由第二行(支付方式)自己提供 */
|
||
.pay-card .fee-line {
|
||
padding-top: 0;
|
||
border-top: none;
|
||
}
|
||
|
||
/* 费用行:标签列与上行对齐,金额主色,支付状态胶囊收行尾 */
|
||
.fee-line {
|
||
display: flex;
|
||
align-items: center;
|
||
padding-top: 16rpx;
|
||
border-top: 2rpx solid var(--line);
|
||
}
|
||
|
||
.fee-amount {
|
||
font-size: var(--fs-32);
|
||
font-weight: 600;
|
||
color: var(--brand-strong);
|
||
letter-spacing: 0;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.fee-side {
|
||
margin-left: auto;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
/* 退款说明:与取消原因同款浅底描边块,只补一句路径,不抢金额与胶囊 */
|
||
.refund-note {
|
||
margin-top: 12rpx;
|
||
padding: 12rpx 20rpx;
|
||
border: 2rpx solid var(--line);
|
||
border-radius: 16rpx;
|
||
background: var(--paper);
|
||
}
|
||
|
||
.refund-note-text {
|
||
font-size: var(--fs-26);
|
||
color: var(--ink-2);
|
||
line-height: 1.5;
|
||
}
|
||
|
||
/* 取消原因:--paper 底在白卡上只差 1.06:1,靠描边托形 */
|
||
.cancel-summary {
|
||
margin-top: 12rpx;
|
||
padding: 12rpx 20rpx;
|
||
border: 2rpx solid var(--line);
|
||
border-radius: 16rpx;
|
||
background: var(--paper);
|
||
}
|
||
|
||
.cancel-summary-label {
|
||
display: block;
|
||
font-size: var(--fs-28);
|
||
color: var(--muted);
|
||
}
|
||
|
||
.cancel-summary-value {
|
||
display: block;
|
||
margin-top: 6rpx;
|
||
font-size: var(--fs-26);
|
||
color: var(--ink-2);
|
||
line-height: 1.5;
|
||
}
|
||
|
||
/* ===== 完整信息:默认折叠,展开后按资料类型分组 =====
|
||
展开时淡入 + 轻微下落入场,与箭头旋转同步,避免内容硬切闪现 */
|
||
@keyframes details-in {
|
||
from {
|
||
opacity: 0;
|
||
transform: translateY(-8rpx);
|
||
}
|
||
to {
|
||
opacity: 1;
|
||
transform: translateY(0);
|
||
}
|
||
}
|
||
|
||
.full-details {
|
||
/* 展开区自带顶边:费用行不画底边,取消原因也自带边,
|
||
任一块出现都只落一条分隔线 */
|
||
margin-top: 16rpx;
|
||
border-top: 2rpx solid var(--line);
|
||
animation: details-in 0.24s ease-out;
|
||
}
|
||
|
||
/* 减弱动态效果时直接呈现,不做淡入下落 */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.full-details {
|
||
animation: none;
|
||
}
|
||
}
|
||
|
||
/* 首个分组不再重复画顶边:它紧接 full-details 的顶边,
|
||
两者只差 8rpx,会读成一条粗线或双线 */
|
||
.full-details > .detail-group:first-child {
|
||
margin-top: 0;
|
||
border-top: none;
|
||
}
|
||
|
||
.detail-group {
|
||
margin-top: 8rpx;
|
||
padding: 16rpx 0 4rpx;
|
||
border-top: 2rpx solid var(--line);
|
||
}
|
||
|
||
/* 分隔线由上方 .full-details 的顶边提供,首组不再画第二条,避免双线并行 */
|
||
.full-details .detail-group:first-child {
|
||
padding-top: 12rpx;
|
||
border-top: none;
|
||
}
|
||
|
||
.detail-group-title {
|
||
display: block;
|
||
font-size: var(--fs-26);
|
||
font-weight: 600;
|
||
color: var(--ink);
|
||
}
|
||
|
||
.detail-patient-meta {
|
||
margin-top: 12rpx;
|
||
}
|
||
|
||
.detail-row {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
margin-top: 10rpx;
|
||
}
|
||
|
||
.detail-label {
|
||
flex-shrink: 0;
|
||
font-size: var(--fs-28);
|
||
color: var(--muted);
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.detail-value {
|
||
flex: 1;
|
||
min-width: 0;
|
||
margin-left: 24rpx;
|
||
font-size: var(--fs-26);
|
||
color: var(--ink-2);
|
||
line-height: 1.5;
|
||
text-align: right;
|
||
}
|
||
|
||
.shipping-recipient {
|
||
display: block;
|
||
margin-top: 16rpx;
|
||
font-size: var(--fs-26);
|
||
font-weight: 600;
|
||
color: var(--ink);
|
||
}
|
||
|
||
.shipping-address {
|
||
display: block;
|
||
margin-top: 8rpx;
|
||
font-size: var(--fs-26);
|
||
color: var(--ink-2);
|
||
line-height: 1.6;
|
||
}
|
||
|
||
/* 订单号是需要逐字核对的标识符:左对齐、允许断行,不跟随右侧值的右对齐 */
|
||
.order-no {
|
||
text-align: left;
|
||
letter-spacing: 0;
|
||
word-break: break-all;
|
||
}
|
||
|
||
/* ===== 陪诊师卡片:平台分配后才出现 =====
|
||
就诊当天要联系的人单独成卡:首字牌立住「是谁」,名 + 电话在中间,
|
||
右侧实心「拨打」是本卡唯一动作——不用抄号,也不让电话文字承担点击 */
|
||
.attendant-section {
|
||
margin-top: 40rpx;
|
||
}
|
||
|
||
.attendant-card {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 20rpx;
|
||
padding: 24rpx;
|
||
}
|
||
|
||
/* 首字牌:浅橙圆底 + 姓氏首字,与性别选中块同一套暖橙语言 */
|
||
.attendant-avatar {
|
||
box-sizing: border-box;
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 88rpx;
|
||
height: 88rpx;
|
||
border-radius: 50%;
|
||
background: var(--brand-soft);
|
||
border: 2rpx solid var(--brand-line);
|
||
color: var(--brand-ink);
|
||
font-size: var(--fs-32);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.attendant-info {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4rpx;
|
||
}
|
||
|
||
.attendant-name {
|
||
font-size: var(--fs-32);
|
||
font-weight: 600;
|
||
color: var(--ink);
|
||
letter-spacing: 0;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
/* 电话弱一档在名下:信息完整但不抢「拨打」的戏 */
|
||
.attendant-phone {
|
||
font-size: var(--fs-26);
|
||
color: var(--ink-2);
|
||
letter-spacing: 0;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
/* 待分配占位:比姓名低一档并退到灰字,读作「还没定」而不是「没有」 */
|
||
.attendant-empty {
|
||
font-size: var(--fs-30);
|
||
color: var(--muted);
|
||
letter-spacing: 0;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
/* 拨打:卡内唯一实心小块,暖橙 + 白字,热区 72rpx 见方 */
|
||
.attendant-call {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 112rpx;
|
||
min-height: 72rpx;
|
||
padding: 0 28rpx;
|
||
border-radius: 999rpx;
|
||
background: var(--brand-strong);
|
||
box-shadow: var(--shadow-cta);
|
||
color: var(--white);
|
||
font-size: var(--fs-26);
|
||
font-weight: 600;
|
||
letter-spacing: 0;
|
||
}
|
||
|
||
.attendant-call:active {
|
||
opacity: 0.7;
|
||
}
|
||
|
||
/* ===== 需求与服务结果:有内容才出现 ===== */
|
||
.note-section {
|
||
margin-top: 40rpx;
|
||
}
|
||
|
||
.note-card {
|
||
padding: 24rpx;
|
||
}
|
||
|
||
.note-block {
|
||
margin-top: 24rpx;
|
||
padding-top: 24rpx;
|
||
border-top: 2rpx solid var(--line);
|
||
}
|
||
|
||
.note-block:first-child {
|
||
margin-top: 0;
|
||
padding-top: 0;
|
||
border-top: none;
|
||
}
|
||
|
||
.note-label {
|
||
display: block;
|
||
margin-bottom: 8rpx;
|
||
font-size: var(--fs-28);
|
||
color: var(--muted);
|
||
}
|
||
|
||
.note-text {
|
||
display: block;
|
||
font-size: var(--fs-30);
|
||
color: var(--ink-2);
|
||
line-height: 1.7;
|
||
letter-spacing: 0;
|
||
word-break: break-word;
|
||
}
|
||
|
||
/* 空态添加入口:整行可点,热区不依赖小图标 */
|
||
.note-add {
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-height: 88rpx;
|
||
}
|
||
|
||
.note-add:active {
|
||
opacity: 0.6;
|
||
}
|
||
|
||
.note-add-text {
|
||
margin-left: 8rpx;
|
||
font-size: var(--fs-26);
|
||
color: var(--brand-ink);
|
||
}
|
||
|
||
/* ===== 表单行:只活在编辑弹窗里 =====
|
||
行结构仍是「标签左、值右、发丝线分隔」,但它是弹窗内的输入语境,不是页面展示语言 */
|
||
.form-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
min-height: 72rpx;
|
||
padding: 12rpx 0;
|
||
border-bottom: 2rpx solid var(--line);
|
||
}
|
||
|
||
.form-row:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.form-label {
|
||
flex-shrink: 0;
|
||
font-size: var(--fs-28);
|
||
color: var(--muted);
|
||
}
|
||
|
||
.form-input {
|
||
flex: 1;
|
||
min-width: 0;
|
||
margin-left: 24rpx;
|
||
font-size: var(--fs-30);
|
||
color: var(--ink);
|
||
text-align: right;
|
||
}
|
||
|
||
.form-picker {
|
||
flex: 1;
|
||
min-width: 0;
|
||
margin-left: 24rpx;
|
||
}
|
||
|
||
.form-picker-value {
|
||
font-size: var(--fs-30);
|
||
color: var(--ink);
|
||
text-align: right;
|
||
}
|
||
|
||
.note-textarea {
|
||
box-sizing: border-box;
|
||
width: 100%;
|
||
min-height: 200rpx;
|
||
padding: 24rpx;
|
||
border: 2rpx solid var(--line);
|
||
border-radius: 16rpx;
|
||
background: var(--paper);
|
||
font-size: var(--fs-30);
|
||
color: var(--ink-2);
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.note-field {
|
||
margin-bottom: 24rpx;
|
||
}
|
||
|
||
.note-field:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.input-placeholder {
|
||
color: var(--muted);
|
||
}
|
||
|
||
/* ===== 底部占位与操作栏 ===== */
|
||
.bottom-placeholder {
|
||
height: calc(160rpx + env(safe-area-inset-bottom));
|
||
}
|
||
|
||
.bottom-bar {
|
||
position: fixed;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
z-index: 100;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 16rpx;
|
||
padding: 20rpx 32rpx;
|
||
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||
background: var(--white);
|
||
border-top: 2rpx solid var(--line);
|
||
box-shadow: var(--shadow-bar);
|
||
}
|
||
|
||
/* 首页图标按钮:底栏最左的固定位圆形按钮。
|
||
与右侧幽灵按钮同一套语言(--sep 描边 + --muted 图标 + 999rpx 圆角),
|
||
但固定宽高、不参与 flex:1 的等宽分配——它是入口,不是订单动作;
|
||
固定宽度后「取消 / 删除 / 再约」仍等宽平分剩余空间。
|
||
84rpx 见方 = 与右侧幽灵按钮同高(18rpx 上下内距 + 30rpx 文字行高 + 3rpx 描边),
|
||
圆形后上下沿齐平;内含 40rpx 图标,触控热区 42px 远高于 24px 下限 */
|
||
.home-btn {
|
||
box-sizing: border-box;
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 84rpx;
|
||
height: 84rpx;
|
||
border: 3rpx solid var(--sep);
|
||
border-radius: 999rpx;
|
||
background: transparent;
|
||
}
|
||
|
||
.home-btn:active {
|
||
opacity: 0.7;
|
||
}
|
||
|
||
/* 首页图标:复用 custom-tab-bar 的同一份手绘 SVG(灰 #6F655C 档),
|
||
与 tabBar「首页」tab 造型完全一致——同一个「首页」不在两处画成两种房子。
|
||
TDesign 字体图标 home 是尖屋顶,tabBar 已弃用,此处同样不用 */
|
||
.home-icon {
|
||
width: 40rpx;
|
||
height: 40rpx;
|
||
background-repeat: no-repeat;
|
||
background-size: 100% 100%;
|
||
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTkgMzEgQzkgMjMuNSAxNi41IDE2LjUgMzIgOC41IEM0Ny41IDE2LjUgNTUgMjMuNSA1NSAzMSIgc3Ryb2tlPSIjNkY2NTVDIiBzdHJva2Utd2lkdGg9IjQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxyZWN0IHg9IjE0IiB5PSIyOCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjI2IiByeD0iNyIgc3Ryb2tlPSIjNkY2NTVDIiBzdHJva2Utd2lkdGg9IjQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjcgNTQgVjQ2IGE1IDUgMCAwIDEgMTAgMCBWNTQiIHN0cm9rZT0iIzZGNjU1QyIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=");
|
||
}
|
||
|
||
/* 按钮等宽铺满:与同页弹窗脚(.popup-btn 的 flex:1)同一套排布,
|
||
热区也更大;单个按钮时即整条通栏主操作 */
|
||
.action-btn {
|
||
flex: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 18rpx 44rpx;
|
||
border-radius: 999rpx;
|
||
font-size: var(--fs-30);
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.action-btn:active {
|
||
opacity: 0.7;
|
||
}
|
||
|
||
.action-ghost {
|
||
border: 3rpx solid var(--sep);
|
||
color: var(--muted);
|
||
background: transparent;
|
||
}
|
||
|
||
/* 破坏性动作:只换字色为状态色「已取消」档(--status-cancel-ink 已在色板内,不新增色相),
|
||
与并排的取消订单区分开——删除不可恢复,确认弹窗也已走同色 */
|
||
.action-danger {
|
||
color: var(--status-cancel-ink);
|
||
}
|
||
|
||
.action-primary {
|
||
background: var(--brand-strong);
|
||
color: var(--white);
|
||
font-weight: 600;
|
||
box-shadow: var(--shadow-cta);
|
||
}
|
||
|
||
/* ===== 底部弹窗(编辑与取消共用一套骨架) ===== */
|
||
.popup-mask {
|
||
position: fixed;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
z-index: 200;
|
||
background: rgba(43, 37, 33, 0.45);
|
||
opacity: 0;
|
||
visibility: hidden;
|
||
transition: opacity 0.3s ease, visibility 0.3s ease;
|
||
}
|
||
|
||
.popup-mask.show {
|
||
opacity: 1;
|
||
visibility: visible;
|
||
}
|
||
|
||
.popup-content {
|
||
position: fixed;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
z-index: 201;
|
||
display: flex;
|
||
flex-direction: column;
|
||
max-height: 70vh;
|
||
background: var(--white);
|
||
border-radius: 32rpx 32rpx 0 0;
|
||
transform: translateY(100%);
|
||
transition: transform 0.3s ease-out;
|
||
}
|
||
|
||
/* 医院预约编辑有 9 行表单,弹窗加高 */
|
||
.popup-content.popup-tall {
|
||
max-height: 86vh;
|
||
}
|
||
|
||
.popup-content.show {
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.popup-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-shrink: 0;
|
||
padding: 28rpx 32rpx;
|
||
border-bottom: 2rpx solid var(--line);
|
||
}
|
||
|
||
.popup-title {
|
||
font-size: var(--fs-32);
|
||
font-weight: 600;
|
||
color: var(--ink);
|
||
}
|
||
|
||
.popup-close {
|
||
padding: 8rpx;
|
||
margin: -8rpx;
|
||
}
|
||
|
||
.popup-close:active {
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.popup-body {
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
padding: 24rpx 32rpx 32rpx;
|
||
}
|
||
|
||
/* ===== 取消订单弹窗内的原因单选 ===== */
|
||
.cancel-tip {
|
||
font-size: var(--fs-30);
|
||
color: var(--muted);
|
||
line-height: 1.6;
|
||
}
|
||
|
||
/* 取消后果:紧跟提问,单独成行并降一档字号,不抢主问题 */
|
||
.cancel-refund-tip {
|
||
display: block;
|
||
margin-top: 12rpx;
|
||
font-size: var(--fs-26);
|
||
color: var(--muted);
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.cancel-reason-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin-top: 8rpx;
|
||
}
|
||
|
||
.cancel-reason-item {
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 20rpx 16rpx;
|
||
border-radius: 16rpx;
|
||
transition: background-color 0.15s ease;
|
||
}
|
||
|
||
.cancel-reason-item.active {
|
||
background: var(--brand-soft);
|
||
}
|
||
|
||
.reason-radio {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-shrink: 0;
|
||
box-sizing: border-box;
|
||
width: 36rpx;
|
||
height: 36rpx;
|
||
border: 3rpx solid var(--sep);
|
||
border-radius: 50%;
|
||
}
|
||
|
||
.cancel-reason-item.active .reason-radio {
|
||
border-color: var(--brand-strong);
|
||
}
|
||
|
||
.reason-radio-inner {
|
||
width: 18rpx;
|
||
height: 18rpx;
|
||
border-radius: 50%;
|
||
background: var(--brand-strong);
|
||
}
|
||
|
||
.reason-text {
|
||
margin-left: 16rpx;
|
||
font-size: var(--fs-30);
|
||
color: var(--ink-2);
|
||
}
|
||
|
||
.popup-footer {
|
||
display: flex;
|
||
gap: 16rpx;
|
||
flex-shrink: 0;
|
||
padding: 20rpx 32rpx;
|
||
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||
border-top: 2rpx solid var(--line);
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
/* 支付方式切换:待支付期间才出现,轻量一行,不额外占卡片高度 */
|
||
.pay-switch {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12rpx;
|
||
margin-top: 16rpx;
|
||
padding-top: 18rpx;
|
||
border-top: 2rpx solid var(--line);
|
||
}
|
||
|
||
.pay-switch-label {
|
||
color: var(--muted);
|
||
font-size: var(--fs-28);
|
||
}
|
||
|
||
.pay-switch-value {
|
||
color: var(--ink);
|
||
font-size: var(--fs-26);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.pay-switch-action {
|
||
margin-left: auto;
|
||
color: var(--brand-strong);
|
||
font-size: var(--fs-26);
|
||
}
|