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

Vue.use(VueRouter);

const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('../views/index.vue'),
  },
  // 科技超市
  {
    path: '/supermarket',
    name: 'supermarket',
    component: () => import('../views/supermarket.vue'),
  },
  // 科技超市-高校院所
  {
    path: '/supermarketColleges',
    name: 'supermarketColleges',
    component: () => import('../views/supermarketColleges.vue'),
  },
  // 科技超市-科研院所
  {
    path: '/supermarketScientific',
    name: 'supermarketSientific',
    component: () => import('../views/supermarketScientific.vue'),
  },
  // 科技超市-科技企业
  {
    path: '/supermarketEnterprise',
    name: 'supermarketEnterprise',
    component: () => import('../views/supermarketEnterprise.vue'),
  },
  // 科技超市-研发服务
  {
    path: '/supermaketService',
    name: 'supermaketService',
    component: () => import('../views/supermaketService.vue'),
  },
];

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

export default router;
