Blame view

src/router/index.js 1018 Bytes
e7874705   liuqimichale   init
1
2
3
4
  import Vue from 'vue'
  import Router from 'vue-router'
  import plateNumber from '@/components/plateNumber'
  import parkRecord from '@/components/parkRecord'
b137bb0e   liuqimichale   扫码后 车牌是否 咨询页面
5
  import navigation from '@/components/navigation'
e7874705   liuqimichale   init
6
7
8
9
10
11
12
  
  Vue.use(Router)
  
  export default new Router({
    routes: [
      {
        path: '/',
26e543b8   liuqimichale   ajax 统一封装
13
        redirect: {
b137bb0e   liuqimichale   扫码后 车牌是否 咨询页面
14
          name: 'navigation'
26e543b8   liuqimichale   ajax 统一封装
15
        }
e7874705   liuqimichale   init
16
17
      },
      {
b137bb0e   liuqimichale   扫码后 车牌是否 咨询页面
18
19
20
21
22
        path: '/navigation',
        name: 'navigation',
        component: navigation
      },
      {
e7874705   liuqimichale   init
23
24
25
26
27
28
29
30
31
        path: '/plateNumber',
        name: 'plateNumber',
        component: plateNumber
      },
      {
        path: '/parkRecord',
        name: 'parkRecord',
        component: parkRecord
      },
455431ac   liuqimichale   欠费缴纳--费用支付
32
33
34
35
36
37
      {
        path: '/orderPay',
        name: 'orderPay',
        component: () => import("@/components/orderPay.vue")
      },
  
d29bf602   liuqimichale   赤峰测试环境 农行支付
38
39
40
41
42
43
44
      {
        path: '/payResult',
        name: 'payResult',
        component: () => import("@/components/payResult.vue")
      },
  
  
8910837d   liuqimichale   赤峰动态二维码
45
46
47
48
49
50
51
52
53
54
      {
        path: '/dynCodePay',
        name: 'dynCodePay',
        component: () => import("@/components/dynCodePay.vue")
      },
  
  
  
  
  
d29bf602   liuqimichale   赤峰测试环境 农行支付
55
  
e7874705   liuqimichale   init
56
57
58
  
    ]
  })