From 6698adb9df2dc22ea1d96adb2a7f2f905e76dc0b Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Thu, 9 Oct 2025 19:35:25 +0800 Subject: [PATCH] =?UTF-8?q?refactor(home):=20:recycle:=20=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/tabbar.vue | 12 +----------- src/pages/index/index.vue | 24 +++++++++--------------- 2 files changed, 10 insertions(+), 26 deletions(-) diff --git a/src/layouts/tabbar.vue b/src/layouts/tabbar.vue index 239a9b3..c48353c 100644 --- a/src/layouts/tabbar.vue +++ b/src/layouts/tabbar.vue @@ -71,16 +71,6 @@ export default { // --window-top: uni-app提供的状态栏高度CSS变量(包含状态栏+导航栏) min-height: calc(100vh - var(--window-top)); - // 为固定定位的tabbar预留底部空间,避免内容被遮挡 - // 50px: wd-tabbar组件的固定高度 - // env(safe-area-inset-bottom): iOS设备底部安全区域高度(iPhone X系列的Home Indicator区域) - // 34px: 当设备不支持safe-area-inset-bottom时的降级值(一般Android设备) - padding-bottom: calc(50px + env(safe-area-inset-bottom, 34px)); - - background: #f9f9f9; -} - -.wot-theme-dark.page-wraper { - background: #222; + background: var(--wot-color-bg); } diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 76c8edb..5b0374a 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,9 +1,10 @@