import Vue from 'vue'
import Router from 'vue-router'
import DT from '@/views/DT.vue'
import index from '@/views/MingLuoFloat.vue'
import firstStation from '@/views/page/firstStation'
Vue.use(Router)
export const constantRouterMap = [
  {
    path: '/',
    name: 'index',
    component: index,
    meta: {
      keepAlive: true
    }
  },
  {
    path: '/DT',
    name: 'DT',
    component: DT,
    meta: {
      keepAlive: true
    }
  },
  {
    path: '/firstStation',
    name: 'firstStation',
    component: firstStation,
    meta: {
      keepAlive: true
    }
  }
]
export default new Router({
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRouterMap
})

