Commit 9247641ffc5a44dfc9ae68835edd1eb4dfc600ae

Authored by vking
1 parent c70d5b32

boost + mapmenu

1 /* components/book/tabBar/tabBar.wxss */ 1 /* components/book/tabBar/tabBar.wxss */
2 @import "../app.wxss"; 2 @import "../app.wxss";
3 .tabBar{ 3 .tabBar{
4 - height: 98rpx; 4 + height: calc(98rpx + env(safe-area-inset-bottom));
5 background:rgba(249,249,249,1); 5 background:rgba(249,249,249,1);
6 box-shadow:0rpx 0rpx 8rpx 0rpx rgba(224,224,224,1); 6 box-shadow:0rpx 0rpx 8rpx 0rpx rgba(224,224,224,1);
7 width:100%; 7 width:100%;
8 position: fixed; 8 position: fixed;
9 z-index: 9; 9 z-index: 9;
10 box-sizing: border-box; 10 box-sizing: border-box;
11 - bottom: calc(0rpx + calc(env(safe-area-inset-bottom) mod 5)); 11 + bottom: 0;
12 12
13 } 13 }
14 .tabBar .text{ 14 .tabBar .text{
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 2
3 page{ 3 page{
4 background-color: #efefef; 4 background-color: #efefef;
5 - --barHeight:98rpx; 5 + --barHeight: calc(98rpx + env(safe-area-inset-bottom));
6 } 6 }
7 .pages{ 7 .pages{
8 width: 100%; 8 width: 100%;
@@ -343,7 +343,7 @@ page{ @@ -343,7 +343,7 @@ page{
343 background-color: #000; 343 background-color: #000;
344 width: calc(100% - 272rpx); 344 width: calc(100% - 272rpx);
345 position: fixed; 345 position: fixed;
346 - bottom:calc(490rpx + var(--barHeight)); 346 + bottom:calc(520rpx + var(--barHeight));
347 color: #fefefe; 347 color: #fefefe;
348 height:60rpx; 348 height:60rpx;
349 font-size:26rpx; 349 font-size:26rpx;