You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
export const constRouter: any =
|
|
|
|
{
|
|
|
|
path: '/',
|
|
|
|
component: () => import('@/Layout/index.vue'),
|
|
|
|
name: 'Layout',
|
|
|
|
redirect: '/home',
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '/home',
|
|
|
|
name: 'Home',
|
|
|
|
component: () => import('@/views/home/index.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '首页',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/appraise',
|
|
|
|
name: 'Appraise',
|
|
|
|
component: () => import('@/views/appraise/index.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '竞赛评价',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/navigation',
|
|
|
|
name: 'Navigation',
|
|
|
|
component: () => import('@/views/navigation/index.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '竞赛导航',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/achievement',
|
|
|
|
name: 'Achievement',
|
|
|
|
component: () => import('@/views/achievement/index.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '竞赛成果',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path:'/news',
|
|
|
|
name:'news',
|
|
|
|
component:()=>import('@/views/news/index.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '竞赛新闻',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
children:[
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
name: 'newsList',
|
|
|
|
component: () => import('@/views/news/components/newsList.vue'), // 新闻列表组件
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path:'/newsDetail',
|
|
|
|
name:'newsDetail',
|
|
|
|
component:()=>import('@/views/news/components/newsDetail.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '新闻内容详情',
|
|
|
|
hidden: true,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|