更新代码
This commit is contained in:
@ -4,22 +4,36 @@ import HomeView from '@/views/homepage/index.vue'
|
||||
|
||||
const routes = [
|
||||
{path: '/', component: HomeView},
|
||||
// ============================================ 产品中心 ============================================
|
||||
{
|
||||
path: '/product',
|
||||
component: () => import('@/views/product/index.vue'),
|
||||
path: '/product/monitorSystem',
|
||||
name: 'monitorSystem',
|
||||
component: () => import('@/views/product/monitorSystem.vue'),
|
||||
meta: {
|
||||
title: '产品中心',
|
||||
title: '低空监管体系',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/product/remoteDevice',
|
||||
name: 'remoteDevice',
|
||||
component: () => import('@/views/product/remoteDevice.vue'),
|
||||
meta: {
|
||||
title: '低空远程识别设备',
|
||||
},
|
||||
},
|
||||
// ============================================ 服务与支撑 ============================================
|
||||
{
|
||||
path: '/services',
|
||||
name: 'Services',
|
||||
component: () => import('@/views/services/index.vue'),
|
||||
meta: {
|
||||
title: '服务与支撑',
|
||||
},
|
||||
},
|
||||
// ============================================ 新闻中心 ============================================
|
||||
{
|
||||
path: '/news',
|
||||
name: 'News',
|
||||
component: () => import('@/views/news/index.vue'),
|
||||
meta: {
|
||||
title: '新闻中心',
|
||||
@ -29,24 +43,32 @@ const routes = [
|
||||
path: '/news/detail',
|
||||
name: 'Detail',
|
||||
component: () => import('@/views/news/detail.vue'),
|
||||
meta: {
|
||||
title: '新闻详情',
|
||||
},
|
||||
},
|
||||
// ============================================ 关于我们 ============================================
|
||||
{
|
||||
path: '/about',
|
||||
name: 'About',
|
||||
component: () => import('@/views/about/index.vue'),
|
||||
meta: {
|
||||
title: '关于我们',
|
||||
},
|
||||
},
|
||||
|
||||
// ============================================ 联系我们 ============================================
|
||||
{
|
||||
path: '/link',
|
||||
name: 'Link',
|
||||
component: () => import('@/views/link/index.vue'),
|
||||
meta: {
|
||||
title: '联系我们',
|
||||
},
|
||||
},
|
||||
// ============================================ 下载中心 ============================================
|
||||
{
|
||||
path: '/download',
|
||||
name: 'Download',
|
||||
component: () => import('@/views/download/index.vue'),
|
||||
meta: {
|
||||
title: '下载中心',
|
||||
|
||||
Reference in New Issue
Block a user