54 lines
926 B
SCSS
54 lines
926 B
SCSS
.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;
|
||
transition: opacity 0.25s ease-out;
|
||
overflow-y: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
pointer-events: none;
|
||
visibility: hidden;
|
||
|
||
&.active {
|
||
opacity: 1;
|
||
z-index: 1;
|
||
pointer-events: auto;
|
||
visibility: visible;
|
||
}
|
||
}
|
||
|
||
// 隐藏所有子页面中的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;
|
||
}
|
||
|