refactor: 重构奖池配置页面,移除冗余组件,优化加载体验与国际化支持

This commit is contained in:
2026-05-21 16:46:48 +08:00
parent 3ce84af39c
commit 26feed3c4f
29 changed files with 393 additions and 213 deletions

View File

@@ -1,6 +1,12 @@
/**
* Single source of truth for config sub-navigation and breadcrumb routes.
* Add new config pages here and create the matching `app/admin/(shell)/config/.../page.tsx`.
*
* ## 导航层级约定(避免「侧栏 + 顶栏 + 页内 Tab」叠三层
* 1. **侧栏**:模块入口(如「运营配置」)— 全站唯一一级。
* 2. **本文件顶栏ConfigSubNav**:运营配置下的「业务子域」切换(玩法、赔率、奖池…)— 最多一层。
* 3. **页面内**:默认 **禁止再建 Tab/子路由**;改参数与查流水用 **同页分区ConfigSection** 或锚点 `#records`。
* 仅当子域体量极大、且与配置完全无关时再考虑独立路由,且不得与顶栏同名。
*/
export type ConfigNavGroup = {