From 15f0ba0993bc6114f65674db4d4ef418ff679f78 Mon Sep 17 00:00:00 2001 From: SunCheng Date: Wed, 4 Feb 2026 16:23:12 +0800 Subject: [PATCH] fix --- Web/index.html | 2 +- Web/src/App.vue | 3 ++- Web/src/views/calendarV2/Index.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Web/index.html b/Web/index.html index d7f5761..9af539e 100644 --- a/Web/index.html +++ b/Web/index.html @@ -10,7 +10,7 @@ - + diff --git a/Web/src/App.vue b/Web/src/App.vue index ef13d92..57e80a3 100644 --- a/Web/src/App.vue +++ b/Web/src/App.vue @@ -231,6 +231,7 @@ const handleAddTransactionSuccess = () => { /* 使用准确的视口高度 CSS 变量 */ height: var(--vh, 100vh); width: 100%; + background-color: var(--van-background); } .app-root { @@ -240,7 +241,7 @@ const handleAddTransactionSuccess = () => { padding-top: max(0px, calc(env(safe-area-inset-top, 0px) * 0.75)); box-sizing: border-box; overflow: hidden; - background: transparent; + background-color: var(--van-background); } /* TabBar 固定在底部 */ diff --git a/Web/src/views/calendarV2/Index.vue b/Web/src/views/calendarV2/Index.vue index 130907a..d235c04 100644 --- a/Web/src/views/calendarV2/Index.vue +++ b/Web/src/views/calendarV2/Index.vue @@ -336,7 +336,6 @@ onBeforeUnmount(() => { .calendar-v2-wrapper { font-family: var(--font-primary); color: var(--text-primary); - background-color: var(--van-background); } .calendar-scroll-content { @@ -344,6 +343,7 @@ onBeforeUnmount(() => { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; + background-color: var(--bg-primary); } /* ========== 头部 ========== */