xlb-main-login
Version:
``` yarn install ```
147 lines (145 loc) • 4.35 kB
JavaScript
import Basic from '@/layouts/Basic'
import Panel from '@/layouts/components/Panel'
export default {
path: '/college',
name: 'college',
redirect: '/college/guide',
component: Basic,
meta: {
title: '增长学院',
},
children: [
{
path: '/college/guide',
name: 'college-guide',
component: Panel,
redirect: '/college/guide/wechatkecheng',
meta: {
title: '企业微信指南',
icon: require('@/common/static/images/schoolshoucered.svg'),
unIcon: require('@/common/static/images/schoolshoucegray.svg'),
},
children: [
{
path: '/college/guide/wechatkecheng',
name: 'college-guide-wechatkecheng',
component: () => import('@/components/wechat/wechatkecheng'),
meta: {
title: '企微实战课程',
enable: false,
routeEnable: false,
},
},
{
path: '/college/guide/wechatrili',
name: 'college-guide-wechatrili',
component: () => import('@/components/wechat/wechatrili'),
meta: {
title: '企微增长日历',
enable: false,
routeEnable: false,
},
},
{
path: '/college/guide/wechatmiji',
name: 'college-guide-wechatmiji',
component: () => import('@/components/wechat/wechatmiji'),
meta: {
title: '企微增长秘籍',
enable: false,
routeEnable: false,
},
},
{
path: '/college/guide/manual',
name: 'college-guide-manual',
component: () => import('@/components/wechat/manual'),
meta: {
title: '企微使用手册',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/college/posters',
component: Panel,
name: 'college-posters',
redirect: '/college/posters/wechathomeposters',
meta: {
title: '裂变海报',
icon: require('@/common/static/images/schoolhaibaored.svg'),
unIcon: require('@/common/static/images/schoolhaibaogray.svg'),
},
children: [
{
path: '/college/posters/wechathomeposters',
name: 'college-posters-wechathomeposters',
component: () => import('@/components/homeposters/homeposters'),
meta: {
title: '裂变海报',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/college/cargo',
component: Panel,
name: 'college-cargo',
redirect: '/college/cargo/wechathomecase',
meta: {
title: '增长干货',
icon: require('@/common/static/images/schoolganhuored.svg'),
unIcon: require('@/common/static/images/schoolganhougray.svg'),
},
children: [
{
path: '/college/cargo/wechathomecase',
name: 'college-cargo-wechathomecase',
component: () => import('@/components/homecase/homecase'),
meta: {
title: '增长干货',
enable: false,
routeEnable: false,
},
},
{
path: '/college/cargo/wechatextentcase',
name: 'college-cargo-wechatextentcase',
component: () => import('@/components/homecase/extentcase'),
meta: {
title: '优秀案例',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/college/manual',
redirect: '/college/manual/manual',
name: 'college-manual',
component: Panel,
meta: {
title: '使用手册',
icon: require('@/common/static/images/schoolgray.svg'),
unIcon: require('@/common/static/images/schoolgray.svg'),
},
children: [
{
path: '/college/manual/manual',
name: 'college-manual-manual',
component: () => import('@/components/wechat/manual'),
meta: {
title: '使用手册',
enable: true,
routeEnable: false,
},
},
],
},
],
}