From b5a8bdc5124380ce9f1b720c68348bb88e845828 Mon Sep 17 00:00:00 2001 From: lik Date: Mon, 16 Nov 2026 19:30:51 +0800 Subject: [PATCH] =?UTF-8?q?style(escort):=20=E5=8D=8F=E8=AE=AE=EF=BC=8F?= =?UTF-8?q?=E6=8C=87=E5=8D=97=EF=BC=8F=E9=99=AA=E8=AF=8A=E5=B8=88=E9=A1=B5?= =?UTF-8?q?=E5=8E=BB=E8=A3=85=E9=A5=B0=E5=B9=B6=E7=BB=9F=E4=B8=80=E5=AD=97?= =?UTF-8?q?=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除页内重复页名、色带与图标圆底,标题字重统一 600,白卡去阴影; 陪诊师详情底部栏改纯白取消玻璃模糊,姓名改为可换行不再截断。 --- pages/escort/agreement.wxml | 3 --- pages/escort/agreement.wxss | 35 +++++++++---------------------- pages/escort/attendantdetail.wxss | 19 +++++++---------- pages/escort/attendants.wxml | 1 - pages/escort/attendants.wxss | 31 +++++++++++++-------------- pages/escort/guide.wxml | 6 ------ pages/escort/guide.wxss | 34 +++++++----------------------- 7 files changed, 41 insertions(+), 88 deletions(-) diff --git a/pages/escort/agreement.wxml b/pages/escort/agreement.wxml index 2c5bd85..5252a46 100644 --- a/pages/escort/agreement.wxml +++ b/pages/escort/agreement.wxml @@ -9,9 +9,6 @@ - - - {{agreement.title}} {{agreement.subtitle}} diff --git a/pages/escort/agreement.wxss b/pages/escort/agreement.wxss index abb6e27..7502868 100644 --- a/pages/escort/agreement.wxss +++ b/pages/escort/agreement.wxss @@ -49,38 +49,24 @@ page { .header-section { display: flex; flex-direction: column; - align-items: center; - padding: 48rpx 32rpx 40rpx; -} - -/* 文件图标是全页唯一实心块:白色图标需要深底才看得见, - 故走 --brand-strong(同首页品牌印记的白色线稿),阴影用 --shadow-cta */ -.header-icon-wrap { - width: 96rpx; - height: 96rpx; - background: var(--brand-strong); - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - box-shadow: var(--shadow-cta); -} - -.header-icon { - color: var(--white); + align-items: flex-start; + padding: 32rpx; } .header-title { font-size: 44rpx; - font-weight: 700; + font-weight: 600; color: var(--ink); - margin-top: 24rpx; + margin-top: 0; + line-height: 1.5; + word-break: break-all; } .header-subtitle { font-size: var(--fs-26); color: var(--muted); margin-top: 12rpx; + line-height: 1.6; } /* 协议正文:通栏白底块(上下各 2rpx 发丝线 + 圆角 0), @@ -89,7 +75,6 @@ page { background: var(--white); border-top: 2rpx solid var(--line); border-bottom: 2rpx solid var(--line); - box-shadow: var(--shadow-card); padding: 32rpx; } @@ -105,7 +90,7 @@ page { display: flex; align-items: center; font-size: var(--fs-32); - font-weight: 700; + font-weight: 600; color: var(--ink); margin-bottom: 20rpx; } @@ -119,7 +104,7 @@ page { border: 2rpx solid var(--brand-line); color: var(--brand-ink); font-size: var(--fs-24); - font-weight: 700; + font-weight: 600; border-radius: 50%; display: flex; align-items: center; @@ -191,7 +176,7 @@ page { /* 表头不铺色(--brand-line 只作描边,不当填充),靠字重与主色区分 */ .table-row.header .table-cell { - font-weight: 700; + font-weight: 600; color: var(--brand-ink); } diff --git a/pages/escort/attendantdetail.wxss b/pages/escort/attendantdetail.wxss index 7e6c519..db72104 100644 --- a/pages/escort/attendantdetail.wxss +++ b/pages/escort/attendantdetail.wxss @@ -17,7 +17,6 @@ page { border: 2rpx solid var(--line); border-radius: 28rpx; background: var(--white); - box-shadow: var(--shadow-card); color: var(--muted); font-size: var(--fs-28); text-align: center; @@ -49,7 +48,7 @@ page { border: 3rpx solid var(--brand-line); color: var(--brand-ink); font-size: 46rpx; - font-weight: 700; + font-weight: 600; } .profile-info { @@ -63,17 +62,17 @@ page { align-items: center; justify-content: space-between; gap: 16rpx; + flex-wrap: wrap; } .attendant-name { min-width: 0; - overflow: hidden; color: var(--ink); /* 本页没有页内标题,姓名即页面主标题:44rpx(全站统一档) */ font-size: 44rpx; - font-weight: 700; - text-overflow: ellipsis; - white-space: nowrap; + font-weight: 600; + line-height: 1.5; + word-break: break-all; } .order-count { @@ -114,7 +113,6 @@ page { border: 2rpx solid var(--line); border-radius: 28rpx; background: var(--white); - box-shadow: var(--shadow-card); } .info-row { @@ -152,7 +150,7 @@ page { color: var(--ink); /* 卡内标题统一 32rpx(与 guide / business / about 的卡标题同档) */ font-size: var(--fs-32); - font-weight: 700; + font-weight: 600; } .section-text { @@ -225,9 +223,8 @@ page { bottom: 0; left: 0; padding: 18rpx 32rpx calc(18rpx + env(safe-area-inset-bottom)); - background: rgba(255, 252, 246, 0.96); + background: var(--white); border-top: 2rpx solid var(--line); - backdrop-filter: blur(12rpx); } .cta-btn { @@ -238,7 +235,7 @@ page { background: var(--brand-strong); color: var(--white); font-size: var(--fs-30); - font-weight: 700; + font-weight: 600; line-height: 92rpx; } diff --git a/pages/escort/attendants.wxml b/pages/escort/attendants.wxml index dddd21d..1100927 100644 --- a/pages/escort/attendants.wxml +++ b/pages/escort/attendants.wxml @@ -3,7 +3,6 @@ - {{ selectMode ? '可按擅长与服务区域挑选,不选则由平台安排' : '仅展示在岗且已转正的陪诊师' }} diff --git a/pages/escort/attendants.wxss b/pages/escort/attendants.wxss index 740e668..67a595b 100644 --- a/pages/escort/attendants.wxss +++ b/pages/escort/attendants.wxss @@ -17,20 +17,14 @@ page { padding: 32rpx 0 8rpx; } -.page-accent { - width: 64rpx; - height: 8rpx; - border-radius: 4rpx; - background: var(--brand-strong); -} .page-lead-text { display: block; - margin-top: 22rpx; - color: var(--ink); - font-size: var(--fs-32); - font-weight: 700; - letter-spacing: 1rpx; + margin-top: 0; + color: var(--muted); + font-size: var(--fs-28); + font-weight: 400; + letter-spacing: 0; line-height: 1.5; } @@ -40,7 +34,6 @@ page { border: 2rpx solid var(--line); border-radius: 28rpx; background: var(--white); - box-shadow: var(--shadow-card); color: var(--muted); font-size: var(--fs-28); text-align: center; @@ -60,7 +53,6 @@ page { border: 2rpx solid var(--line); border-radius: 28rpx; background: var(--white); - box-shadow: var(--shadow-card); transition: opacity 0.15s ease; } @@ -86,7 +78,7 @@ page { border: 2rpx solid var(--brand-line); color: var(--brand-ink); font-size: 38rpx; - font-weight: 700; + font-weight: 600; } .card-info { @@ -107,7 +99,7 @@ page { overflow: hidden; color: var(--ink); font-size: var(--fs-34); - font-weight: 700; + font-weight: 600; text-overflow: ellipsis; white-space: nowrap; } @@ -181,7 +173,12 @@ page { .select-btn { flex-shrink: 0; - padding: 12rpx 28rpx; + display: flex; + align-items: center; + justify-content: center; + box-sizing: border-box; + min-height: 88rpx; + padding: 0 28rpx; border: 3rpx solid var(--brand-strong); border-radius: 999rpx; background: var(--brand-soft); @@ -198,7 +195,9 @@ page { flex-shrink: 0; display: flex; align-items: center; + justify-content: center; gap: 4rpx; + min-height: 88rpx; color: var(--brand-ink); font-size: var(--fs-26); font-weight: 600; diff --git a/pages/escort/guide.wxml b/pages/escort/guide.wxml index 7a5b060..54d3de2 100644 --- a/pages/escort/guide.wxml +++ b/pages/escort/guide.wxml @@ -2,12 +2,6 @@ - - - - 第一次用陪诊?三分钟看懂全流程 - - diff --git a/pages/escort/guide.wxss b/pages/escort/guide.wxss index 07f892b..185db8e 100644 --- a/pages/escort/guide.wxss +++ b/pages/escort/guide.wxss @@ -19,37 +19,20 @@ page { /* ===== 页首:页面级短横 + 一句导语 ===== 大标题已删(导航栏写着「服务指南」),与 itemlist / itemorder 共用同一套页首 */ -.page-lead { - margin-top: 24rpx; -} -.page-accent { - width: 64rpx; - height: 8rpx; - border-radius: 4rpx; - background: var(--brand-strong); -} -.page-lead-text { - display: block; - margin-top: 22rpx; - font-size: var(--fs-32); - font-weight: 700; - color: var(--ink); - letter-spacing: 1rpx; - line-height: 1.5; -} /* ===== 通用白卡 ===== */ .card { - margin-top: 32rpx; + margin-top: 24rpx; padding: 28rpx 26rpx; border-radius: 28rpx; background: var(--white); border: 2rpx solid var(--line); - box-shadow: var(--shadow-card); } +.container > .card:first-child { margin-top: 0; } + .card-head { display: flex; align-items: center; @@ -73,7 +56,7 @@ page { .card-title { margin-left: 14rpx; font-size: var(--fs-32); - font-weight: 700; + font-weight: 600; color: var(--ink); letter-spacing: 1rpx; } @@ -91,7 +74,7 @@ page { background: var(--brand-soft); color: var(--brand-ink); font-size: var(--fs-26); - font-weight: 700; + font-weight: 600; display: flex; align-items: center; justify-content: center; @@ -106,10 +89,9 @@ page { min-width: 0; } -/* 中文系统字体只有 400/700 两档,写 600 真机会随机落回 400 或 700 */ .step-title { font-size: var(--fs-30); - font-weight: 700; + font-weight: 600; color: var(--ink); } @@ -162,7 +144,7 @@ page { .guide-cta-text { font-size: var(--fs-30); - font-weight: 700; + font-weight: 600; color: var(--white); letter-spacing: 2rpx; margin-right: 6rpx; @@ -186,7 +168,7 @@ page { .guide-help-text { margin-left: 12rpx; font-size: var(--fs-26); - font-weight: 700; + font-weight: 600; color: var(--brand-ink); }