main.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. export default [
  2. {
  3. path: '/search',
  4. name: 'search',
  5. component: () => import('@/views/Search.vue'),
  6. meta: {
  7. title: '剑鱼文库',
  8. layoutConf: true,
  9. hideBorder: true
  10. }
  11. },
  12. {
  13. path: '/purchasesuccess/:num',
  14. name: 'purchasesuccess',
  15. component: () => import('@/views/purchase/purchasesuccess.vue'),
  16. meta: {
  17. title: '剑鱼文库'
  18. }
  19. },
  20. {
  21. path: '/purchase/:id',
  22. name: 'purchase',
  23. component: () => import('@/views/purchase/purchase.vue'),
  24. meta: {
  25. title: '剑鱼文库'
  26. }
  27. },
  28. {
  29. path: '/details/:id',
  30. name: 'details',
  31. component: () => import('@/views/details/details.vue'),
  32. meta: {
  33. title: '剑鱼文库',
  34. layoutConf: true
  35. }
  36. },
  37. {
  38. path: '/user/lib',
  39. name: 'userLibrary',
  40. component: () => import('@/views/user/Library.vue'),
  41. meta: {
  42. title: '我的文库'
  43. }
  44. },
  45. {
  46. path: '/onlineterm',
  47. name: 'onlineterm',
  48. component: () => import('@/views/purchase/onlineterm.vue'),
  49. meta: {
  50. title: '剑鱼标讯线上服务条款'
  51. }
  52. }
  53. ]