Browse Source

路由文件

DESKTOP-SVI9JE1\muzen 2 years ago
parent
commit
6e1479a8a4
1 changed files with 35 additions and 18 deletions
  1. 35 18
      src/router/index.js

+ 35 - 18
src/router/index.js

@@ -166,22 +166,22 @@ export const dynamicRoutes = [{
   }]
   }]
 },
 },
 // 内容管理
 // 内容管理
-// banner管理
-{
-  path: '/content',
-  component: Layout,
-  hidden: true,
-  permissions: ['content:banner:list'],
-  children: [{
-    path: 'banner/detail',
-    component: () => import('@/views/content/banner/detail'),
-    name: 'detail',
-    meta: {
-      title: 'Banner详情',
-      activeMenu: '/content/banner'
-    }
-  }]
-},
+// 文章管理
+// {
+//   path: '/content',
+//   component: Layout,
+//   hidden: true,
+//   permissions: ['content:article:list'],
+//   children: [{
+//     path: 'articleList/detail',
+//     component: () => import('@/views/content/article/detail'),
+//     name: 'articleListDetail',
+//     meta: {
+//       title: '文章详情',
+//       activeMenu: '/content/articleList'
+//     }
+//   }]
+// },
 // 设备管理
 // 设备管理
 // 设备列表
 // 设备列表
 {
 {
@@ -428,7 +428,7 @@ export const dynamicRoutes = [{
   hidden: true,
   hidden: true,
   permissions: ['operation:recommend:list'],
   permissions: ['operation:recommend:list'],
   children: [{
   children: [{
-    path: 'recommend/detail',
+    path: 'homePage/recommend/detail',
     component: () => import('@/views/operation/recommend/detail'),
     component: () => import('@/views/operation/recommend/detail'),
     name: 'recommendDetail',
     name: 'recommendDetail',
     meta: {
     meta: {
@@ -523,7 +523,7 @@ export const dynamicRoutes = [{
   }]
   }]
 },
 },
 // 活动管理
 // 活动管理
-{ 
+{
   path: '/operation',
   path: '/operation',
   component: Layout,
   component: Layout,
   hidden: true,
   hidden: true,
@@ -539,6 +539,23 @@ export const dynamicRoutes = [{
     }
     }
   }]
   }]
 },
 },
+// 反馈列表
+{
+  path: '/operation',
+  component: Layout,
+  hidden: true,
+  permissions: ['operation:feedbacklist:list'],
+  name: 'feedbacklist',
+  children: [{
+    path: 'feedback/feedbacklist/detail',
+    component: () => import('@/views/operation/feedbacklist/detail'),
+    name: 'feedbacklistDetail',
+    meta: {
+      title: '反馈详情',
+      activeMenu: '/operation/feedback/feedbacklist'
+    }
+  }]
+},
 // 商品管理
 // 商品管理
 // 商品推荐
 // 商品推荐
 {
 {