router_path.dart 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. class RouterPath {
  2. // 默认的路由
  3. static const splash = '/';
  4. static const guide = '/guide'; //指引页面
  5. //用户
  6. static const authLogin = '/auth/login'; //用户登录注册
  7. static const authForgotInput = '/auth/forgot/input'; //忘记密码
  8. static const authForgotVerify = '/auth/forgot/verify'; //忘记密码校验
  9. static const authSignUp = '/auth/signup'; //注册
  10. static const authSignUpVerify = '/auth/signup/verify'; //注册的短信验证
  11. static const authSignUpSuccess = '/auth/signup/success'; //账号注册成功
  12. static const authSelectEstate = '/auth/select/estate'; //绑定社区
  13. static const authSelectUnit = '/auth/select/unit'; //绑定楼栋与房间号
  14. static const authSelectRole = '/auth/select/role'; //选择角色
  15. static const authTenantDoc = '/auth/tenant/doc'; //租户的文件上传
  16. static const authEstateUploadSuccess = '/auth/estate/success'; //Estate上传流程走完
  17. static const authResetPassword = '/auth/rest_psd'; //重置密码
  18. //首页
  19. static const main = '/main';
  20. static const notification = '/notification';
  21. static const settings = '/settings';
  22. static const settingsChangeMobile = '/settings/change/mobile';
  23. static const settingsResetPassword = '/settings/reset/psd';
  24. static const homePropertyNews = '/home/property/news';
  25. static const homeLatestNews = '/home/latest/news';
  26. static const homeManagementGuides = '/home/management/guides';
  27. static const visitorRegister = '/visitor/register';
  28. static const feedbackCreate = '/feedback/create';
  29. static const feedbackCreateSuccess = '/feedback/create/success';
  30. static const feedbackDetail = '/feedback/detail';
  31. //用户
  32. static const profileEdit = '/profile/edit';
  33. static const profileEstate = '/profile/estate';
  34. static const profileHousehold = '/profile/household';
  35. static const profileMyFollow = '/profile/my/follow';
  36. static const profileMyPost = '/profile/my/post';
  37. //社区
  38. static const community = '/community';
  39. static const newsfeedNews = 'community/newsfeed_news';
  40. static const newsfeedFollowing = 'community/newsfeed_following';
  41. static const newsfeedForYou = 'community/newsfeed_for_you';
  42. static const garageForSale = 'community/garage_for_sale';
  43. static const garageForRent = 'community/garage_for_rent';
  44. static const newsFeedPost = '/newsfeed_post';
  45. static const newsFeedDetail = '/newsfeed_detail';
  46. static const garage = '/garage';
  47. // static const garageForSale = 'garage/garage_for_sale';
  48. // static const garageForRent = 'garage/garage_for_rent';
  49. static const garageSalePost = '/garage_sale_post';
  50. static const garageSaleDetail = '/garage_sale_detail';
  51. static const myPosts = '/my_posts';
  52. static const myPostsNewsfeed = 'my_posts/my_posts_newsfeed';
  53. static const myPostsForSale = 'my_posts/my_posts_for_sale';
  54. static const myPostsForRent = 'my_posts/my_posts_for_rent';
  55. static const myFollowing = '/my_following';
  56. static const myFollowingFollow = 'my_following/follow';
  57. static const myFollowingFollower = 'my_following/follower';
  58. //设施
  59. static const facility = '/facility';
  60. static const facilityDetail = '/facility/detail';
  61. static const facilityBook = '/facility/book';
  62. static const facilityBookConfirm = '/facility/book/confirm';
  63. static const facilityLocation = '/facility/location';
  64. //表单
  65. static const form = '/form';
  66. static const formAttachment = '/form/attachment';
  67. static const formPayment = '/form/payment';
  68. static const formGuestVehicle = '/form/guest/vehicle';
  69. static const formLargeTextBox = '/form/large/text/box';
  70. static const formMovingCompany = '/form/moving/company';
  71. static const formMovingDate = '/form/moving/date';
  72. static const formNoteManagement = '/form/note/management';
  73. static const formRenovationCompany = '/form/renovation/company';
  74. static const formRenovationDate = '/form/renovation/date';
  75. static const formSignature = '/form/signature';
  76. static const formTypeOfApplication = '/form/type/application';
  77. static const formVehicleInfo = '/form/vehicle/info';
  78. static const formTerms = '/form/terms';
  79. static const formDetail = '/form/detail';
  80. //消息板
  81. static const noticeBoard = '/notice_board';
  82. static const announ = 'notice_board/announ';
  83. static const event = 'notice_board/event';
  84. static const documents = 'notice_board/documents';
  85. static const announcementDetail = '/notice_board/announcement_detail';
  86. static const eventDetail = '/notice_board/event_detail';
  87. static const documentsList = '/notice_board/documents_list';
  88. //支付
  89. static const payment = '/payment';
  90. static const paymentInfo = '/payment/info';
  91. static const paymentConfirm = '/payment/confirm';
  92. static const paymentSuccess = '/payment/success';
  93. static const paymentAddCard = '/payment/add';
  94. static const paymentChooseCard = '/payment/choose';
  95. //房屋资产
  96. static const property = '/property';
  97. static const propertyIoan = 'property/ioan';
  98. static const propertyNews = 'property/news';
  99. static const propertySale = 'property/sale';
  100. static const propertyRent = 'property/rent';
  101. static const propertyNewsDetail = '/property_news_detail';
  102. //奖励
  103. static const rewards = '/rewards';
  104. static const rewardsMy = '/rewards_my';
  105. static const rewardsMyActive = 'rewards_my/active';
  106. static const rewardsMyExpired = 'rewards_my/expired';
  107. static const rewardsMyUsed = 'rewards_my/used';
  108. static const rewardsList = '/rewards_list';
  109. static const rewardsAddress = '/rewards_address';
  110. static const rewardsCode = '/rewards_code';
  111. static const rewardsDetail = '/rewards_detail';
  112. static const rewardsConfirm = '/rewards_confirm';
  113. static const rewardsSuccessful = '/rewards_successful';
  114. static const rewardsRedeem = '/rewards_redeem';
  115. static const rewardsTransaction = '/rewards_transaction';
  116. static const rewardsHome = '/rewards_home';
  117. static const rewardsSearch = '/rewards_search';
  118. static const rewardsHistory = '/rewards_history';
  119. static const rewardsHistoryEarned = 'rewards_history/earned';
  120. static const rewardsHistorySpent = 'rewards_history/spent';
  121. //服务广告
  122. static const servicesMain = '/services_main';
  123. static const services = '/services';
  124. static const servicesHomeService = 'services_home_service';
  125. static const servicesInProgress = 'services_in_progress';
  126. static const servicesHistory = 'services_history';
  127. static const servicesCleanDetail = '/services_clean_detail';
  128. static const servicesRepairDetail = '/services_repair_detail';
  129. static const servicesOrderConfirm = '/services_order_confirm';
  130. static const servicesOrderDetail = '/services_order_detail';
  131. static const servicesOrderCancelSuccess = '/services_order_cancel_success';
  132. static const servicesOrderPaySuccess = '/services_order_pay_success';
  133. static const servicesEvaluateCreate = '/services_evaluate_create';
  134. static const servicesEvaluateCreateSuccess = '/services_evaluate_create_success';
  135. static const servicesEvaluateList = '/services_evaluate_list';
  136. static const repairServices = '/repair_services';
  137. static const repairServicesHomeService = 'repair_services_home_service';
  138. static const repairServicesInProgress = 'repair_services_in_progress';
  139. static const repairServicesHistory = 'repair_services_history';
  140. //全局其他
  141. static const previewImage = '/preview/image'; //预览图片
  142. static const globalWeb = '/global/web/:isShowAppBar/:initialUrl/:title'; //全局公用的Web页面
  143. //Runalone
  144. static const runAloneMain = '/runalone/main'; //独立运行的入口页面
  145. }