router_path.dart 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 authResetPassword = '/auth/rest_psd'; //重置密码
  17. //首页
  18. static const main = '/main';
  19. static const notification = '/notification';
  20. static const settings = '/settings';
  21. static const settingsChangeMobile = '/settings/change/mobile';
  22. static const settingsResetPassword = '/settings/reset/psd';
  23. static const homePropertyNews = '/home/property/news';
  24. static const homeLatestNews = '/home/latest/news';
  25. static const homeManagementGuides = '/home/management/guides';
  26. static const visitorRegister = '/visitor/register';
  27. static const feedbackCreate = '/feedback/create';
  28. static const feedbackCreateSuccess = '/feedback/create/success';
  29. static const feedbackDetail = '/feedback/detail';
  30. //用户
  31. static const profileEdit = '/profile/edit';
  32. static const profileEstate = '/profile/estate';
  33. static const profileHousehold = '/profile/household';
  34. static const profileMyFollow = '/profile/my/follow';
  35. static const profileMyPost = '/profile/my/post';
  36. //社区
  37. static const community = '/community';
  38. static const newsfeedNews = 'community/newsfeed_news';
  39. static const newsfeedFollowing = 'community/newsfeed_following';
  40. static const newsfeedForyou = 'community/newsfeed_foryou';
  41. static const newsFeedPost = '/newsfeed_post';
  42. static const newsFeedDetail = '/newsfeed_detail';
  43. static const newsFeedMyPosts = '/newsfeed_my_posts';
  44. static const garage = '/garage';
  45. static const garageForSale = 'garage/garage_for_sale';
  46. static const garageForRent = 'garage/garage_for_rent';
  47. static const garageSalePost = '/garage_sale_post';
  48. static const garageSaleDetail = '/garage_sale_detail';
  49. static const garageSaleMyPosts = '/garage_sale_my_posts';
  50. //设施
  51. static const facility = '/facility';
  52. static const facilityDetail = '/facility/detail';
  53. static const facilityBook = '/facility/book';
  54. static const facilityBookConfirm = '/facility/book/confirm';
  55. //表单
  56. static const form = '/form';
  57. static const formAttachment = '/form/attachment';
  58. static const formPayment= '/form/payment';
  59. static const formGuestVehicle ='/form/guest/vehicle';
  60. static const formLargeTextBox ='/form/large/text/box';
  61. static const formMovingCompany ='/form/moving/company';
  62. static const formMovingDate ='/form/moving/date';
  63. static const formNoteManagement='/form/note/management';
  64. static const formRenovationCompany='/form/renovation/company';
  65. static const formRenovationDate='/form/renovation/date';
  66. static const formSignature='/form/signature';
  67. static const formTypeOfApplication='/form/type/application';
  68. static const formVehicleInfo='/form/vehicle/info';
  69. static const formTerms='/form/terms';
  70. //消息板
  71. static const noticeBoard = '/notice_board';
  72. static const announ = 'notice_board/announ';
  73. static const event = 'notice_board/event';
  74. static const documents = 'notice_board/documents';
  75. static const announcementDetail = '/notice_board/announcement_detail';
  76. static const eventDetail = '/notice_board/event_detail';
  77. static const documentsList = '/notice_board/documents_list';
  78. //支付
  79. static const payment = '/payment';
  80. static const paymentInfo = '/payment/info';
  81. static const paymentConfirm = '/payment/confirm';
  82. static const paymentSuccess = '/payment/success';
  83. static const paymentAddCard = '/payment/add';
  84. static const paymentChooseCard = '/payment/choose';
  85. //房屋资产
  86. static const property = '/property';
  87. static const propertyIoan = 'property/ioan';
  88. static const propertyNews = 'property/news';
  89. static const propertySale = 'property/sale';
  90. static const propertyRent = 'property/rent';
  91. static const propertyNewsDetail = '/property_news_detail';
  92. //奖励
  93. static const rewards = '/rewards';
  94. //服务广告
  95. static const services = '/services';
  96. //全局其他
  97. static const previewImage = '/preview/image'; //预览图片
  98. static const globalWeb = '/global/web/:isShowAppBar/:initialUrl/:title'; //全局公用的Web页面
  99. //Runalone
  100. static const runAloneMain = '/runalone/main'; //独立运行的入口页面
  101. }