修改了页面样式。

This commit is contained in:
lik
2026-11-03 16:15:41 +08:00
parent f78025e935
commit 82ed5c31a7
30 changed files with 3791 additions and 2989 deletions
+33
View File
@@ -106,6 +106,32 @@ page {
line-height: 1.6;
}
/* ===== 内容页签:纯文字 + 底边,不用圆角胶囊、不加背景块与过渡 =====
选中态只用 --brand-ink 文字 + 一条 --brand-strong 底边,比实心橙轻,不与提交按钮抢重音 */
.tab-bar {
display: flex;
margin-top: 32rpx;
border-bottom: 2rpx solid var(--line);
}
.tab-item {
flex: 1;
padding: 18rpx 0;
/* 下沉 2rpx 压住轨道底边,未选中项留同宽透明底边,切换时高度不跳 */
margin-bottom: -2rpx;
border-bottom: 4rpx solid transparent;
text-align: center;
font-size: 30rpx;
color: var(--muted);
letter-spacing: 1rpx;
}
.tab-item.active {
color: var(--brand-ink);
font-weight: 700;
border-bottom-color: var(--brand-strong);
}
/* ===== 通用区块:靠发丝线切分,不靠白卡浮起来 ===== */
.section {
margin-top: 44rpx;
@@ -113,6 +139,13 @@ page {
border-top: 2rpx solid var(--line);
}
/* 页签内的首个区块:页签下边线已切分,不再叠一条分隔线 */
.section.section-first {
margin-top: 32rpx;
padding-top: 0;
border-top: none;
}
.section-head {
display: flex;
align-items: center;