Files
mini-programs/src/main_pages/index.scss
2025-11-23 00:24:31 +08:00

58 lines
1.1 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.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;
}