style(escort): 协议/指南/陪诊师页去装饰并统一字重

删除页内重复页名、色带与图标圆底,标题字重统一 600,白卡去阴影;
陪诊师详情底部栏改纯白取消玻璃模糊,姓名改为可换行不再截断。
This commit is contained in:
lik
2026-11-16 19:30:51 +08:00
parent 5ca383a318
commit b5a8bdc512
7 changed files with 41 additions and 88 deletions
-3
View File
@@ -9,9 +9,6 @@
</view>
<block wx:elif="{{agreement}}">
<view class="header-section">
<view class="header-icon-wrap">
<t-icon name="file-1" size="48rpx" class="header-icon" />
</view>
<text class="header-title">{{agreement.title}}</text>
<text class="header-subtitle">{{agreement.subtitle}}</text>
</view>
+10 -25
View File
@@ -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);
}
+8 -11
View File
@@ -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;
}
-1
View File
@@ -3,7 +3,6 @@
<!-- 页名已在导航栏(「陪诊师团队」/「陪诊师详情」),页内不再重复大标题;
选择模式下的「选择陪诊师」由导语第二句承担 -->
<view class="page-lead">
<view class="page-accent"></view>
<text class="page-lead-text">{{ selectMode ? '可按擅长与服务区域挑选,不选则由平台安排' : '仅展示在岗且已转正的陪诊师' }}</text>
</view>
+15 -16
View File
@@ -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;
-6
View File
@@ -2,12 +2,6 @@
<view class="page-bg">
<view class="container">
<!-- 页名已在导航栏(「服务指南」),页内不再重复大标题 -->
<view class="page-lead">
<view class="page-accent"></view>
<text class="page-lead-text">第一次用陪诊?三分钟看懂全流程</text>
</view>
<!-- ① 就诊前准备:到院前建议提前办妥或备齐的事项。
放在服务流程之前——用户打开指南时最急的是"我该带什么、先办什么",
流程是读完之后才需要的背景 -->
+8 -26
View File
@@ -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);
}