租房小程序前端代码
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.

168 lines
3.5 KiB

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