diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 93ace63..c42a487 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -554,12 +554,12 @@ wx-button:not([size=mini]) { /* 底部弹出样式 */ .sidebar.bottom-popup { top: auto; - bottom: 0; + bottom: 2rpx; /* 避开底部导航栏 */ left: 0; right: 0; width: 100%; - height: 80%; - max-height: 1000rpx; + height: calc(80% - 100rpx); /* 调整高度,减去底部导航栏高度 */ + max-height: calc(1000rpx - 100rpx); border-radius: 40rpx 40rpx 0 0; animation: slideUp 0.3s ease; box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.2);