用户端小程序修改

This commit is contained in:
2026-07-12 20:24:03 +08:00
parent e2dfb08de3
commit b267e885be
16 changed files with 551 additions and 214 deletions
+62 -29
View File
@@ -34,23 +34,29 @@
position: relative;
display: flex;
align-items: center;
justify-content: center;
justify-content: flex-end;
width: 100%;
}
.tab-main-header__title {
position: absolute;
left: var(--nav-padding-left);
right: var(--nav-padding-right);
left: 0;
right: 0;
top: var(--nav-status-bar-height);
height: var(--nav-content-height);
line-height: var(--nav-content-height);
text-align: center;
padding: 0 48px;
box-sizing: border-box;
font-family: var(--font-headline);
font-size: 18px;
font-size: 16px;
font-weight: 700;
color: var(--color-heritage-red);
line-height: 1.2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
pointer-events: none;
z-index: 1;
}
.tab-main-header__extra {
@@ -94,11 +100,13 @@
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.page-nav-bar__btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
border-radius: 999px;
@@ -107,6 +115,16 @@
justify-content: center;
background: rgba(255, 255, 255, 0.8);
flex-shrink: 0;
z-index: 2;
}
.page-nav-bar__btn--back {
left: 0;
}
.page-nav-bar__btn--right {
left: auto;
right: 0;
}
.page-nav-bar--solid .page-nav-bar__btn {
@@ -119,10 +137,11 @@
}
.page-nav-bar__icon {
font-size: 28px;
font-size: 32px;
line-height: 1;
color: var(--color-ink-black);
font-weight: 300;
margin-top: -2px;
}
.page-nav-bar__icon--share {
@@ -132,19 +151,25 @@
.page-nav-bar__title {
position: absolute;
left: var(--nav-padding-left);
right: var(--nav-padding-right);
left: 0;
right: 0;
top: var(--nav-status-bar-height);
height: var(--nav-content-height);
line-height: var(--nav-content-height);
text-align: center;
padding: 0 48px;
box-sizing: border-box;
opacity: 0;
font-family: var(--font-headline);
font-size: 16px;
font-size: 15px;
font-weight: 600;
color: var(--color-ink-black);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
transition: opacity 0.3s;
pointer-events: none;
z-index: 1;
}
.page-nav-bar__title--visible {
@@ -170,10 +195,31 @@
position: relative;
display: flex;
align-items: center;
justify-content: center;
justify-content: flex-end;
width: 100%;
}
.sub-page-header__title {
position: absolute;
left: 0;
right: 0;
top: var(--nav-status-bar-height);
height: var(--nav-content-height);
line-height: var(--nav-content-height);
text-align: center;
padding: 0 48px;
box-sizing: border-box;
font-family: var(--font-headline);
font-size: 16px;
font-weight: 700;
color: var(--color-heritage-red);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
pointer-events: none;
z-index: 1;
}
.sub-page-header__back {
position: absolute;
left: 0;
@@ -181,32 +227,18 @@
transform: translateY(-50%);
width: 40px;
height: 40px;
margin-left: -8px;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
.sub-page-header__back-icon {
font-size: 28px;
font-size: 32px;
line-height: 1;
color: var(--color-heritage-red);
font-weight: 300;
}
.sub-page-header__title {
position: absolute;
left: var(--nav-padding-left);
right: var(--nav-padding-right);
text-align: center;
font-family: var(--font-headline);
font-size: 18px;
font-weight: 700;
color: var(--color-heritage-red);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
pointer-events: none;
margin-top: -2px;
}
.sub-page-header__right {
@@ -214,6 +246,7 @@
right: 0;
top: 50%;
transform: translateY(-50%);
z-index: 2;
}
.sub-page-body {