From 045158730f3eb465646105a6f201dc8632f79d08 Mon Sep 17 00:00:00 2001 From: SunCheng Date: Sat, 21 Feb 2026 10:10:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=95=B4=E7=90=86=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TransactionDetail, CategoryBillPopup 移入 Transaction/ - BudgetTypeTabs 移入 Budget/ - GlassBottomNav, ModernEmpty 移入 Global/ - Icon, IconSelector, ClassifySelector 等 8 个通用组件移入 Common/ - 更新所有相关引用路径 --- Web/src/App.vue | 2 +- Web/src/components/Bill/BillForm.vue | 2 +- Web/src/components/Bill/BillListComponent.vue | 2 +- Web/src/components/Budget/BudgetCard.vue | 2 +- Web/src/components/Budget/BudgetChartAnalysis.vue | 2 +- Web/src/components/Budget/BudgetEditPopup.vue | 4 ++-- Web/src/components/{ => Budget}/BudgetTypeTabs.vue | 0 Web/src/components/Budget/SavingsConfigPopup.vue | 4 ++-- Web/src/components/{ => Common}/AddClassifyDialog.vue | 0 Web/src/components/{ => Common}/ClassifySelector.vue | 0 Web/src/components/{ => Common}/DateSelectHeader.vue | 0 Web/src/components/{ => Common}/Icon.vue | 0 Web/src/components/{ => Common}/IconSelector.vue | 0 Web/src/components/{ => Common}/PopupContainerV2.vue | 0 Web/src/components/{ => Common}/ReasonGroupList.vue | 0 Web/src/components/{ => Common}/TimePeriodTabs.vue | 0 Web/src/components/{ => Global}/GlassBottomNav.vue | 0 Web/src/components/Global/GlobalAddBill.vue | 2 +- Web/src/components/{ => Global}/ModernEmpty.vue | 0 Web/src/components/{ => Transaction}/CategoryBillPopup.vue | 2 +- Web/src/components/{ => Transaction}/TransactionDetail.vue | 4 ++-- Web/src/components/Transaction/TransactionDetailSheet.vue | 4 ++-- Web/src/views/BillAnalysisView.vue | 2 +- Web/src/views/ClassificationBatch.vue | 2 +- Web/src/views/ClassificationEdit.vue | 6 +++--- Web/src/views/ClassificationNLP.vue | 4 ++-- Web/src/views/ClassificationSmart.vue | 2 +- Web/src/views/EmailRecord.vue | 4 ++-- Web/src/views/MessageView.vue | 2 +- Web/src/views/PeriodicRecord.vue | 4 ++-- Web/src/views/TransactionsRecord.vue | 2 +- Web/src/views/UnconfirmedClassification.vue | 2 +- Web/src/views/budgetV2/Index.vue | 6 +++--- Web/src/views/budgetV2/modules/SavingsBudgetContent.vue | 2 +- Web/src/views/calendarV2/Index.vue | 2 +- Web/src/views/statisticsV2/Index.vue | 6 +++--- Web/src/views/statisticsV2/modules/ExpenseCategoryCard.vue | 2 +- .../views/statisticsV2/modules/IncomeNoneCategoryCard.vue | 2 +- 38 files changed, 40 insertions(+), 40 deletions(-) rename Web/src/components/{ => Budget}/BudgetTypeTabs.vue (100%) rename Web/src/components/{ => Common}/AddClassifyDialog.vue (100%) rename Web/src/components/{ => Common}/ClassifySelector.vue (100%) rename Web/src/components/{ => Common}/DateSelectHeader.vue (100%) rename Web/src/components/{ => Common}/Icon.vue (100%) rename Web/src/components/{ => Common}/IconSelector.vue (100%) rename Web/src/components/{ => Common}/PopupContainerV2.vue (100%) rename Web/src/components/{ => Common}/ReasonGroupList.vue (100%) rename Web/src/components/{ => Common}/TimePeriodTabs.vue (100%) rename Web/src/components/{ => Global}/GlassBottomNav.vue (100%) rename Web/src/components/{ => Global}/ModernEmpty.vue (100%) rename Web/src/components/{ => Transaction}/CategoryBillPopup.vue (98%) rename Web/src/components/{ => Transaction}/TransactionDetail.vue (98%) diff --git a/Web/src/App.vue b/Web/src/App.vue index dde52c0..aa5f58d 100644 --- a/Web/src/App.vue +++ b/Web/src/App.vue @@ -45,7 +45,7 @@ import { RouterView, useRoute } from 'vue-router' import { ref, onMounted, onUnmounted, computed, watch } from 'vue' import { useMessageStore } from '@/stores/message' import GlobalAddBill from '@/components/Global/GlobalAddBill.vue' -import GlassBottomNav from '@/components/GlassBottomNav.vue' +import GlassBottomNav from '@/components/Global/GlassBottomNav.vue' import '@/styles/common.css' import { needRefresh, updateServiceWorker } from './registerServiceWorker' diff --git a/Web/src/components/Bill/BillForm.vue b/Web/src/components/Bill/BillForm.vue index 1a27c40..879a140 100644 --- a/Web/src/components/Bill/BillForm.vue +++ b/Web/src/components/Bill/BillForm.vue @@ -132,7 +132,7 @@ import { ref, onMounted, watch, nextTick } from 'vue' import { showToast } from 'vant' import dayjs from 'dayjs' -import ClassifySelector from '@/components/ClassifySelector.vue' +import ClassifySelector from '@/components/Common/ClassifySelector.vue' const props = defineProps({ initialData: { diff --git a/Web/src/components/Bill/BillListComponent.vue b/Web/src/components/Bill/BillListComponent.vue index 50980af..7e83142 100644 --- a/Web/src/components/Bill/BillListComponent.vue +++ b/Web/src/components/Bill/BillListComponent.vue @@ -232,7 +232,7 @@ import { ref, computed, watch, onMounted } from 'vue' import { showConfirmDialog, showToast } from 'vant' import { getTransactionList, deleteTransaction } from '@/api/transactionRecord' import { getCategoryList } from '@/api/transactionCategory' -import Icon from '@/components/Icon.vue' +import Icon from '@/components/Common/Icon.vue' /** * @typedef {Object} Transaction diff --git a/Web/src/components/Budget/BudgetCard.vue b/Web/src/components/Budget/BudgetCard.vue index 81d625b..07f505b 100644 --- a/Web/src/components/Budget/BudgetCard.vue +++ b/Web/src/components/Budget/BudgetCard.vue @@ -429,7 +429,7 @@