activity.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. export default [
  2. {
  3. path: "/activity"
  4. // component: () => import("@views/home/index.vue")
  5. },
  6. {
  7. path: "/activity/poster/:id/:type",
  8. name: "Poster",
  9. meta: {
  10. title: "海报",
  11. keepAlive: false,
  12. backgroundColor: "#d22516",
  13. auth: true
  14. },
  15. component: () => import("@views/activity/Poster.vue")
  16. },
  17. {
  18. path: "/activity/dargain_detail/:id/:partake?",
  19. name: "DargainDetails",
  20. meta: {
  21. title: "砍价详情",
  22. keepAlive: false,
  23. backgroundColor: "#e93323",
  24. auth: true
  25. },
  26. component: () => import("@views/activity/DargainDetails.vue")
  27. },
  28. {
  29. path: "/activity/bargain",
  30. name: "GoodsBargain",
  31. meta: {
  32. title: "砍价列表",
  33. keepAlive: false,
  34. backgroundColor: "#e93323"
  35. },
  36. component: () => import("@views/activity/GoodsBargain.vue")
  37. },
  38. // {
  39. // path: "/activity/bargain/record",
  40. // name: "BargainRecord",
  41. // meta: {
  42. // title: "砍价记录",
  43. // keepAlive: true,
  44. // auth: true
  45. // },
  46. // component: () => import("@views/activity/BargainRecord.vue")
  47. // },
  48. {
  49. path: "/activity/bargain/record",
  50. name: "Message",
  51. meta: {
  52. idx: 6,
  53. title: "消息中心",
  54. keepAlive: true,
  55. auth: true
  56. },
  57. component: () => import("@views/user/Message.vue")
  58. },
  59. {
  60. path: "/message/detail/:id",
  61. name: "MessageDetail",
  62. meta: {
  63. idx: 7,
  64. title: "消息详情",
  65. keepAlive: true,
  66. auth: true
  67. },
  68. component: () => import("@views/user/MessageDetail.vue")
  69. },
  70. {
  71. path: "/activity/group",
  72. name: "GoodsGroup",
  73. meta: {
  74. title: "拼团列表",
  75. keepAlive: false,
  76. backgroundColor: "#fa533d"
  77. },
  78. component: () => import("@views/activity/GoodsGroup.vue")
  79. },
  80. {
  81. path: "/activity/group_detail/:id",
  82. name: "GroupDetails",
  83. meta: {
  84. title: "拼团详情",
  85. keepAlive: false
  86. },
  87. component: () => import("@views/activity/GroupDetails.vue")
  88. },
  89. {
  90. path: "/activity/group_rule/:id",
  91. name: "GroupRule",
  92. meta: {
  93. title: "拼团",
  94. keepAlive: true,
  95. auth: true
  96. },
  97. component: () => import("@views/activity/GroupRule.vue")
  98. },
  99. {
  100. path: "/activity/goods_seckill",
  101. name: "GoodsSeckill",
  102. meta: {
  103. title: "限时抢购",
  104. keepAlive: true,
  105. backgroundColor: "#ffffff"
  106. },
  107. component: () => import("@views/activity/GoodsSeckill.vue")
  108. },
  109. {
  110. path: "/activity/seckill_detail/:id?/:time?/:status?",
  111. name: "SeckillDetails",
  112. meta: {
  113. title: "抢购详情页",
  114. keepAlive: false
  115. },
  116. component: () => import("@views/activity/SeckillDetails.vue")
  117. }
  118. ];