From b60c003ec24ed536d809f9fa777621b2917c537f Mon Sep 17 00:00:00 2001 From: Orion Date: Tue, 21 Jul 2026 11:03:13 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E2=9C=A8=20=E4=BC=98=E5=8C=96=202026=20?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=97=A0=E9=9A=9C=E7=A2=8D=E4=B8=8E=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E5=BC=8F=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 完善 2026 主题的移动端与桌面端交互体验,修复多项可访问性和信息展示问题。 - 允许浏览器缩放,补充焦点样式、按钮名称、表单标签和对话框键盘焦点管理\n- 支持 reduced-motion,扩大公共页、后台导航、记录列表和分页控件的触控区域\n- 优化系统设置分区导航、密码显示、字段语义和底部粘性保存栏\n- 压缩移动文件列表操作区,改善桌面表格滚动可达性和统计值截断\n- 优化仪表盘指标、趋势摘要、进度条语义及中英文文案 --- index.html | 2 +- src/App.vue | 4 +- src/assets/style/main.css | 16 +++ src/components/common/AlertComponent.vue | 5 +- src/components/common/BaseModal.vue | 129 +++++++++++------ src/components/common/DataPagination.vue | 129 +++++++---------- src/components/common/DataTable.vue | 13 +- src/components/common/ExpirationSelector.vue | 6 +- src/components/common/FileRecordList.vue | 17 ++- src/components/common/LanguageSwitcher.vue | 14 +- src/components/common/PageFooter.vue | 9 +- src/components/common/PageHeader.vue | 16 ++- src/components/common/RetrieveForm.vue | 7 +- src/components/common/SendTypeSelector.vue | 4 +- src/components/common/SentRecordList.vue | 17 ++- src/components/common/SettingNumberInput.vue | 31 ++-- src/components/common/SettingSwitch.vue | 49 +++---- src/components/common/SideDrawer.vue | 143 +++++++++++++------ src/components/common/StatCard.vue | 8 +- src/components/common/ThemeToggle.vue | 7 +- src/composables/useDashboardStats.ts | 16 ++- src/i18n/locales/en-US.ts | 45 ++++++ src/i18n/locales/zh-CN.ts | 45 ++++++ src/layout/AdminLayout/AdminLayout.vue | 8 +- src/main.ts | 2 + src/views/SendFileView.vue | 5 +- src/views/manage/DashboardView.vue | 64 +++++---- src/views/manage/FileManageView.vue | 20 +-- src/views/manage/SystemSettingsView.vue | 119 ++++++++++++--- 29 files changed, 638 insertions(+), 312 deletions(-) diff --git a/index.html b/index.html index fcbd449..5bf309c 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ diff --git a/src/App.vue b/src/App.vue index 8ef2c54..3eb1071 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,7 +21,7 @@ const { -
+
@@ -36,7 +36,7 @@ const { diff --git a/src/components/common/DataPagination.vue b/src/components/common/DataPagination.vue index 2c66ce6..f039869 100644 --- a/src/components/common/DataPagination.vue +++ b/src/components/common/DataPagination.vue @@ -1,53 +1,46 @@ diff --git a/src/components/common/DataTable.vue b/src/components/common/DataTable.vue index a07731c..e7d2caa 100644 --- a/src/components/common/DataTable.vue +++ b/src/components/common/DataTable.vue @@ -18,16 +18,18 @@
-
+
+
{{ title }}
@@ -53,9 +55,12 @@ import { inject, useSlots } from 'vue' interface Props { title: string headers: string[] + tableClass?: string } -defineProps() +withDefaults(defineProps(), { + tableClass: 'min-w-full' +}) const slots = useSlots() const isDarkMode = inject('isDarkMode') diff --git a/src/components/common/ExpirationSelector.vue b/src/components/common/ExpirationSelector.vue index 458d22f..5fe560d 100644 --- a/src/components/common/ExpirationSelector.vue +++ b/src/components/common/ExpirationSelector.vue @@ -1,6 +1,6 @@