页面顶部空白调整

This commit is contained in:
2026-07-21 08:07:07 +08:00
parent bc0b0cafd6
commit e1f5130c18
8 changed files with 19 additions and 31 deletions
+5 -1
View File
@@ -20,11 +20,15 @@
padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
/* H5 无 Tab 顶栏:贴顶,去掉标题栏留白 */
/* 无自定义 Tab 顶栏:贴顶(标题走小程序/H5 系统导航栏) */
.page-shell.no-tab-header,
.page-shell.h5-no-tab-header {
--nav-bar-height: 0px;
--nav-status-bar-height: 0px;
--nav-content-height: 0px;
}
.page-shell.no-tab-header .home-aroma-nav,
.page-shell.h5-no-tab-header .home-aroma-nav {
top: 0;
}