diff --git a/用户端APP/福利专区.html b/用户端APP/福利专区.html index b1551bc..f458a55 100644 --- a/用户端APP/福利专区.html +++ b/用户端APP/福利专区.html @@ -85,7 +85,6 @@ border-radius: 20px 20px 0 0; margin-top: -15px; padding: 20px; - padding-bottom: 120px; min-height: calc(100vh - 200px); } @@ -874,15 +873,12 @@ /* 底部导航 */ .bottom-nav { - position: fixed; - bottom: 0; - left: 0; - right: 0; background: white; display: flex; justify-content: space-around; padding: 10px 0 25px; border-top: 1px solid #eee; + margin-top: 20px; } .nav-item { @@ -912,7 +908,7 @@ /* 悬浮购物车图标 */ .floating-cart { position: fixed; - bottom: 90px; + bottom: 20px; right: 20px; width: 60px; height: 60px; @@ -1704,6 +1700,14 @@ if (tabName === 'orders') { renderPointsOrders(); } + + // 积分订单tab不显示购物车按钮 + const floatingCart = document.getElementById('floatingCart'); + if (tabName === 'orders') { + floatingCart.style.display = 'none'; + } else { + floatingCart.style.display = 'flex'; + } } // 渲染积分订单数据