| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- import Vue from 'vue'
- import VueRouter from 'vue-router'
- Vue.use(VueRouter)
- const routes = [{
- path: '/',
- name: 'Home',
- meta: {
- keepAlive: true
- },
- component: () => import('../views/home/index.vue')
- },
- {
- path: '/newsDetails',
- name: 'NewsDetails',
- meta: {
- keepAlive: false
- },
- component: () => import('../views/home/newsDetails.vue')
- },
- {
- path: '/classRoom',
- name: 'classRoom',
- meta: {
- keepAlive: true
- },
- component: () => import('../views/classRoom/index.vue')
- },
- {
- path: '/shoppingMall',
- name: 'shoppingMall',
- meta: {
- keepAlive: true
- },
- component: () => import('../views/shoppingMall/index.vue')
- },
- {
- path: '/circleHome',
- name: 'circleHome',
- meta: {
- keepAlive: true
- },
- component: () => import('../views/circle/index.vue')
- },
- {
- path: '/goodsDetails',
- name: 'goodsDetails',
- meta: {
- keepAlive: false
- },
- component: () => import('../views/shoppingMall/details.vue')
- },
- {
- path: '/submitOrder',
- name: 'submitOrder',
- meta: {
- keepAlive: false
- },
- component: () => import('../views/shoppingMall/submitOrder.vue')
- },
- {
- path: '/address',
- name: 'address',
- meta: {
- keepAlive: false
- },
- component: () => import('../views/address/index.vue')
- },
- {
- path: '/healthAssessmen',
- name: 'healthAssessmen',
- meta: {
- keepAlive: false
- },
- component: () => import('../views/healthAssessmen/index.vue')
- },
- {
- path: '/estimate',
- name: 'estimate',
- meta: {
- keepAlive: true
- },
- component: () => import('../views/healthAssessmen/estimate.vue')
- },
- {
- path: '/details',
- name: 'estimate',
- meta: {
- keepAlive: false
- },
- component: () => import('../views/healthAssessmen/details.vue')
- },
- {
- path: '/typemain',
- name: 'estimate',
- meta: {
- keepAlive: false
- },
- component: () => import('../views/healthAssessmen/typeDetails/typemain.vue')
- },
- ]
- const router = new VueRouter({
- routes
- })
- export default router
|