|
|
|
import BasicLayout from '@/layouts/home'
|
|
|
|
|
|
|
|
const meta = {}
|
|
|
|
|
|
|
|
const pre = 'column-'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
path: '/column',
|
|
|
|
name: 'column',
|
|
|
|
redirect: {
|
|
|
|
name: `${pre}list`
|
|
|
|
},
|
|
|
|
meta,
|
|
|
|
component: BasicLayout,
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
name: `${pre}list`,
|
|
|
|
path: `list`,
|
|
|
|
component: () => import('@/pages/column/list'),
|
|
|
|
meta: { title: '栏目管理' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}add`,
|
|
|
|
path: `add`,
|
|
|
|
component: () => import('@/pages/column/add'),
|
|
|
|
meta: { title: '添加栏目' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}home`,
|
|
|
|
path: `home`,
|
|
|
|
component: () => import('@/pages/column/page/home'),
|
|
|
|
meta: { title: 'HOME' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}about`,
|
|
|
|
path: `about`,
|
|
|
|
component: () => import('@/pages/column/page/about'),
|
|
|
|
meta: { title: 'ABOUT' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}careers`,
|
|
|
|
path: `careers`,
|
|
|
|
component: () => import('@/pages/column/page/careers'),
|
|
|
|
meta: { title: 'CAREERS' }
|
|
|
|
},,
|
|
|
|
{
|
|
|
|
name: `${pre}edu`,
|
|
|
|
path: `edu`,
|
|
|
|
component: () => import('@/pages/column/page/edu'),
|
|
|
|
meta: { title: 'EDUCATION & COLLABORATION' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}news`,
|
|
|
|
path: `news`,
|
|
|
|
component: () => import('@/pages/column/page/news'),
|
|
|
|
meta: { title: 'NEWS&Events' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}newsPress`,
|
|
|
|
path: `newsPress`,
|
|
|
|
component: () => import('@/pages/column/page/newsPress'),
|
|
|
|
meta: { title: 'NEWS&Events-press room' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}newsProcurement`,
|
|
|
|
path: `newsProcurement`,
|
|
|
|
component: () => import('@/pages/column/page/newsProcurement'),
|
|
|
|
meta: { title: 'NEWS&Events-procurement' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}research`,
|
|
|
|
path: `research`,
|
|
|
|
component: () => import('@/pages/column/page/research'),
|
|
|
|
meta: { title: 'RESEARCH' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}application`,
|
|
|
|
path: `application`,
|
|
|
|
component: () => import('@/pages/column/page/application'),
|
|
|
|
meta: { title: 'APPLICATION' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}science`,
|
|
|
|
path: `science`,
|
|
|
|
component: () => import('@/pages/column/page/science'),
|
|
|
|
meta: { title: '科普之窗' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}talent`,
|
|
|
|
path: `talent`,
|
|
|
|
component: () => import('@/pages/column/page/talent'),
|
|
|
|
meta: { title: '人才队伍' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}userSharing`,
|
|
|
|
path: `userSharing`,
|
|
|
|
component: () => import('@/pages/column/page/userSharing'),
|
|
|
|
meta: { title: '用户共享' }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|