feat(hospital-select): 重构医院选择组件与相关样式

- 移除列表/手填切换模式,改为「其他医院」常驻入口内联手填
- 选项行高按放大后的字号重算,搜索框不再自动聚焦
- 服务详情、预约表单与相关页面同步 hospitalCustom 状态
- 统一就诊人添加按钮、个人档案、首页与培训页字号样式
This commit is contained in:
lik
2026-11-05 18:55:13 +08:00
parent 67157fa919
commit f70a8f8b72
9 changed files with 167 additions and 165 deletions
+8 -7
View File
@@ -250,8 +250,9 @@ page {
.promo-btn-text {
margin-right: 4rpx;
/* 28rpx / 14px:按钮字不再是"看不清的附属小字",与正文同级 */
font-size: var(--fs-28);
/* 24rpx / 12px:按钮字收小一档,让「了解详情」退回附属提示的层级,
不与左侧标题争夺首屏注意力 */
font-size: var(--fs-24);
font-weight: 700;
color: var(--brand-ink);
letter-spacing: 1rpx;
@@ -485,7 +486,7 @@ page {
次级层级靠 --ink-2 的色阶表达,不用半档字重 */
.assist-name {
font-size: var(--fs-30);
font-weight: 400;
font-weight: 700;
color: var(--ink-2);
/* 行高 1.5:字号 32→30 会让这一行的盒高少 2.8rpx,
用 1.5 把盒高补回 45rpx(≈改前 32rpx × normal),
@@ -564,12 +565,12 @@ page {
}
.quick-name {
/* 30rpx / 15px:文字区约 179rpx,最长「预约记录」4 字 120rpx 仍单行。
与宫格项名同档 30rpx,但这里是卡名(可点入口),走 700 与 400 拉开 */
font-size: var(--fs-30);
/* 32rpx / 16px:卡名放大一号,作为可点入口的主标签。
文字区约 179rpx,最长「预约记录」4 字 128rpx 仍单行 */
font-size: var(--fs-32);
font-weight: 700;
color: var(--ink);
/* 行高 1.5:字号 32→30 少 2.8rpx,用行高补回,卡片高度与历史版本一致 */
/* 行高 1.5:放大后靠行高补回视觉高度,卡片整体高度与历史版本一致 */
line-height: 1.5;
}