Browse Source

修复高级筛选被底部导航栏遮挡的问题

pull/12/head
徐飞洋 2 months ago
parent
commit
9bca9f5312
  1. 6
      pages/index/index.wxss

6
pages/index/index.wxss

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

Loading…
Cancel
Save