侧边栏路由跳转

This commit is contained in:
GUjiYN 2024-01-27 14:35:51 +08:00
parent 1e01d15b33
commit c1210eabe4
16 changed files with 84 additions and 23 deletions

View File

@ -1 +1,3 @@
<template></template> <template>
权限管理
</template>

View File

@ -1,3 +1,3 @@
<template> <template>
轮播图管理
</template> </template>

View File

@ -1,3 +1,3 @@
<template> <template>
日报管理
</template> </template>

View File

@ -1,3 +1,3 @@
<template> <template>
日志管理
</template> </template>

View File

@ -1 +1,3 @@
<template></template> <template>
</template>

View File

@ -1,3 +1,3 @@
<template> <template>
消息管理
</template> </template>

View File

@ -1,3 +1,3 @@
<template> <template>
新闻展示
</template> </template>

View File

@ -1,3 +1,3 @@
<template> <template>
新闻信息
</template> </template>

View File

@ -1 +1,3 @@
<template></template> <template>
项目信息
</template>

View File

@ -0,0 +1,3 @@
<template>
项目推荐
</template>

View File

@ -1,3 +1,3 @@
<template> <template>
角色管理
</template> </template>

View File

@ -1,3 +1,3 @@
<template> <template>
团队信息
</template> </template>

View File

@ -1,3 +1,3 @@
<template> <template>
团队简介
</template> </template>

View File

@ -1,3 +1,3 @@
<template> <template>
用户推荐
</template> </template>

View File

@ -1,8 +1,6 @@
<template > <template style="display: flex;flex-direction: column;">
<div style="display: flex;flex-direction: column;"> <Header></Header>
<Header></Header> <MainSection></MainSection>
<MainSection></MainSection>
</div>
</template> </template>
<script setup> <script setup>
import Header from "@/Manager/Header.vue"; import Header from "@/Manager/Header.vue";

View File

@ -11,11 +11,65 @@ const router = createRouter({
{ {
path:'/Manager', path:'/Manager',
name:'Manager', name:'Manager',
component:()=>import('../Manager/Manage.vue'), component:()=>import('../manager/Manage.vue'),
children:[{ children:[
path:'/Manager/User', {
component:() =>import('../Manager/components/User.vue') path:'/Manager/User',
}] component:() =>import('../manager/components/User.vue')
},
{
path:'/Manager/Role',
component:()=>import('../manager/components/Role.vue')
},
{
path:'/Manager/Authority',
component:()=>import('../manager/components/Authority.vue')
},
{
path:'/Manager/Log',
component:()=>import('../manager/components/Log.vue')
},
{
path:'/Manager/Daily',
component:()=>import('../manager/components/Daily.vue')
},
{
path:'/Manager/Message',
component:()=>import('../manager/components/Message.vue')
},
{
path:'/Manager/Carousel',
component:()=>import('../manager/components/Carousel.vue')
},
{
path:'/Manager/TeamProfile',
component:()=>import('../manager/components/TeamProfile.vue')
},
{
path:'/Manager/ProjectRecommend',
component:()=>import('../manager/components/ProjectRecommend.vue')
},
{
path:'/Manager/NewsDisplay',
component:()=>import('../manager/components/NewsDisplay.vue')
},
{
path:'/Manager/UserRecommend',
component:()=>import('../manager/components/UserRecommend.vue')
},
{
path:'/Manager/ProjectInformation',
component:()=>import('../manager/components/ProjectInformation.vue')
},
{
path:'/Manager/TeamInformation',
component:()=>import('../manager/components/TeamInformation.vue')
},
{
path:'/Manager/NewsInformation',
component:()=>import('../manager/components/NewsInformation.vue')
},
]
} }
] ]
}) })