feat(frontend): 添加首页及调整导航和路由逻辑

- 新增完整首页视图,展示核心功能、品类覆盖及使用流程
- 设计首页响应式布局及样式,优化多终端展示效果
- 修改AdminLayout中返回前台链接为/design路径
- 删除AppHeader中顶部设计、生成、管理后台菜单链接
- 在用户下拉菜单新增管理后台入口,点击跳转/admin
- 新增路由/home和/design页面,完善路由配置
- 将登录、注册、生成页跳转路径由根目录改为/design,增强用户体验
This commit is contained in:
2026-03-29 17:15:14 +08:00
parent 4382feedb3
commit 7f84a04e27
8 changed files with 771 additions and 7 deletions

View File

@@ -96,7 +96,7 @@ const handleLogin = async () => {
try {
await userStore.login(form.username, form.password)
ElMessage.success('登录成功')
router.push('/')
router.push('/design')
} catch (error: any) {
// 错误已在拦截器中处理
} finally {