main.ts 1.0 KB

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