mbRoute.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. const mobile = () => import('../components/mobile/index.vue')
  2. const mobileHome = () => import('../views/mobile/index.vue')
  3. const scene = () => import('../views/mobile/scene/index.vue')
  4. const order = () => import('../views/mobile/order/index.vue')
  5. const device = () => import('../views/mobile/device/index.vue')
  6. const appProduct = () => import('../views/mobile/appProduct/index.vue')
  7. const information = () => import('../views/mobile/information/index.vue')
  8. const routesP = [{
  9. path: '/',
  10. name: 'Mobile',
  11. redirect: '/information',
  12. component: mobile,
  13. children: [{
  14. path: '/',
  15. name: 'information',
  16. component: information
  17. },{
  18. name: 'information',
  19. path: '/information',
  20. component: information,
  21. meta: { hideFooterFind: false, requireAuth: true }
  22. },
  23. {
  24. name: 'scene',
  25. path: '/scene',
  26. component: scene,
  27. meta: { hideFooterFind: false, requireAuth: true }
  28. },
  29. {
  30. name: 'order',
  31. path: '/order',
  32. component: order,
  33. meta: { hideFooterFind: false, requireAuth: true }
  34. },
  35. {
  36. name: 'device',
  37. path: '/device',
  38. component: device,
  39. meta: { hideFooterFind: false, requireAuth: true }
  40. },
  41. {
  42. name: 'appProduct',
  43. path: '/appProduct',
  44. component: appProduct,
  45. meta: { hideFooterFind: false, requireAuth: true }
  46. }]
  47. }]
  48. export default routesP