import Vue from 'vue'
import Router from 'vue-router'
import DT from '@/views/DT.vue'
import index from '@/views/index_mobile'
// import index_mobile from '@/views/index_mobile.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: '/',
  //   name: 'index_mobile',
  //   component: index_mobile,
  //   meta: {
  //     keepAlive: true
  //   }
  // }
]
export default new Router({
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRouterMap
})

