diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index f5320f2..a4ccde4 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -11,7 +11,7 @@ border-radius: 30rpx 30rpx 0 0; width: 750rpx; height: 120rpx; - z-index: 1; + z-index: 0; position: absolute; bottom: 0; box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.20); @@ -22,7 +22,7 @@ min-height: 160rpx; display: flex; position: relative; - z-index: 2; + z-index: 1; overflow: auto; } @@ -58,7 +58,7 @@ height: 60rpx; line-height: 60rpx; font-size: 30rpx; - z-index: 99; + z-index: 3; /* margin-top: -90rpx; */ } cover-view{