67 lines
1.7 KiB
JavaScript
67 lines
1.7 KiB
JavaScript
import Layout from '@/layout';
|
|
|
|
const wishtreeManageRouter = {
|
|
path: '/wishtree',
|
|
component: Layout,
|
|
redirect: '/wishtree/festival',
|
|
name: 'Wishtree',
|
|
alwaysShow: true,
|
|
meta: {
|
|
title: '许愿树管理',
|
|
icon: 'el-icon-present',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'festival',
|
|
component: () => import('@/views/wishTree/festival/index'),
|
|
name: 'WishtreeFestival',
|
|
meta: { title: '节日管理' },
|
|
},
|
|
{
|
|
path: 'wish',
|
|
component: () => import('@/views/wishTree/wish/index'),
|
|
name: 'WishtreeWish',
|
|
meta: { title: '心愿管理' },
|
|
},
|
|
{
|
|
path: 'background',
|
|
component: () => import('@/views/wishTree/background/index'),
|
|
name: 'WishtreeBackground',
|
|
meta: { title: '背景素材' },
|
|
},
|
|
{
|
|
path: 'statistics',
|
|
component: () => import('@/views/wishTree/statistics/index'),
|
|
name: 'WishtreeStatistics',
|
|
meta: { title: '数据统计' },
|
|
},
|
|
{
|
|
path: 'tree',
|
|
component: () => import('@/views/wishTree/tree/index'),
|
|
name: 'WishTreeList',
|
|
meta: { title: '许愿树列表' },
|
|
},
|
|
{
|
|
path: 'tree/detail/:id',
|
|
component: () => import('@/views/wishTree/tree/detail'),
|
|
name: 'WishTreeDetail',
|
|
meta: { title: '许愿树详情' },
|
|
hidden: true,
|
|
},
|
|
{
|
|
path: 'node',
|
|
component: () => import('@/views/wishTree/node/index'),
|
|
name: 'WishTreeNode',
|
|
meta: { title: '节点管理' },
|
|
},
|
|
{
|
|
path: 'message',
|
|
component: () => import('@/views/wishTree/message/index'),
|
|
name: 'WishTreeMessage',
|
|
meta: { title: '留言管理' },
|
|
},
|
|
],
|
|
};
|
|
|
|
export default wishtreeManageRouter;
|