feat(router): 更新路由结构并优化页面组件
- 移除经营范围按钮,精简导航栏 - 实现文章标题链接功能,提升用户体验 - 添加商品详情页面包屑导航,支持分类跳转 - 引入配送管理相关页面(区域、接单台、配送员、派单) - 替换控制台布局为站点头部和底部组件 - 重构商品分类页面,集成CMS导航功能 - 新增文章详情页面,支持多种访问方式 - 删除已迁移的创建应用和空应用页面 - 优化样式和组件导入,提升代码质量
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
<template>
|
||||
<a-layout class="min-h-screen layout-shell">
|
||||
<a-layout class="w-full px-4 py-4">
|
||||
<ConsoleHeader
|
||||
:user="user"
|
||||
:user-display-name="userDisplayName"
|
||||
@logout="logout"
|
||||
/>
|
||||
<a-layout class="w-full">
|
||||
<SiteHeader />
|
||||
|
||||
<a-layout class="body">
|
||||
<a-layout class="body max-w-screen-xl w-screen">
|
||||
<a-layout-sider
|
||||
class="sider"
|
||||
:width="240"
|
||||
@@ -29,7 +25,7 @@
|
||||
</template>
|
||||
</a-avatar>
|
||||
<div v-if="!collapsed" class="sider-title">
|
||||
控制台
|
||||
用户中心
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -117,6 +113,7 @@
|
||||
</a-layout-content>
|
||||
</a-layout>
|
||||
</a-layout>
|
||||
<SiteFooter />
|
||||
</a-layout>
|
||||
</a-layout>
|
||||
</template>
|
||||
@@ -135,6 +132,8 @@ import { TEMPLATE_ID } from '@/config/setting'
|
||||
import { getToken, removeToken } from '@/utils/token-util'
|
||||
import { clearAuthz, setAuthzFromUser } from '@/utils/permission'
|
||||
import { getTenantId } from '@/utils/domain'
|
||||
import SiteHeader from "~/components/SiteHeader.vue";
|
||||
import SiteFooter from "~/components/SiteFooter.vue";
|
||||
|
||||
const route = useRoute()
|
||||
const collapsed = ref(false)
|
||||
@@ -415,7 +414,7 @@ onMounted(async () => {
|
||||
}
|
||||
|
||||
.body {
|
||||
margin: 16px 0;
|
||||
margin: 16px auto;
|
||||
}
|
||||
|
||||
.main {
|
||||
|
||||
Reference in New Issue
Block a user