feat: init
This commit is contained in:
20
projects/translate-h5/src/layout/main/index.less
Normal file
20
projects/translate-h5/src/layout/main/index.less
Normal file
@@ -0,0 +1,20 @@
|
||||
.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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user