You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.5 KiB
JavaScript

1 year ago
import Vue from 'vue'
import Router from 'vue-router'
import Layout from '@/layout/index.vue'
Vue.use(Router)
export default new Router({
routes: [
4 months ago
{
path: '/editor', component: () => import('@/views/pageEditor/index.vue'),
},
1 year ago
{
path: '/',
component: Layout,
redirect: '/index',
children: [
{
1 year ago
path: 'index',
1 year ago
component: () => import('@/views/index/index.vue'),
},
{
6 months ago
path: '/aboutHW',
component: () => import('@/views/aboutHW.vue'),
1 year ago
},
{
6 months ago
path: '/productCenter',
component: () => import('@/views/productCenter.vue'),
6 months ago
},
{
path: '/productCenter/detail',
component: () => import('@/views/productInfo.vue'),
1 year ago
},
{
6 months ago
path: '/industryPlan',
component: () => import('@/views/industryPlan.vue'),
6 months ago
},
{
path: '/industryPlan/detail',
component: () => import('@/views/productInfo.vue'),
1 year ago
},
6 months ago
{
path: '/serviceSupport',
component: () => import('@/views/serviceSupport.vue'),
},
1 year ago
{
1 year ago
path: '/newsCenter/details',
component: () => import('@/views/newsCenter/details.vue'),
},
{
path: '/contactUs',
component: () => import('@/views/contactUs/index.vue'),
1 year ago
},
12 months ago
{
path: 'casesAndClients/more',
component: () => import('@/views/casesAndClients/IOT/more.vue'),
},
1 year ago
]
},
]
})