style(mine): 我的页与子页去装饰并统一卡片规范

未登录态改为「登录后管理预约与就诊人」主文案+选填昵称;
我的、关于、商务合作、联系客服与资料编辑页删除重复页名色带,白卡去阴影,
标题字重统一 600。
This commit is contained in:
lik
2026-11-16 19:30:57 +08:00
parent 2ec0c2f486
commit 3a863fa9c1
9 changed files with 92 additions and 140 deletions
+33 -19
View File
@@ -80,9 +80,32 @@ page {
padding: 12rpx 0;
}
/* 未登录时只有昵称一行,space-between 会把它顶到最上,故改回居中 */
.header-info-single {
/* 未登录时是「主说明 + 选填昵称」两行,整体居中;
昵称不再是主文案,登录动作才是这一行的主角 */
.header-info-guest {
justify-content: center;
gap: 10rpx;
}
.guest-title {
font-size: var(--fs-28);
font-weight: 600;
color: var(--ink);
line-height: 1.3;
}
.guest-nickname {
width: 100%;
min-width: 0;
font-size: var(--fs-24);
font-weight: 400;
color: var(--ink-2);
line-height: 1.4;
}
.guest-nickname-placeholder {
color: var(--muted);
font-weight: 400;
}
/* 行高收到 1.15(约半行距 3rpx):1.3 的半行距会把字形从块边缘推进 5.5rpx,
@@ -90,7 +113,7 @@ page {
同时仍留一点余量,不至于配合 overflow: hidden 把字形切掉 */
.user-name {
font-size: 36rpx;
font-weight: 700;
font-weight: 600;
color: var(--ink);
line-height: 1.15;
overflow: hidden;
@@ -109,18 +132,6 @@ page {
text-overflow: ellipsis;
}
/* 未登录昵称输入框:沿用 .user-name 的字号字重,占满文字块宽度;
placeholder 降为 muted 常规字重,提示"可点填"而不冒充真昵称 */
.nickname-input {
width: 100%;
min-width: 0;
}
.nickname-placeholder {
color: var(--muted);
font-weight: 400;
}
/* 身份行右侧 chevron:与菜单行的 .menu-arrow 同形同色,
整行因此读成"菜单里的一行",点击暗示不必再添文字 */
.header-arrow {
@@ -141,7 +152,7 @@ page {
box-shadow: var(--shadow-cta);
color: var(--white);
font-size: var(--fs-28);
font-weight: 700;
font-weight: 600;
letter-spacing: 2rpx;
line-height: 1.4;
flex-shrink: 0;
@@ -172,7 +183,6 @@ page {
background: var(--white);
border-top: 2rpx solid var(--line);
border-bottom: 2rpx solid var(--line);
box-shadow: var(--shadow-card);
}
.menu-item {
@@ -236,7 +246,6 @@ page {
background: var(--white);
border-top: 2rpx solid var(--line);
border-bottom: 2rpx solid var(--line);
box-shadow: var(--shadow-card);
}
/* 按下反馈与 .menu-item-hover 同源,不引入新色值 */
@@ -256,12 +265,14 @@ page {
flex-direction: column;
align-items: center;
margin-top: auto;
padding-top: 60rpx;
padding-top: 32rpx;
}
.footer-links {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 20rpx;
}
@@ -291,6 +302,9 @@ page {
.footer-meta {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
row-gap: 12rpx;
}
.version {