From 6e955689062a112e9e4e8e0384e948d453b5886c Mon Sep 17 00:00:00 2001 From: SunCheng Date: Fri, 20 Feb 2026 13:56:29 +0800 Subject: [PATCH] fix --- Web/src/components/Budget/BudgetCard.vue.bak | 843 ------------------ .../components/Budget/BudgetChartAnalysis.vue | 80 +- Web/src/components/DateSelectHeader.vue | 1 + Web/src/components/PopupContainerV2.vue | 180 ++++ .../Transaction/TransactionDetailSheet.vue | 719 +++++++-------- Web/src/views/BalanceView.vue | 1 + Web/src/views/SettingView.vue | 42 +- .../.openspec.yaml | 2 + .../design.md | 107 +++ .../proposal.md | 34 + .../specs/transaction-detail-ui/spec.md | 119 +++ .../tasks.md | 60 ++ openspec/specs/transaction-detail-ui/spec.md | 119 +++ 13 files changed, 1038 insertions(+), 1269 deletions(-) delete mode 100644 Web/src/components/Budget/BudgetCard.vue.bak create mode 100644 Web/src/components/PopupContainerV2.vue create mode 100644 openspec/changes/archive/2026-02-20-refactor-popup-container-component/.openspec.yaml create mode 100644 openspec/changes/archive/2026-02-20-refactor-popup-container-component/design.md create mode 100644 openspec/changes/archive/2026-02-20-refactor-popup-container-component/proposal.md create mode 100644 openspec/changes/archive/2026-02-20-refactor-popup-container-component/specs/transaction-detail-ui/spec.md create mode 100644 openspec/changes/archive/2026-02-20-refactor-popup-container-component/tasks.md create mode 100644 openspec/specs/transaction-detail-ui/spec.md diff --git a/Web/src/components/Budget/BudgetCard.vue.bak b/Web/src/components/Budget/BudgetCard.vue.bak deleted file mode 100644 index 0f5951f..0000000 --- a/Web/src/components/Budget/BudgetCard.vue.bak +++ /dev/null @@ -1,843 +0,0 @@ - - - - - - diff --git a/Web/src/components/Budget/BudgetChartAnalysis.vue b/Web/src/components/Budget/BudgetChartAnalysis.vue index 2fe44b4..b1ea981 100644 --- a/Web/src/components/Budget/BudgetChartAnalysis.vue +++ b/Web/src/components/Budget/BudgetChartAnalysis.vue @@ -6,14 +6,15 @@
- - {{ activeTab === BudgetCategory.Expense ? '使用情况(月度)' : '完成情况(月度)' }} + + {{ activeTab === BudgetCategory.Expense ? '使用情况(月度)' : '完成情况(月度)' }} +
@@ -27,15 +28,15 @@ />
- 余额 + {{ activeTab === BudgetCategory.Expense ? '余额' : '差额' }}
¥{{ formatMoney(Math.abs(overallStats.month.limit - overallStats.month.current)) }} @@ -44,11 +45,11 @@
@@ -58,13 +59,15 @@
- {{ activeTab === BudgetCategory.Expense ? '使用情况(年度)' : '完成情况(年度)' }} + + {{ activeTab === BudgetCategory.Expense ? '使用情况(年度)' : '完成情况(年度)' }} +
@@ -78,16 +81,15 @@ />
- 余额 + {{ activeTab === BudgetCategory.Expense ? '余额' : '差额' }}
¥{{ formatMoney(Math.abs(overallStats.year.limit - overallStats.year.current)) }} @@ -96,11 +98,11 @@
@@ -117,7 +119,7 @@ 预算进度(月度)
- 预算剩余消耗趋势 + {{ activeTab === BudgetCategory.Expense ? '预算剩余消耗趋势' : '收入积累趋势' }}
+ + diff --git a/Web/src/components/Transaction/TransactionDetailSheet.vue b/Web/src/components/Transaction/TransactionDetailSheet.vue index 43aeae5..07a7d6b 100644 --- a/Web/src/components/Transaction/TransactionDetailSheet.vue +++ b/Web/src/components/Transaction/TransactionDetailSheet.vue @@ -1,152 +1,134 @@ diff --git a/Web/src/views/BalanceView.vue b/Web/src/views/BalanceView.vue index aa30540..d022177 100644 --- a/Web/src/views/BalanceView.vue +++ b/Web/src/views/BalanceView.vue @@ -110,6 +110,7 @@ const messageViewRef = ref(null) background: transparent; position: relative; z-index: 1; + min-height: 60px; /* 与 calendar-header 保持一致,防止切换抖动 */ } .header-title { diff --git a/Web/src/views/SettingView.vue b/Web/src/views/SettingView.vue index e6214f8..2181356 100644 --- a/Web/src/views/SettingView.vue +++ b/Web/src/views/SettingView.vue @@ -1,9 +1,12 @@