This commit is contained in:
张成
2025-11-15 11:48:59 +08:00
parent 0fa0dd5b22
commit 30857c131a
8 changed files with 33 additions and 9 deletions

56
src/main_pages/index.scss Normal file
View File

@@ -0,0 +1,56 @@
.main-page {
width: 100%;
height: 100vh;
position: relative;
overflow: hidden;
background-color: #FAFAFA;
display: flex;
flex-direction: column;
.tab-container {
width: 100%;
flex: 1;
position: relative;
overflow: hidden;
}
.tab-content {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0;
transform: scale(0.98);
transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
overflow-y: auto;
-webkit-overflow-scrolling: touch;
pointer-events: none;
will-change: opacity, transform;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
&.active {
opacity: 1;
transform: scale(1);
z-index: 1;
pointer-events: auto;
}
}
// 隐藏所有子页面中的GuideBar使用全局样式
.tab-content .guide-bar-container {
display: none !important;
}
}
// GuideBar z-index 控制
.guide-bar-low-z-index {
z-index: 0 !important;
}
.guide-bar-high-z-index {
z-index: 900 !important;
}