router_path.dart 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. //用户
  24. static const profileEdit = '/profile/edit';
  25. static const profileEstate = '/profile/estate';
  26. static const profileHousehold = '/profile/household';
  27. static const profileMyFollow = '/profile/my/follow';
  28. static const profileMyPost = '/profile/my/post';
  29. //社区
  30. static const community = '/community';
  31. static const newsFeed = 'community/news_feed';
  32. static const garageSale = 'community/garage_sale';
  33. //设施
  34. static const facility = '/facility';
  35. //表单
  36. static const form = '/form';
  37. //消息板
  38. static const noticeBoard = '/notice_board';
  39. //支付
  40. static const payment = '/payment';
  41. //房屋资产
  42. static const property = '/property';
  43. static const propertyIoan = 'property/ioan';
  44. static const propertyNews = 'property/news';
  45. static const propertySale = 'property/sale';
  46. static const propertyRent = 'property/rent';
  47. static const propertyNewsDetail = '/property_news_detail';
  48. //奖励
  49. static const rewards = '/rewards';
  50. //服务广告
  51. static const services = '/services';
  52. //全局其他
  53. static const previewImage = '/preview/image'; //预览图片
  54. static const globalWeb = '/global/web/:isShowAppBar/:initialUrl/:title'; //全局公用的Web页面
  55. //Runalone
  56. static const runAloneMain = '/runalone/main'; //独立运行的入口页面
  57. }