shop.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import Layout from '@/layout'
  2. const shopRouter = {
  3. path: '/shop',
  4. component: Layout,
  5. redirect: '/shop/standard-products',
  6. name: 'Shopping Mall',
  7. meta: {
  8. title: 'shop',
  9. icon: 'el-icon-s-goods'
  10. },
  11. children: [
  12. {
  13. path: 'standard-products', // 普通商品列表
  14. component: () => import('@/views/shop/standard-products'),
  15. name: 'StandardProducts',
  16. meta: { title: 'Standard Products', icon: 'el-icon-goods' }
  17. },
  18. {
  19. path: 'car-fund-products', // 车奖商品列表
  20. component: () => import('@/views/shop/car-fund-products'),
  21. name: 'CarFundProducts',
  22. meta: { title: 'Car Fund Products', icon: 'el-icon-goods' }
  23. },
  24. {
  25. path: 'villa-fund-products', // 房奖商品列表
  26. component: () => import('@/views/shop/villa-fund-products'),
  27. name: 'VillaFundProducts',
  28. meta: { title: 'Villa Fund Products', icon: 'el-icon-goods' }
  29. },
  30. {
  31. path: 'dec-order-list', // 报单列表
  32. component: () => import('@/views/shop/dec-order-list'),
  33. name: 'DecOrderList',
  34. meta: { title: 'Welcome Pack Listing', icon: 'el-icon-goods' }
  35. },
  36. {
  37. path: 'reconsume', // 复消
  38. component: () => import('@/views/shop/reconsume'),
  39. name: 'reconsume',
  40. meta: { title: 'Reconsume', icon: 'el-icon-goods' }
  41. },
  42. {
  43. path: 'order-list', // 订单列表
  44. component: () => import('@/views/shop/order-list'),
  45. name: 'OrderList',
  46. meta: { title: 'Order List', icon: 'el-icon-goods' }
  47. },
  48. {
  49. path: 'ba-dec-order-list', // BA报单列表
  50. component: () => import('@/views/shop/ba-dec-order-list'),
  51. name: 'BaDecOrderList',
  52. meta: { title: 'Welcome Listing', icon: 'el-icon-goods' }
  53. }
  54. ]
  55. }
  56. export default shopRouter