Commit Graph

11 Commits

Author SHA1 Message Date
116e363e83 样式整改 2026-02-25 23:44:01 +08:00
c8518a381f fix: 前端优化 2026-02-25 21:57:05 +08:00
fe4b004e0c 优化 2026-02-11 00:39:16 +08:00
7acc5bce8b feat: d new layout components including FullWidthLayout, LayoutHeader, TabLayout, CardLayout, FormLayout, BasicLayout, and a Copywriting view. 2026-02-11 00:17:51 +08:00
0e9a1147f7 feat: 功能 2026-02-08 19:46:17 +08:00
aa81a1aebc feat: 布局优化 2026-01-18 01:07:11 +08:00
e0cf6092a9 feat: 功能优化 2026-01-18 00:34:04 +08:00
fe91226727 feat: 功能优化 2026-01-17 19:54:57 +08:00
091e3d2d05 feat: 功能优化 2026-01-17 19:33:59 +08:00
fecd47e25d feat: 功能优化 2026-01-17 14:43:42 +08:00
31f01085a9 refactor: 抽离独立Layout,实现路由分层
优化内容:
1. 新增 MainLayout.vue 独立布局组件
   - 封装 TopNav、SidebarNav、主内容区域
   - 独立的页面脚注

2. 简化 App.vue
   - 只负责主题配置和SvgSprite
   - 只渲染 RouterView
   - 移除所有布局相关代码

3. 重构路由配置
   - 登录页 /login:独立渲染,不使用Layout
   - 根路由 /:使用 MainLayout,渲染所有需要布局的页面
   - 所有业务页面都作为根路由的子路由嵌套渲染

架构优势:
- 登录页独立,不受主布局影响
- 主布局统一管理,减少重复代码
- 路由结构清晰,易于维护
- 符合Vue最佳实践

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 01:24:12 +08:00