页面头部的白色留白去掉
CI / verify (pull_request) Has been cancelled

This commit is contained in:
2026-07-16 11:38:44 +08:00
parent 4de570f5f4
commit fd5427c7ea
11 changed files with 97 additions and 43 deletions
+22 -21
View File
@@ -1489,25 +1489,13 @@
}
.shop-records-header {
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
max-width: 480px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 var(--space-page);
background: rgba(250, 249, 247, 0.9);
backdrop-filter: blur(10px);
z-index: 50;
/* 页内标题已隐藏:不再占位;保留类名以免改 JSX */
display: none !important;
}
.shop-records-filters {
position: sticky;
top: 56px;
top: 0;
z-index: 40;
background: var(--color-surface);
border-bottom: 1px solid var(--color-surface-container-highest);
@@ -1578,7 +1566,7 @@
}
.shop-records-main {
padding-top: 56px;
padding-top: 0;
}
.shop-records-summary {
@@ -2732,11 +2720,24 @@
cursor: pointer;
}
/* 微信 H5 系统标题已展示:隐藏页内重复标题,保留返回键与顶栏布局 */
/* 微信 H5 系统标题已展示:隐藏页内重复标题,保留返回键与操作区 */
.app-page-title {
visibility: hidden;
font-size: 0 !important;
line-height: 0 !important;
color: transparent !important;
display: none !important;
}
/* 仅含标题的顶栏一并收起,去掉空白条;有返回/操作的顶栏保留 */
header:has(> .app-page-title:only-child),
.shop-home-header:has(> .app-page-title:only-child),
.shop-mine-header:has(> .app-page-title:only-child),
.shop-records-header:has(> .app-page-title:only-child),
.app-page-header:has(> .app-page-title:only-child) {
display: none !important;
height: 0 !important;
min-height: 0 !important;
padding: 0 !important;
margin: 0 !important;
overflow: hidden;
border: none !important;
box-shadow: none !important;
}