From 435bff381f5bf75262d4cdeb6eb432332866a1d7 Mon Sep 17 00:00:00 2001 From: lik Date: Mon, 16 Nov 2026 19:31:03 +0800 Subject: [PATCH] =?UTF-8?q?style(health):=20=E5=81=A5=E5=BA=B7=E6=A1=A3?= =?UTF-8?q?=E6=A1=88=E9=A1=B5=E7=BB=9F=E4=B8=80=E5=8D=A1=E7=89=87=E4=B8=8E?= =?UTF-8?q?=E5=AD=97=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 档案页表单由通栏改为圆角描边卡片,页内边距与卡片内距收口, 标题字重 600,白卡去阴影,补齐 t-loading 引用。 --- pages/health/profileedit.json | 3 ++- pages/health/profileedit.wxss | 17 ++++++++--------- pages/health/profilelist.wxss | 11 +++++------ 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/pages/health/profileedit.json b/pages/health/profileedit.json index b623dbf..5c3af36 100644 --- a/pages/health/profileedit.json +++ b/pages/health/profileedit.json @@ -1,6 +1,7 @@ { "navigationBarTitleText": "新增就诊人", "usingComponents": { - "t-icon": "tdesign-miniprogram/icon/icon" + "t-icon": "tdesign-miniprogram/icon/icon", + "t-loading": "tdesign-miniprogram/loading/loading" } } diff --git a/pages/health/profileedit.wxss b/pages/health/profileedit.wxss index 660058b..57cd812 100644 --- a/pages/health/profileedit.wxss +++ b/pages/health/profileedit.wxss @@ -7,7 +7,7 @@ page { min-height: 100vh; box-sizing: border-box; /* 底部留出固定保存栏的高度 + 安全区,避免最后一行被盖住 */ - padding: 40rpx 32rpx calc(180rpx + env(safe-area-inset-bottom)); + padding: 32rpx 32rpx calc(180rpx + env(safe-area-inset-bottom)); } /* ===== 加载与失败状态 ===== */ @@ -41,11 +41,10 @@ page { 负向 margin 抵消容器 32rpx 内距后左右顶到屏幕两侧, 行内再用 32rpx 内距回到同一左基线,行分隔线因此自动通到底 */ .form-card { - margin: 0 -32rpx; + margin: 0; background: var(--white); - border-top: 2rpx solid var(--line); - border-bottom: 2rpx solid var(--line); - box-shadow: var(--shadow-card); + border: 2rpx solid var(--line); + border-radius: 28rpx; } /* 两块之间用 24rpx 纸面留白分界(与「我的」页菜单组间距同值) */ @@ -59,7 +58,7 @@ page { flex-wrap: wrap; align-items: center; justify-content: space-between; - padding: 24rpx 32rpx; + padding: 24rpx; border-bottom: 2rpx solid var(--line); } @@ -156,14 +155,14 @@ page { .sex-tag-active .sex-text { color: var(--brand-ink); - font-weight: 700; + font-weight: 600; } /* ===== 健康备注 ===== */ .form-remark { display: flex; flex-direction: column; - padding: 24rpx 32rpx; + padding: 24rpx; } .form-textarea { @@ -256,7 +255,7 @@ page { box-shadow: var(--shadow-cta); color: var(--white); font-size: var(--fs-30); - font-weight: 700; + font-weight: 600; letter-spacing: 2rpx; line-height: 1.4; } diff --git a/pages/health/profilelist.wxss b/pages/health/profilelist.wxss index 570a79e..ec2154a 100644 --- a/pages/health/profilelist.wxss +++ b/pages/health/profilelist.wxss @@ -7,7 +7,7 @@ page { min-height: 100vh; box-sizing: border-box; /* 底部留出固定操作栏的高度 + 安全区,避免最后一条被盖住 */ - padding: 40rpx 32rpx calc(180rpx + env(safe-area-inset-bottom)); + padding: 32rpx 32rpx calc(180rpx + env(safe-area-inset-bottom)); } /* ===== 说明砖 ===== @@ -51,12 +51,11 @@ page { border-radius: 28rpx; background: var(--white); border: 2rpx solid var(--line); - box-shadow: var(--shadow-card); } /* 卡间距用相邻兄弟 margin:与预约记录、首页卡列表同一写法 */ .profile-card + .profile-card { - margin-top: 24rpx; + margin-top: 20rpx; } /* 主体整块可点进编辑。chevron 已去掉,点击暗示由按下态(.profile-main-hover)承担: @@ -89,7 +88,7 @@ page { .profile-mark-text { font-size: 40rpx; - font-weight: 700; + font-weight: 600; color: var(--brand-ink); letter-spacing: 1rpx; } @@ -128,7 +127,7 @@ page { /* 姓名是本页最重的字,走 --ink 700(标题档) */ .profile-name { font-size: var(--fs-32); - font-weight: 700; + font-weight: 600; color: var(--ink); } @@ -292,7 +291,7 @@ page { box-shadow: var(--shadow-cta); color: var(--white); font-size: var(--fs-30); - font-weight: 700; + font-weight: 600; letter-spacing: 2rpx; line-height: 1.4; }