1
This commit is contained in:
56
src/main_pages/index.scss
Normal file
56
src/main_pages/index.scss
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user