diff --git a/src/router/index.js b/src/router/index.js index 4221c65..e663733 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -296,6 +296,7 @@ const routes = [ } ] }, + // 现金管理 { path: '/moneyManage', name: 'moneyManage', @@ -376,6 +377,35 @@ const routes = [ }, ] }, + // 频道管理 + { + path: '/channelManage', + name: 'channelManage', + meta: { permissionId: 124 }, + children: [ + // 打赏 + { + path: 'reward', + name: "reward", + component: () => import("../views/channelManage/reward/reward.vue"), + meta: { permissionId: 125 } + }, + // 铁粉 + { + path: 'fans', + name: "fans", + component: () => import("../views/channelManage/fans/fans.vue"), + meta: { permissionId: 126 } + }, + // 购物车 + { + path: 'cart', + name: "cart", + component: () => import("../views/channelManage/cart/cart.vue"), + meta: { permissionId: 127 } + } + ] + }, // 没有权限 { path: '/noPermission', diff --git a/src/views/channelManage/cart/cart.vue b/src/views/channelManage/cart/cart.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/channelManage/fans/fans.vue b/src/views/channelManage/fans/fans.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/channelManage/reward/reward.vue b/src/views/channelManage/reward/reward.vue new file mode 100644 index 0000000..e69de29