1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import Vue from 'vue';
- import VueRouter from 'vue-router';
- Vue.use(VueRouter);
- const live = [
- {
- path: '/live',
- name: 'live',
- component: () => import('../views/index.vue'),
- children: [
- {
- path: '/market/index',
- name: 'market_index',
- meta: { title: '科技超市', subSite: true },
- component: () => import('../views/market/index.vue'),
- },
- {
- path: '/dynamic/index',
- name: 'dynamic_index',
- meta: { title: '动态监测', subSite: true },
- component: () => import('../views/dynamic/index.vue'),
- },
- {
- path: '/dynamic/list',
- name: 'dynamic_list',
- meta: { title: '动态监测列表', subSite: true },
- component: () => import('../views/dynamic/list.vue'),
- },
- {
- path: '/technical/index',
- name: 'technical_index',
- meta: { title: '技术培训', subSite: true },
- component: () => import('../views/technical/index.vue'),
- },
- {
- path: '/technical/list',
- name: 'technical_list',
- meta: { title: '技术培训列表', subSite: true },
- component: () => import('../views/technical/list.vue'),
- },
- {
- path: '/kejipeixun/index',
- name: 'kejipeixun_index',
- meta: { title: '科技培训', subSite: true },
- component: () => import('../views/kejipeixun/index.vue'),
- },
- {
- path: '/kejipeixun/list',
- name: 'kejipeixun_list',
- meta: { title: '科技培训列表', subSite: true },
- component: () => import('../views/kejipeixun/list.vue'),
- },
- {
- path: '/live/service',
- meta: { title: '创新服务', subSite: true },
- name: 'live_service',
- component: () => import('../views/service/index.vue'),
- },
- ],
- },
- {
- path: '/direct',
- name: 'live_direct',
- meta: { title: '直播大厅', subSite: true },
- component: () => import('../views/direct.vue'),
- },
- ,
- ];
- const routes = [...live];
- const router = new VueRouter({
- routes,
- });
- export default router;
|