侧边栏路由跳转

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>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,3 @@
<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>

View File

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

View File

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

View File

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

View File

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

View File

@ -11,11 +11,65 @@ const router = createRouter({
{
path:'/Manager',
name:'Manager',
component:()=>import('../Manager/Manage.vue'),
children:[{
path:'/Manager/User',
component:() =>import('../Manager/components/User.vue')
}]
component:()=>import('../manager/Manage.vue'),
children:[
{
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')
},
]
}
]
})