index.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. import Vue from "vue";
  2. import VueRouter from "vue-router";
  3. import Home from "@/views/home/index.vue";
  4. import Mall from "@/views/Mall.vue";
  5. import Dynamic from "@/views/Dynamic.vue";
  6. import Profile from "@/views/Profile.vue";
  7. import ProfileDetail from "@/views/ProfileDetail.vue";
  8. import Register from "@/views/register.vue";
  9. import Charges from "@/views/charges.vue";
  10. import Financial from "@/views/financial.vue";
  11. import Signin from "@/views/Signin.vue";
  12. import Share from "@/views/Share.vue";
  13. import Mention from "@/views/Mention.vue";
  14. import UserCenter from "@/views/UserCenter.vue";
  15. import RealAuthentication from "@/views/RealAuthentication.vue";
  16. import BankCard from "@/views/BankCard.vue";
  17. import Member from "@/views/Member.vue";
  18. import TeamDetail from "@/views/TeamDetail.vue";
  19. import AssetCenter from "@/views/AssetCenter.vue";
  20. import OrderList from "@/views/OrderList.vue";
  21. import LeverList from "@/views/LeverList.vue";
  22. import CultureDetail from "@/views/cultureDetail.vue";
  23. import InvitePeople from '@/views/InvitePeople.vue'
  24. import Apply from '@/views/Apply.vue'
  25. import RetirementSubsidy from '@/views/RetirementSubsidy.vue'
  26. import Payment from '@/views/Payment.vue'
  27. import OrderManagement from '@/views/OrderManagement.vue'
  28. // 红旗医疗 后期直接替换邀请百姓
  29. import Medical from '@/views/Medical.vue'
  30. // 红旗中国 后期邀请百姓直接替换
  31. import China from '@/views/China.vue'
  32. Vue.use(VueRouter);
  33. const routes = [
  34. {
  35. path: "/",
  36. redirect: "/home"
  37. },
  38. {
  39. path: "/home",
  40. name: "Home",
  41. component: Home
  42. },
  43. {
  44. path: "/mall",
  45. name: "Mall",
  46. component: Mall
  47. },
  48. {
  49. path: "/dynamic",
  50. name: "Dynamic",
  51. component: Dynamic
  52. },
  53. {
  54. path: "/China",
  55. name: "China",
  56. component: China
  57. },
  58. {
  59. path: "/Medical",
  60. name: "Medical",
  61. component: Medical
  62. },
  63. {
  64. path: "/profile",
  65. name: "Profile",
  66. component: Profile
  67. },
  68. {
  69. path: "/profile/detail",
  70. name: "ProfileDetail",
  71. component: ProfileDetail
  72. },
  73. {
  74. path: "/register",
  75. name: "Register",
  76. component: Register,
  77. meta: {
  78. hideTabBar: true
  79. }
  80. },
  81. {
  82. path: "/charges",
  83. name: "Charges",
  84. component: Charges,
  85. meta: {
  86. hideTabBar: true
  87. }
  88. },
  89. {
  90. path: "/financial",
  91. name: "Financial",
  92. component: Financial,
  93. meta: {
  94. hideTabBar: true
  95. }
  96. },
  97. {
  98. path: "/signin",
  99. name: "Signin",
  100. component: Signin,
  101. meta: {
  102. hideTabBar: true
  103. }
  104. },
  105. {
  106. path: "/share",
  107. name: "Share",
  108. component: Share,
  109. meta: {
  110. hideTabBar: true
  111. }
  112. },
  113. {
  114. path: "/mention",
  115. name: "Mention",
  116. component: Mention,
  117. meta: {
  118. hideTabBar: true
  119. }
  120. },
  121. {
  122. path: "/login",
  123. name: "login",
  124. component: () =>
  125. import(/* webpackChunkName: "login" */ "../views/login.vue"),
  126. meta: {
  127. hideTabBar: true
  128. }
  129. },
  130. {
  131. path: "/forget",
  132. name: "forget",
  133. component: () =>
  134. import(/* webpackChunkName: "forget" */ "../views/forget.vue")
  135. },
  136. {
  137. path: "/user-center",
  138. name: "UserCenter",
  139. component: UserCenter,
  140. meta: {
  141. hideTabBar: true
  142. }
  143. },
  144. {
  145. path: "/real-authentication",
  146. name: "RealAuthentication",
  147. component: RealAuthentication,
  148. meta: {
  149. hideTabBar: true
  150. }
  151. },
  152. {
  153. path: "/bank-card",
  154. name: "BankCard",
  155. component: BankCard,
  156. meta: {
  157. hideTabBar: true
  158. }
  159. },
  160. {
  161. path: "/member",
  162. name: "Member",
  163. component: Member,
  164. meta: {
  165. hideTabBar: true
  166. }
  167. },
  168. {
  169. path: "/team-detail",
  170. name: "TeamDetail",
  171. component: TeamDetail,
  172. meta: {
  173. hideTabBar: true
  174. }
  175. },
  176. {
  177. path: "/asset-center",
  178. name: "AssetCenter",
  179. component: AssetCenter,
  180. meta: {
  181. hideTabBar: true
  182. }
  183. },
  184. {
  185. path: "/order-list",
  186. name: "OrderList",
  187. component: OrderList,
  188. meta: {
  189. hideTabBar: true
  190. }
  191. },
  192. {
  193. path: "/order-management",
  194. name: "OrderManagement",
  195. component: OrderManagement,
  196. meta: {
  197. hideTabBar: true
  198. }
  199. },
  200. {
  201. path: "/lever-list",
  202. name: "LeverList",
  203. component: LeverList,
  204. meta: {
  205. hideTabBar: true
  206. }
  207. },
  208. {
  209. path: "/culture/detail",
  210. name: "CultureDetail",
  211. component: CultureDetail
  212. },
  213. {
  214. path:'/InvitePeople',
  215. name:'InvitePeople',
  216. component:InvitePeople
  217. },
  218. {
  219. path: "/Apply",
  220. name: "Apply",
  221. component: Apply,
  222. meta: {
  223. hideTabBar: true
  224. },
  225. },
  226. {
  227. path: "/retirement-subsidy",
  228. name: "RetirementSubsidy",
  229. component: RetirementSubsidy,
  230. meta: {
  231. hideTabBar: true
  232. }
  233. },
  234. {
  235. path: "/Payment",
  236. name: "Payment",
  237. component: Payment,
  238. meta: {
  239. hideTabBar: true
  240. },
  241. }
  242. ];
  243. const router = new VueRouter({
  244. routes
  245. });
  246. export default router;