routes-common.ts 627 B

12345678910111213141516171819202122232425262728293031
  1. // 需要登录的路由
  2. export const router = [
  3. {
  4. path: '/orderDetail',
  5. name: 'orderDetail',
  6. component: () => import('@/views/order-detail/index'),
  7. meta: {
  8. title: '订单详情'
  9. }
  10. }
  11. ]
  12. // 不需要登录的路由
  13. export const rootRouter = [
  14. {
  15. path: '/registerProtocol',
  16. name: 'registerProtocol',
  17. component: () => import('@/views/protocol/register'),
  18. meta: {
  19. title: '注册协议'
  20. }
  21. },
  22. {
  23. path: '/privacyProtocol',
  24. name: 'privacyProtocol',
  25. component: () => import('@/views/protocol/privacy'),
  26. meta: {
  27. title: '酷乐秀隐私政策'
  28. }
  29. }
  30. ]