74 lines
1.8 KiB
JavaScript
74 lines
1.8 KiB
JavaScript
import Layout from '@/layout';
|
|
|
|
/**
|
|
* 直播管理 - 整合路由
|
|
* 包含:房间、家族、粉丝团
|
|
*/
|
|
const liveManageRouter = {
|
|
path: '/liveManage',
|
|
component: Layout,
|
|
redirect: '/liveManage/room/list',
|
|
name: 'LiveManage',
|
|
alwaysShow: true,
|
|
meta: {
|
|
title: '直播管理',
|
|
icon: 'el-icon-video-camera',
|
|
},
|
|
children: [
|
|
// 房间管理
|
|
{
|
|
path: 'room/list',
|
|
component: () => import('@/views/room/list/index'),
|
|
name: 'RoomList',
|
|
meta: { title: '房间列表', icon: '' },
|
|
},
|
|
{
|
|
path: 'room/type',
|
|
component: () => import('@/views/room/type/index'),
|
|
name: 'RoomType',
|
|
meta: { title: '房间类型', icon: '' },
|
|
},
|
|
{
|
|
path: 'room/background',
|
|
component: () => import('@/views/room/background/index'),
|
|
name: 'RoomBackground',
|
|
meta: { title: '房间背景', icon: '' },
|
|
},
|
|
// 家族管理
|
|
{
|
|
path: 'family/list',
|
|
component: () => import('@/views/family/list/index'),
|
|
name: 'FamilyList',
|
|
meta: { title: '家族列表', icon: '' },
|
|
},
|
|
{
|
|
path: 'family/level',
|
|
component: () => import('@/views/family/level/index'),
|
|
name: 'FamilyLevel',
|
|
meta: { title: '家族级别', icon: '' },
|
|
},
|
|
{
|
|
path: 'family/member',
|
|
component: () => import('@/views/family/member/index'),
|
|
name: 'FamilyMember',
|
|
meta: { title: '家族成员', icon: '' },
|
|
},
|
|
// 粉丝团
|
|
{
|
|
path: 'fanGroup/list',
|
|
component: () => import('@/views/fanGroup/list/index'),
|
|
name: 'FanGroupList',
|
|
meta: { title: '粉丝团管理', icon: '' },
|
|
},
|
|
// 主播管理
|
|
{
|
|
path: 'streamer/list',
|
|
component: () => import('@/views/streamer/list/index'),
|
|
name: 'StreamerList',
|
|
meta: { title: '主播管理', icon: '' },
|
|
},
|
|
],
|
|
};
|
|
|
|
export default liveManageRouter;
|