appRouter.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. let teacherRouter = [{
  2. path: '/appLogin',
  3. name: 'appLogin',
  4. component: () => import(/* webpackChunkName:'AppLogin'*/'@/views/app/AppLogin.vue'),
  5. meta: {
  6. descrition: '登录',
  7. weight: 3 // 页面权重
  8. }
  9. }, {
  10. path: '/appRegister',
  11. name: 'appRegister',
  12. component: () => import(/* webpackChunkName:'AppRegister'*/'@/views/app/AppRegister.vue'),
  13. meta: {
  14. descrition: '注册',
  15. weight: 3 // 页面权重
  16. }
  17. }, {
  18. path: '/appSetInfo',
  19. name: 'appSetInfo',
  20. component: () => import(/* webpackChunkName:'AppSetInfo'*/'@/views/app/AppSetInfo.vue'),
  21. meta: {
  22. descrition: '填写信息',
  23. weight: 3 // 页面权重
  24. }
  25. }, {
  26. path: '/classDetail',
  27. name: 'classDetail',
  28. component: () => import(/* webpackChunkName:'ClassDetail'*/'@/views/app/ClassDetail.vue'),
  29. meta: {
  30. descrition: '课堂详情',
  31. weight: 3 // 页面权重
  32. }
  33. }, {
  34. path: "/courseApply",
  35. name: "courseApply",
  36. component: () =>
  37. import( /* webpackChunkName:'CourseApply'*/ "@/views/app/CourseApply.vue"),
  38. meta: {
  39. descrition: "课程创建",
  40. weight: 1 // 页面权重
  41. }
  42. }, {
  43. path: "/account",
  44. name: "account",
  45. component: () =>
  46. import( /* webpackChunkName:'Account'*/ "@/views/app/Account.vue"),
  47. meta: {
  48. descrition: "我的账户",
  49. weight: 1 // 页面权重
  50. }
  51. }, {
  52. path: "/periodRecord",
  53. name: "periodRecord",
  54. component: () =>
  55. import( /* webpackChunkName:'PeriodRecord'*/ "@/views/app/PeriodRecord.vue"),
  56. meta: {
  57. descrition: "课时使用记录",
  58. weight: 2 // 页面权重
  59. }
  60. }, {
  61. path: "/exchangeRecord",
  62. name: "exchangeRecord",
  63. component: () =>
  64. import( /* webpackChunkName:'ExchangeRecord'*/ "@/views/app/ExchangeRecord.vue"),
  65. meta: {
  66. descrition: "兑换记录",
  67. weight: 2 // 页面权重
  68. }
  69. }, {
  70. path: "/periodExchange",
  71. name: "periodExchange",
  72. component: () =>
  73. import( /* webpackChunkName:'PeriodExchange'*/ "@/views/app/PeriodExchange.vue"),
  74. meta: {
  75. descrition: "课时兑换",
  76. weight: 2 // 页面权重
  77. }
  78. }, {
  79. path: "/helpCenter",
  80. name: "helpCenter",
  81. component: () =>
  82. import( /* webpackChunkName:'HelpCenter'*/ "@/views/app/HelpCenter.vue"),
  83. meta: {
  84. descrition: "帮助中心",
  85. weight: 2 // 页面权重
  86. }
  87. }, {
  88. path: "/courseDetail",
  89. name: "courseDetail",
  90. component: () =>
  91. import( /* webpackChunkName:'CourseDetail'*/ "@/views/app/CourseDetail.vue"),
  92. meta: {
  93. descrition: "课程评价",
  94. weight: 2 // 页面权重
  95. }
  96. }, {
  97. path: "/paymentResult",
  98. name: 'paymentResult',
  99. component: () =>
  100. import( /* webpackChunkName:'PaymentResult'*/ "@/views/app/PaymentResult.vue"),
  101. meta: {
  102. descrition: "支付结果",
  103. weight: 2 // 页面权重
  104. }
  105. }, {
  106. path: "/userProtocol",
  107. name: 'userProtocol',
  108. component: () =>
  109. import( /* webpackChunkName:'UserProtocol'*/ "@/views/app/UserProtocol.vue"),
  110. meta: {
  111. descrition: "用户协议",
  112. weight: 2 // 页面权重
  113. }
  114. },
  115. {
  116. path: "/HelpCenterDetail",
  117. name: 'HelpCenterDetail',
  118. component: () =>
  119. import( /* webpackChunkName:'UserProtocol'*/ "@/views/app/HelpCenterDetail.vue"),
  120. meta: {
  121. descrition: "帮助详情",
  122. weight: 2 // 页面权重
  123. }
  124. }];
  125. export default teacherRouter;