docs: document left-sidebar shell as web-admin default

Update Fresh Mint layout section so the runtime shell matches the
approved left-tree + header/worktab/content structure.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-02 09:48:01 +08:00
1 parent 3e99904eea
commit a4dc83e7e7
1 file changed
+9
+9
View File
@@ -86,6 +86,15 @@
## 3. 全局与布局结构
### 3.0 默认壳层(web-admin 运行时)
- **默认布局**:左侧树菜单(`MenuTypeEnum.LEFT`),不再默认门户顶栏。
- **左侧**:Logo + 系统名称 + 树形菜单;菜单数字角标为红底白字圆角(`#dc2626`)。
- **右侧自上而下**:顶栏(面包屑/工具,高约 56px)→ 多页签 WorkTab → 内容区。
- **侧栏宽度**:约 `220px`(与本节 `.sidebar` 宽度一致)。
- **门户布局(PORTAL)**:保留为可选;设置面板可切换;业务页内容规范不变。
- **色调**:Fresh Mint(`--primary #10b981` 链);不得使用案例 HTML 的 `#167c4a` 作为主色。
### 3.1 根布局 `.layout`
- `display: flex`,`min-height: 100vh`