From 08df0a36f08d8060bbccbf2269cf6026eb582f6c Mon Sep 17 00:00:00 2001 From: tbphp Date: Fri, 31 Jul 2026 13:09:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E7=BB=9F=E4=B8=80=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E4=B8=8E=E7=99=BB=E5=BD=95=E9=A1=B5=E8=A7=86=E8=A7=89?= =?UTF-8?q?=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/app/AppShell.vue | 23 +-- web/src/components/charts/TrendChart.vue | 145 +++++++++----- web/src/components/charts/trend-chart.ts | 21 +- web/src/components/layout/PageSection.vue | 1 - web/src/components/layout/PublicShell.vue | 86 +-------- web/src/components/ui/AppButton.vue | 41 +++- web/src/components/ui/AppPopover.vue | 4 +- web/src/components/ui/AppSelect.vue | 30 ++- web/src/components/ui/CodeBlock.vue | 68 ++++++- web/src/components/ui/CopyAction.vue | 18 +- web/src/components/ui/DataTable.vue | 33 +++- web/src/components/ui/DisclosurePanel.vue | 50 +++++ web/src/components/ui/IconButton.vue | 25 ++- web/src/components/ui/InlineFeedback.vue | 60 +++++- web/src/components/ui/SegmentedControl.vue | 61 ++++-- web/src/components/ui/SkeletonBlock.vue | 9 +- web/src/components/ui/StatFigure.vue | 2 +- web/src/features/auth/LoginView.vue | 136 +++++++++++-- web/src/features/home/ConsumptionRanking.vue | 51 +++-- web/src/features/home/GatewayConnection.vue | 85 +++++--- web/src/features/home/HomeSummary.vue | 103 ++++++---- web/src/features/home/HomeView.vue | 67 ++++--- web/src/features/home/HomeWelcome.vue | 61 +++--- web/src/features/home/home-presenter.ts | 4 +- .../preferences/PreferencesControl.vue | 182 ++++++++++-------- web/src/i18n/locales/en-US/core.ts | 77 +++++--- web/src/i18n/locales/ja-JP/core.ts | 77 +++++--- web/src/i18n/locales/zh-CN/core.ts | 75 +++++--- web/src/lib/format.ts | 95 +++++---- web/src/styles/base.css | 16 +- web/src/styles/tokens.css | 12 ++ 31 files changed, 1153 insertions(+), 565 deletions(-) create mode 100644 web/src/components/ui/DisclosurePanel.vue diff --git a/web/src/app/AppShell.vue b/web/src/app/AppShell.vue index a24f3610..4d05dd94 100644 --- a/web/src/app/AppShell.vue +++ b/web/src/app/AppShell.vue @@ -142,8 +142,13 @@ watch( :close-label="t('shell.closeNavigation')" >