✨ 优化 2026 前端无障碍与响应式体验

完善 2026 主题的移动端与桌面端交互体验,修复多项可访问性和信息展示问题。

- 允许浏览器缩放,补充焦点样式、按钮名称、表单标签和对话框键盘焦点管理\n- 支持 reduced-motion,扩大公共页、后台导航、记录列表和分页控件的触控区域\n- 优化系统设置分区导航、密码显示、字段语义和底部粘性保存栏\n- 压缩移动文件列表操作区,改善桌面表格滚动可达性和统计值截断\n- 优化仪表盘指标、趋势摘要、进度条语义及中英文文案
This commit is contained in:
orion committed 2026-07-21 11:05:23 +08:00
1 parent 2f020f5d42
commit b60c003ec2
29 files changed
+638 -312

No files matched your search

+45
View File
@@ -10,6 +10,14 @@ export default {
add: 'Add',
back: 'Back',
next: 'Next',
language: 'Select language',
switchToLight: 'Switch to light mode',
switchToDark: 'Switch to dark mode',
showPassword: 'Show password',
hidePassword: 'Hide password',
openMenu: 'Open navigation menu',
closeMenu: 'Close navigation menu',
dialog: 'Dialog',
previous: 'Previous',
loading: 'Loading...',
noData: 'No Data',
@@ -46,6 +54,8 @@ export default {
second: 'second',
hour: 'hour',
day: 'day',
dayShort: 'd',
hourShort: 'h',
times: 'times',
appName: 'FileCodeBox - File Transfer',
appDescription: 'Ready-to-use file transfer system'
@@ -111,6 +121,29 @@ export default {
title: 'Permanent',
description: 'View long-retention share records'
}
},
topDownloads: {
title: 'Top 5 Downloads',
description: 'Downloads and traffic in the selected date range',
file: 'File',
downloads: 'Downloads',
traffic: 'Traffic',
status: 'Status',
empty: 'No download records',
current: 'Current',
history: 'Historical'
},
trend: {
title: 'Download / Upload Trend',
mobileHint: 'Tap or slide to inspect; drag the bottom date axis to pan',
startDate: 'Start date',
endDate: 'End date',
zoomIn: 'Zoom in',
zoomOut: 'Zoom out',
reset: 'Reset',
noData: 'No data',
loadFailed: 'Failed to load analytics',
summary: '{window}: {downloads} downloads / {downloadTraffic}, {uploads} uploads / {uploadTraffic}'
}
},
fileManage: {
@@ -313,6 +346,9 @@ export default {
forever: 'Forever',
count: 'By Count',
label: 'Expiration Time',
method: 'Expiration method',
increment: 'Increase expiration value',
decrement: 'Decrease expiration value',
placeholders: {
days: 'Enter days',
hours: 'Enter hours',
@@ -741,6 +777,11 @@ export default {
unsavedChanges: 'Unsaved configuration changes',
allChangesSaved: 'All configuration changes are saved',
refreshBlocked: 'Save current changes before refreshing'
,sectionNavigation: 'Settings section navigation'
,reloadSaved: 'Reload saved settings'
,robotsWarning: 'A Disallow: / rule blocks search engines from crawling the entire site.'
,fileSizeUnit: 'File size unit'
,timeUnit: 'Time unit'
},
systemSettings: {
title: 'System Settings',
@@ -924,6 +965,10 @@ export default {
// Components
components: {
pagination: {
range: 'Showing {start} to {end} of {total}',
pageSize: 'Items per page',
perPage: '{size}/page',
goToPage: 'Go to page {page}',
showing: 'Showing',
to: 'to',
of: 'of',
+45
View File
@@ -10,6 +10,14 @@ export default {
add: '添加',
back: '返回',
next: '下一页',
language: '选择语言',
switchToLight: '切换到浅色模式',
switchToDark: '切换到深色模式',
showPassword: '显示密码',
hidePassword: '隐藏密码',
openMenu: '打开导航菜单',
closeMenu: '关闭导航菜单',
dialog: '对话框',
previous: '上一页',
loading: '加载中...',
noData: '暂无数据',
@@ -46,6 +54,8 @@ export default {
second: '秒',
hour: '小时',
day: '天',
dayShort: '天',
hourShort: '小时',
times: '次',
appName: '文件快递柜 - FileCodeBox',
appDescription: '开箱即用的文件快传系统'
@@ -111,6 +121,29 @@ export default {
title: '永久有效',
description: '查看长期保留的分享记录'
}
},
topDownloads: {
title: '热门下载 Top 5',
description: '统计当前日期范围内的下载次数和流量',
file: '文件',
downloads: '下载',
traffic: '流量',
status: '状态',
empty: '暂无下载记录',
current: '现存',
history: '历史'
},
trend: {
title: '下载/上传趋势',
mobileHint: '轻触或滑动查看数据;拖动底部日期轴平移图表',
startDate: '开始日期',
endDate: '结束日期',
zoomIn: '放大',
zoomOut: '缩小',
reset: '重置',
noData: '无数据',
loadFailed: '统计加载失败',
summary: '{window},下载 {downloads} 次 / {downloadTraffic},上传 {uploads} 次 / {uploadTraffic}'
}
},
fileManage: {
@@ -342,6 +375,9 @@ export default {
},
expiration: {
label: '过期时间',
method: '过期方式',
increment: '增加过期值',
decrement: '减少过期值',
placeholders: {
days: '输入天数',
hours: '输入小时数',
@@ -769,6 +805,11 @@ export default {
unsavedChanges: '有未保存的配置变更',
allChangesSaved: '所有配置已保存',
refreshBlocked: '请先保存当前变更再刷新'
,sectionNavigation: '设置分区导航'
,reloadSaved: '重新加载已保存配置'
,robotsWarning: '如果包含 Disallow: /,搜索引擎将无法抓取整个站点。'
,fileSizeUnit: '文件大小单位'
,timeUnit: '时间单位'
},
dashboard: {
title: '仪表盘',
@@ -944,6 +985,10 @@ export default {
// 组件相关
components: {
pagination: {
range: '显示第 {start} 到 {end} 条,共 {total} 条',
pageSize: '每页显示数量',
perPage: '{size}/页',
goToPage: '前往第 {page} 页',
showing: '显示第',
to: '到',
of: '条,共',