Browse Source

路由文件

DESKTOP-O04BTUJ\muzen 3 years atrás
parent
commit
e1341ea3cc
1 changed files with 32 additions and 7 deletions
  1. 32 7
      src/router/index.js

+ 32 - 7
src/router/index.js

@@ -330,19 +330,27 @@ export const dynamicRoutes = [{
     }]
   },
   // 频道管理
-  // 官方推荐
+  // 定制频道
   {
     path: '/channel',
     component: Layout,
     hidden: true,
-    permissions: ['channel:official:list'],
+    permissions: ['channel:custom:list'],
     children: [{
-      path: 'official/detail',
-      component: () => import('@/views/channel/official/detail'),
-      name: 'channelOfficialDetail',
+      path: 'custom/detail',
+      component: () => import('@/views/channel/custom/detail'),
+      name: 'channelCustomDetail',
       meta: {
-        title: `详情页`,
-        activeMenu: '/channel/official'
+        title: `定制详情`,
+        activeMenu: '/channel/custom'
+      }
+    },{
+      path: 'custom/edit',
+      component: () => import('@/views/channel/custom/edit'),
+      name: 'channelCustomEdit',
+      meta: {
+        title: `频道详情`,
+        activeMenu: '/channel/custom'
       }
     }]
   },
@@ -379,6 +387,23 @@ export const dynamicRoutes = [{
         activeMenu: '/watch/watchList'
       }
     }]
+  },
+  // 标签管理
+  // 标签分类
+  {
+    path: '/label',
+    component: Layout,
+    hidden: true,
+    permissions: ['label:tag:list'],
+    children: [{
+      path: 'tag/detail',
+      component: () => import('@/views/label/tag/detail'),
+      name: 'labelTagDetail',
+      meta: {
+        title: '标签详情',
+        activeMenu: '/label/tag'
+      }
+    }]
   }
 ]