From ed0fbb1930c625b301918f78ba56f5e04000a6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Fri, 26 Dec 2025 18:03:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/assets/main.css | 5 ----- Web/src/views/BillAnalysisView.vue | 6 ++++++ Web/src/views/CalendarView.vue | 5 +++++ Web/src/views/ClassificationBatch.vue | 5 +++++ Web/src/views/ClassificationEdit.vue | 5 +++++ Web/src/views/ClassificationNLP.vue | 5 +++++ Web/src/views/ClassificationSmart.vue | 9 +++++++-- Web/src/views/EmailRecord.vue | 5 +++++ Web/src/views/SettingView.vue | 5 +++++ Web/src/views/StatisticsView.vue | 5 +++++ Web/src/views/TransactionsRecord.vue | 5 +++++ 11 files changed, 53 insertions(+), 7 deletions(-) diff --git a/Web/src/assets/main.css b/Web/src/assets/main.css index 90483be..1547db8 100644 --- a/Web/src/assets/main.css +++ b/Web/src/assets/main.css @@ -59,9 +59,4 @@ html, body, #app { margin: 0; padding: 0; height: 100%; -} - -/* 设置页面容器背景色 */ -:deep(.van-nav-bar) { - background-color: transparent; } \ No newline at end of file diff --git a/Web/src/views/BillAnalysisView.vue b/Web/src/views/BillAnalysisView.vue index 017b6d0..a475a6e 100644 --- a/Web/src/views/BillAnalysisView.vue +++ b/Web/src/views/BillAnalysisView.vue @@ -178,6 +178,7 @@ const startAnalysis = async () => { scrollToBottom() } } catch (e) { + console.error('JSON解析错误:', e) // 忽略JSON解析错误 } } @@ -379,4 +380,9 @@ const startAnalysis = async () => { color: #ffc107; } } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} diff --git a/Web/src/views/CalendarView.vue b/Web/src/views/CalendarView.vue index cbe1054..cd59e04 100644 --- a/Web/src/views/CalendarView.vue +++ b/Web/src/views/CalendarView.vue @@ -259,4 +259,9 @@ fetchDailyStatistics(now.getFullYear(), now.getMonth() + 1); font-size: 14px; color: #969799; } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} diff --git a/Web/src/views/ClassificationBatch.vue b/Web/src/views/ClassificationBatch.vue index c81e83f..97ffaf6 100644 --- a/Web/src/views/ClassificationBatch.vue +++ b/Web/src/views/ClassificationBatch.vue @@ -512,4 +512,9 @@ onMounted(() => { :deep(.van-cell-group--inset) { margin: 16px; } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} diff --git a/Web/src/views/ClassificationEdit.vue b/Web/src/views/ClassificationEdit.vue index c5cae67..b9cd996 100644 --- a/Web/src/views/ClassificationEdit.vue +++ b/Web/src/views/ClassificationEdit.vue @@ -333,4 +333,9 @@ onMounted(() => { background: #1a1a1a; } } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} diff --git a/Web/src/views/ClassificationNLP.vue b/Web/src/views/ClassificationNLP.vue index 86a2ac4..45000b9 100644 --- a/Web/src/views/ClassificationNLP.vue +++ b/Web/src/views/ClassificationNLP.vue @@ -358,4 +358,9 @@ const handleSubmit = async () => { font-size: 20px; cursor: pointer; } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} diff --git a/Web/src/views/ClassificationSmart.vue b/Web/src/views/ClassificationSmart.vue index f6b4d66..2dd8e51 100644 --- a/Web/src/views/ClassificationSmart.vue +++ b/Web/src/views/ClassificationSmart.vue @@ -140,7 +140,7 @@ const startClassify = async () => { return } - const toast = showLoadingToast({ + showLoadingToast({ message: '智能分类中...', forbidClick: true, duration: 0 @@ -284,7 +284,7 @@ const saveClassifications = async () => { return } - const toast = showLoadingToast({ + showLoadingToast({ message: '保存中...', forbidClick: true, duration: 0 @@ -375,4 +375,9 @@ onMounted(() => { flex: 1; height: 44px; } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} \ No newline at end of file diff --git a/Web/src/views/EmailRecord.vue b/Web/src/views/EmailRecord.vue index 0a1d29f..ac4bfad 100644 --- a/Web/src/views/EmailRecord.vue +++ b/Web/src/views/EmailRecord.vue @@ -469,4 +469,9 @@ onMounted(() => { .delete-button { height: 100%; } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} \ No newline at end of file diff --git a/Web/src/views/SettingView.vue b/Web/src/views/SettingView.vue index 5dad35f..174364f 100644 --- a/Web/src/views/SettingView.vue +++ b/Web/src/views/SettingView.vue @@ -174,4 +174,9 @@ const handleLogout = async () => { color: #969799; font-weight: normal; } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} \ No newline at end of file diff --git a/Web/src/views/StatisticsView.vue b/Web/src/views/StatisticsView.vue index 673e1bf..4f77637 100644 --- a/Web/src/views/StatisticsView.vue +++ b/Web/src/views/StatisticsView.vue @@ -1103,4 +1103,9 @@ onActivated(() => { } } +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} + \ No newline at end of file diff --git a/Web/src/views/TransactionsRecord.vue b/Web/src/views/TransactionsRecord.vue index e12c10f..d9226d0 100644 --- a/Web/src/views/TransactionsRecord.vue +++ b/Web/src/views/TransactionsRecord.vue @@ -562,4 +562,9 @@ onMounted(async () => { .toolbar-confirm { margin-left: auto; } + +/* 设置页面容器背景色 */ +:deep(.van-nav-bar) { + background: transparent !important; +} \ No newline at end of file