From 512c0390232acb88fa7c066eb1d1277d098a2b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=96=E5=A7=90?= <2981176548@qq.com> Date: Sat, 27 Jan 2024 01:56:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MainPage/Index.vue | 3 ++ src/Manager/Header.vue | 44 ++++++++++++++++ src/Manager/LeftBar.vue | 85 ++++++++++++++++++++++++++++++ src/Manager/MainSection.vue | 7 +++ src/Manager/Manage.vue | 100 ++++++++++++++++++++++++++++++++++++ src/router/index.js | 74 +++----------------------- 6 files changed, 247 insertions(+), 66 deletions(-) create mode 100644 src/MainPage/Index.vue create mode 100644 src/Manager/Header.vue create mode 100644 src/Manager/LeftBar.vue create mode 100644 src/Manager/MainSection.vue create mode 100644 src/Manager/Manage.vue diff --git a/src/MainPage/Index.vue b/src/MainPage/Index.vue new file mode 100644 index 0000000..47e647d --- /dev/null +++ b/src/MainPage/Index.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/Manager/Header.vue b/src/Manager/Header.vue new file mode 100644 index 0000000..0f6f59e --- /dev/null +++ b/src/Manager/Header.vue @@ -0,0 +1,44 @@ + + + \ No newline at end of file diff --git a/src/Manager/LeftBar.vue b/src/Manager/LeftBar.vue new file mode 100644 index 0000000..a7d6f0a --- /dev/null +++ b/src/Manager/LeftBar.vue @@ -0,0 +1,85 @@ + + + \ No newline at end of file diff --git a/src/Manager/MainSection.vue b/src/Manager/MainSection.vue new file mode 100644 index 0000000..840b2f0 --- /dev/null +++ b/src/Manager/MainSection.vue @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/src/Manager/Manage.vue b/src/Manager/Manage.vue new file mode 100644 index 0000000..e006bcf --- /dev/null +++ b/src/Manager/Manage.vue @@ -0,0 +1,100 @@ + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 75fa4cf..7e398a7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -9,72 +9,14 @@ const router = createRouter({ component:()=>import('../App.vue') }, { - path:'/manage', - name:'manage', - component:()=>import('../manager/manage.vue'), - children:[ - { - path:'/manage/authority', - component:()=>import('../manager/components/Authority.vue'), - }, - { - path:'/manage/carousel', - component:()=>import('../manager/components/Carousel.vue'), - }, - { - path:'/manage/daily', - component:()=>import('../manager/components/Daily.vue'), - }, - { - path:'/manage/log', - component:()=>import('../manager/components/Log.vue'), - }, - { - path:'/manage/main', - component:()=>import('../manager/components/Main.vue'), - }, - { - path:'/manage/message', - component:()=>import('../manager/components/Message.vue'), - }, - { - path:'/manage/newsdisplay', - component:()=>import('../manager/components/NewsDisplay.vue'), - }, - { - path:'/manage/newsinformation', - component:()=>import('../manager/components/NewsInformation.vue'), - }, - { - path:'/manage/projectinformation', - component:()=>import('../manager/components/ProjectInformation.vue'), - }, - { - path:'/manage/projectrecommend', - component:()=>import('../manager/components/ProjectRecommend.vue'), - }, - { - path:'/manage/role', - component:()=>import('../manager/components/Role.vue'), - }, - { - path:'/manage/teaminformation', - component:()=>import('../manager/components/TeamInformation.vue'), - }, - { - path:'/manage/teamprofile', - component:()=>import('../manager/components/TeamProfile.vue'), - }, - { - path:'/manage/user', - component:()=>import('../manager/components/User.vue'), - }, - { - path:'/manage/userrecommend', - component:()=>import('../manager/components/UserRecommend.vue'), - }, - ] - }, + path:'/Manager', + name:'Manager', + component:()=>import('../Manager/Manage.vue'), + children:[{ + path:'/Manager/User', + component:() =>import('../Manager/components/User.vue') + }] + } ] })