租房小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

158 lines
3.2 KiB

11 months ago
10 months ago
11 months ago
10 months ago
10 months ago
11 months ago
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/home/index",
  5. "style": {
  6. "navigationBarTitleText": "租房",
  7. "enablePullDownRefresh": true, //`
  8. "onReachBottomDistance": 100
  9. }
  10. },
  11. {
  12. "path": "pages/auth/index",
  13. "style": {
  14. "navigationBarTitleText": "微信登录",
  15. "navigationStyle":"custom"
  16. }
  17. },
  18. {
  19. "path": "pages/login/index",
  20. "style": {
  21. "navigationStyle":"custom"
  22. }
  23. },
  24. {
  25. "path": "pages/discover/index",
  26. "style": {
  27. "navigationBarTitleText": "发现"
  28. }
  29. },
  30. {
  31. "path": "pages/user/index",
  32. "style": {
  33. "navigationBarTitleText": "我的",
  34. "navigationStyle":"default",
  35. "navigationBarBackgroundColor": "#1EC77A",
  36. "navigationBarTextStyle": "white"
  37. }
  38. },
  39. {
  40. "path": "pages/message/index",
  41. "style": {
  42. "navigationBarTitleText": "消息"
  43. }
  44. },
  45. {
  46. "path": "pages/apply/index",
  47. "style": {
  48. "navigationBarTitleText": "申请"
  49. }
  50. }
  51. ],
  52. "subPackages": [
  53. {
  54. "root": "pages_subpack",
  55. "pages": [
  56. {
  57. "path": "category/index",
  58. "style": {
  59. "navigationBarTitleText": "分类"
  60. }
  61. },
  62. {
  63. "path": "detail/index",
  64. "style": {
  65. "navigationBarTitleText": "详情"
  66. }
  67. },
  68. {
  69. "path": "release/index",
  70. "style": {
  71. "navigationBarTitleText": "发布"
  72. }
  73. },
  74. {
  75. "path": "broker/index",
  76. "style": {
  77. "navigationBarTitleText": "经纪人"
  78. }
  79. },
  80. {
  81. "path": "homeowner/index",
  82. "style": {
  83. "navigationBarTitleText": "房东"
  84. }
  85. },
  86. {
  87. "path": "success/index",
  88. "style": {
  89. "navigationBarTitleText": "登录成功"
  90. }
  91. },
  92. {
  93. "path": "house/index",
  94. "style": {
  95. "navigationBarTitleText": "房屋发布"
  96. }
  97. },
  98. {
  99. "path": "realname/index",
  100. "style": {
  101. "navigationBarTitleText": "实名认证"
  102. }
  103. },
  104. {
  105. "path": "successful/index",
  106. "style": {
  107. "navigationBarTitleText": "申请成功"
  108. }
  109. },
  110. {
  111. "path": "broker-apply/index",
  112. "style": {
  113. "navigationBarTitleText": "经纪人申请",
  114. "navigationBarBackgroundColor": "#ffffff",
  115. "navigationBarTextStyle": "black"
  116. }
  117. },
  118. {
  119. "path": "notice/index",
  120. "style": {
  121. "navigationBarTitleText": "公告",
  122. "navigationBarBackgroundColor": "#ffffff",
  123. "navigationBarTextStyle": "black"
  124. }
  125. }
  126. ]
  127. }
  128. ],
  129. "globalStyle": {
  130. "navigationBarTextStyle": "white",
  131. "navigationBarTitleText": "租房",
  132. "navigationBarBackgroundColor": "#1EC77A",
  133. "backgroundColor": "#1EC77A"
  134. },
  135. "tabBar": {
  136. "color": "#666666",
  137. "selectedColor": "#1EC77A",
  138. "backgroundColor": "#ffffff",
  139. "list": [
  140. {
  141. "pagePath": "pages/home/index",
  142. "iconPath": "static/bar/home.png",
  143. "selectedIconPath": "static/bar/home_selected.png",
  144. "text": "首页"
  145. }, {
  146. "pagePath": "pages/discover/index",
  147. "iconPath": "static/bar/find.png",
  148. "selectedIconPath": "static/bar/find_selected.png",
  149. "text": "发现"
  150. }, {
  151. "pagePath": "pages/user/index",
  152. "iconPath": "static/bar/user.png",
  153. "selectedIconPath": "static/bar/user_selected.png",
  154. "text": "我的"
  155. }
  156. ]
  157. },
  158. "uniIdRouter": {}
  159. }