feat(ui): enhance table and admin components with improved layout and status display

- Updated global CSS to center-align table headers and cells, ensuring a consistent layout.
- Modified admin table components to replace switches with status badges for better clarity.
- Enhanced internationalization support by adding new strings for version actions and validation messages in multiple locales.
- Refactored configuration document screens to include version selection and improved user feedback on status changes.
This commit is contained in:
2026-05-26 11:13:16 +08:00
parent 05fa0cbeec
commit 4080f0b601
38 changed files with 788 additions and 608 deletions

View File

@@ -47,6 +47,7 @@
"effectiveAt": "生效时间:{{value}}",
"note": "备注:{{value}}",
"current": "当前查看",
"moreActions": "版本 v{{version}} 更多操作",
"selected": "已选中",
"view": "查看",
"rollback": "回滚",
@@ -54,8 +55,11 @@
"deleteConfirmTitle": "确认删除版本?",
"deleteConfirmDescription": "将永久删除版本 ID {{id}}version_no {{version}})。生效中的版本不可删除。"
},
"versionToolbar": {
"draftEditing": "正在编辑草稿,保存并发布后生效"
},
"versionActions": {
"publishCurrent": "启用为当前版本",
"publishCurrent": "发布生效",
"refreshing": "刷新中",
"refresh": "刷新版本",
"newDraft": "新建草稿",
@@ -194,7 +198,8 @@
"batchSwitchEnable": "开启",
"batchSwitchDisable": "关闭",
"toggleConfirmTitle": "确认{{action}}玩法 {{playCode}}",
"toggleConfirmDescription": "将立即调用接口生效(不仅限于草稿)。",
"toggleConfirmDescription": "将写入当前草稿;保存并发布后才会影响玩家端。",
"batchPartialEnabled": "{{enabledCount}}/{{total}} 已开启(未全开,打开开关将全部开启)",
"toggleEnable": "开启",
"toggleDisable": "关闭",
"toggleInstantFailed": "玩法开关即时生效失败,请稍后重试",

View File

@@ -14,6 +14,7 @@
"exportHint": "接入导出接口后,会按当前条件生成对应格式的文件。",
"validation": {
"drawNoRequired": "请输入期号",
"drawNoNotFound": "未找到期号「{{drawNo}}」",
"drawNoNumberRequired": "请输入期号和号码"
},
"formats": {