Files
tashow-h5/src/layout/main/index.less
2025-09-03 15:06:16 +08:00

21 lines
455 B
Plaintext

.main-layout {
height: 100%;
.layout-content {
height: 100%;
overflow-y: auto;
// padding-bottom: 150px;
padding-bottom: constant(safe-area-inset-bottom); /*兼容 IOS<11.2*/
padding-bottom: env(safe-area-inset-bottom); /*兼容 IOS>11.2*/
}
.layout-tab {
flex: 0 0 auto;
position: fixed;
bottom: 0;
width: 100%;
z-index: 1000;
background-color: #fff;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
}