import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('../views/index.vue'),
  },
  // 科技超市
  {
    path: '/supermaket/supermarket',
    name: 'supermarket',
    component: () => import('../views/supermaket/supermarket.vue'),
  },
  // 科技超市-高校院所
  {
    path: '/supermaket/supermarketColleges',
    name: 'supermarketColleges',
    component: () => import('../views/supermaket/supermarketColleges.vue'),
  },
  // 科技超市-科研院所
  {
    path: '/supermaket/supermarketScientific',
    name: 'supermarketSientific',
    component: () => import('../views/supermaket/supermarketScientific.vue'),
  },
  // 科技超市-科技企业
  {
    path: '/supermaket/supermarketEnterprise',
    name: 'supermarketEnterprise',
    component: () => import('../views/supermaket/supermarketEnterprise.vue'),
  },
  // 科技超市-机构团体
  {
    path: '/supermaket/supermarketGroup',
    name: 'supermarketGroup',
    component: () => import('../views/supermaket/supermarketGroup.vue'),
  },
  // 科技超市-研发服务
  {
    path: '/supermaket/supermaketService',
    name: 'supermaketService',
    component: () => import('../views/supermaket/supermaketService.vue'),
  },
  //科技超市-技术成果
  {
    path: '/supermaket/supermakettechnology',
    name: 'supermakettechnology',
    component: () => import('../views/supermaket/supermakettechnology.vue'),
  },
  // 科技超市-创新产品
  {
    path: '/supermaket/supermarketProduct',
    name: 'supermarketProduct',
    component: () => import('../views/supermaket/supermarketProduct.vue'),
  },
  // 科技超市-咨询服务
  {
    path: '/supermaket/supermarketinnovate',
    name: 'supermarketinnovate',
    component: () => import('../views/supermaket/supermarketinnovate.vue'),
  },
  // 科技政务
  {
    path: '/government/government',
    name: 'government',
    component: () => import('../views/government/government.vue'),
  },
  //科技人才
  {
    path: '/personnel/personnel',
    name: 'personnel',
    component: () => import('../views/personnel/personnel.vue'),
  },
  // 科技政策
  {
    path: '/policy/policy',
    name: 'policy',
    component: () => import('../views/policy/policy.vue'),
  },
  //科技数据
  {
    path: '/shuju/shuju',
    name: 'shuju',
    component: () => import('../views/shuju/shuju.vue'),
  },
  //科技服务
  {
    path: '/service/service',
    name: 'service',
    component: () => import('../views/service/service.vue'),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
