routerList.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. /**
  2. * meta对象说明
  3. * pageTitle:网站标题,
  4. * behavior:是否需要获取用户行为(点赞,评论,分享,评分等,及浏览量,点赞数,分享,评论数等)
  5. * requireLogin:是否需要登录后才能进入
  6. * fullScreen: false // 是否需要满屏显示
  7. */
  8. import login from './login.js'
  9. export default [
  10. ...login,
  11. // {
  12. // path: "/home",
  13. // name: "home",
  14. // component: () => import("@/view/home/index"),
  15. // hidden: true,
  16. // meta: {
  17. // pageTitle: "Home",
  18. // requireLogin: true,
  19. // fullScreen: true
  20. // }
  21. // },
  22. {
  23. path: "/",
  24. name: "home",
  25. component: () => import("@/view/overView/index"),
  26. hidden: true,
  27. meta: {
  28. pageTitle: "overView",
  29. chineseTitle: "Overview", // // 全览图
  30. navActive: "overView",
  31. fullScreen: true
  32. }
  33. },
  34. {
  35. path: "/product",
  36. name: "product",
  37. component: () => import("@/view/product/index"),
  38. hidden: true,
  39. meta: {
  40. pageTitle: "product",
  41. requireLogin: true,
  42. fullScreen: true
  43. }
  44. }, {
  45. path: "/products/:id/:name/:catalog",
  46. name: "productDetail",
  47. component: () => import("@/view/product/details"),
  48. hidden: true,
  49. meta: {
  50. pageTitle: 'Product Detail',
  51. chineseTitle: 'Product Detail', // 产品详情
  52. navActive: 'Product detail', // 匹配路由名字 产品详情
  53. fullScreen: true
  54. }
  55. }, {
  56. path: "/inquiry",
  57. name: "inquiry",
  58. component: () => import("@/view/inquiry/index"),
  59. hidden: true,
  60. meta: {
  61. pageTitle: 'Inquiry',
  62. chineseTitle: '询价',
  63. navActive: 'inquiry', // 匹配路由名字 询价页
  64. fullScreen: true
  65. }
  66. }, {
  67. path: "/privacy-policy",
  68. name: "privacy-policy",
  69. component: () => import("@/view/privacyPolicy/index"),
  70. hidden: true,
  71. meta: {
  72. pageTitle: "Privacy Policy",
  73. chineseTitle: "隐私政策",
  74. navActive: "Privacy Policy", // 匹配路由名字 隐私政策
  75. fullScreen: true
  76. }
  77. }, {
  78. path: "/mycart",
  79. name: "mycart",
  80. component: () => import("@/view/mycart/index"),
  81. hidden: true,
  82. meta: {
  83. pageTitle: "My Cart",
  84. chineseTitle: "购物车",
  85. navActive: "Mycart" // 购物车页
  86. }
  87. }, {
  88. path: "/article",
  89. name: "article",
  90. component: () => import("@/view/article/index"),
  91. hidden: true,
  92. meta: {
  93. pageTitle: "article",
  94. chineseTitle: "Related Articles",
  95. navActive: "article",
  96. fullScreen: true
  97. }
  98. }, {
  99. path: "/profile",
  100. name: "profile",
  101. component: () => import("@/view/profile/index"),
  102. hidden: true,
  103. meta: {
  104. pageTitle: "profile",
  105. chineseTitle: "Materials Download", // 资料下载
  106. navActive: "profile",
  107. fullScreen: true
  108. }
  109. },{
  110. path: "/antibody",
  111. name: "antibody",
  112. component: () => import("@/view/antibody/index"),
  113. hidden: true,
  114. meta: {
  115. pageTitle: "antibody",
  116. chineseTitle: "Antibody Database", // 抗体数据库
  117. navActive: "antibody",
  118. fullScreen: true
  119. }
  120. }, {
  121. path: "/antibodyDetail",
  122. name: "antibodyDetail",
  123. component: () => import("@/view/antibodyDetail/index"),
  124. hidden: true,
  125. meta: {
  126. pageTitle: "antibodyDetail",
  127. chineseTitle: "抗体数据库详情",
  128. navActive: "antibodyDetail",
  129. fullScreen: true
  130. }
  131. }, {
  132. path: "/articleDetail",
  133. name: "articleDetail",
  134. component: () => import("@/view/articleDetail/index"),
  135. hidden: true,
  136. meta: {
  137. pageTitle: "articleDetail",
  138. chineseTitle: "详情",
  139. navActive: "articleDetail",
  140. fullScreen: true
  141. }
  142. }, {
  143. path: "/promotion",
  144. name: "promotion",
  145. component: () => import("@/view/promotion/index"),
  146. hidden: true,
  147. meta: {
  148. pageTitle: "promotion",
  149. chineseTitle: "申请免费样品",
  150. navActive: "promotion",
  151. fullScreen: false
  152. }
  153. }
  154. ]