From d94fbdc4647efbfc06e22a55c632793fc028531b Mon Sep 17 00:00:00 2001 From: linbin <495561397@qq.com> Date: Tue, 2 Sep 2025 18:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BC=E8=BF=B0:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=A6=8F=E5=88=A9=E4=B8=93=E5=8C=BA=E9=A1=B5=E9=9D=A2=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=92=8C=E7=A7=AF=E5=88=86=E8=AE=A2=E5=8D=95=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整页面内容区域高度,移除底部多余内边距,优化页面布局 - 修改底部导航栏定位方式,从固定定位改为普通文档流定位,避免遮挡内容 - 调整悬浮购物车按钮位置,使其与新的底部导航栏布局适配 - 优化积分订单tab切换逻辑,进入订单页面时隐藏购物车按钮,提升用户体验 --- 用户端APP/福利专区.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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'; + } } // 渲染积分订单数据