【布局优化】 - 管理端/教师端/园校端/家长端:顶部菜单栏固定不随页面滚动(position: sticky) - 右侧主区域使用 flex 布局,仅内容区 overflow-y: auto 滚动 - 外层布局 height: 100vh + overflow: hidden,避免整页滚动 【侧边栏优化】 - 顶部 Logo 与标题固定不随侧边栏滚动(sider-logo flex-shrink: 0) - 菜单区域单独可滚动(sider-menu-wrap flex:1 min-height:0 overflow-y:auto) - 侧栏容器 display:flex flex-direction:column,兼容 ant-layout-sider-children 【一键启动】 - 根目录新增 package.json:npm start 并发启动后端+前端并自动打开浏览器 - 新增 start.ps1:Windows 双击或命令行执行,新窗口启动前后端并打开预览 - 依赖:concurrently、wait-on、open Made-with: Cursor |
||
|---|---|---|
| .. | ||
| children | ||
| growth | ||
| lessons | ||
| tasks | ||
| DashboardView.vue | ||
| LayoutView.vue | ||