pages.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTextStyle": "black",
  6. "navigationBarTitleText": "救援者",
  7. "enablePullDownRefresh": true,
  8. "onReachBottomDistance": 50,
  9. "app-plus": {
  10. "titleNView": false
  11. }
  12. }
  13. },
  14. {
  15. "path": "pages/user/user",
  16. "style": {
  17. // #ifndef MP-WEIXIN
  18. "navigationStyle": "custom",
  19. // #endif
  20. "navigationBarTitleText": "个人中心"
  21. }
  22. },
  23. {
  24. "path": "pages/public/wxLogin",
  25. "style": {
  26. "navigationBarTitleText": "微信登录",
  27. "app-plus": {
  28. "titleNView": {
  29. "type": "none"
  30. }
  31. }
  32. }
  33. },
  34. {
  35. "path": "pages/public/login",
  36. "style": {
  37. "navigationBarTitleText": "登录",
  38. "app-plus": {
  39. "titleNView": {
  40. "type": "transparent"
  41. }
  42. }
  43. }
  44. },
  45. {
  46. "path": "pages/public/register",
  47. "style": {
  48. "navigationBarTitleText": "注册",
  49. "app-plus": {
  50. "titleNView": {
  51. "type": "transparent"
  52. }
  53. }
  54. }
  55. },
  56. {
  57. "path": "pages/rescuers/rescuers",
  58. "style": {
  59. // #ifndef MP-WEIXIN
  60. "navigationStyle": "custom",
  61. // #endif
  62. "enablePullDownRefresh": true,
  63. "navigationBarTitleText": "救援者注册"
  64. }
  65. },
  66. {
  67. "path": "pages/set/phone",
  68. "style": {
  69. "navigationBarTitleText": "手机号绑定"
  70. }
  71. },
  72. {
  73. "path": "pages/address/address",
  74. "style": {
  75. "navigationBarTitleText": "常用地址"
  76. }
  77. },
  78. {
  79. "path": "pages/rescuers/ToKey",
  80. "style": {
  81. // #ifdef MP-WEIXIN
  82. "navigationStyle": "custom",
  83. // #endif
  84. "navigationBarTitleText": "选择机构"
  85. }
  86. },
  87. {
  88. "path": "pages/record/details",
  89. "style": {
  90. "navigationBarTitleText": "救援详情"
  91. }
  92. },
  93. {
  94. "path": "pages/user/about",
  95. "style": {
  96. "navigationBarTitleText": "关于我们"
  97. }
  98. },
  99. {
  100. "path": "pages/set/password",
  101. "style": {
  102. "navigationBarTitleText": "修改密码"
  103. }
  104. },
  105. {
  106. "path": "pages/public/forget",
  107. "style": {
  108. "navigationBarTitleText": "忘记密码",
  109. "app-plus": {
  110. "titleNView": {
  111. "type": "transparent"
  112. }
  113. }
  114. }
  115. },
  116. {
  117. "path": "pages/record/help",
  118. "style": {
  119. "navigationBarTitleText": "求救记录",
  120. "enablePullDownRefresh": true
  121. }
  122. },
  123. {
  124. "path": "pages/record/rescue",
  125. "style": {
  126. "navigationBarTitleText": "救援记录",
  127. "enablePullDownRefresh": true
  128. }
  129. },
  130. {
  131. "path": "pages/public/agreement",
  132. "style": {
  133. "navigationBarTitleText": "服务协议"
  134. }
  135. },
  136. {
  137. "path": "pages/public/privacy",
  138. "style": {
  139. "navigationBarTitleText": "隐私协议"
  140. }
  141. },
  142. {
  143. "path": "pages/set/set",
  144. "style": {
  145. "navigationBarTitleText": "设置"
  146. }
  147. },
  148. {
  149. "path": "pages/userinfo/userinfo",
  150. "style": {
  151. "navigationBarTitleText": "修改资料"
  152. }
  153. },
  154. {
  155. "path": "pages/redirect/redirect",
  156. "style": {
  157. "navigationBarTitleText": "微信登录跳转页面",
  158. "app-plus": {
  159. "titleNView": false
  160. }
  161. }
  162. }
  163. ],
  164. "globalStyle": {
  165. "navigationBarTextStyle": "black",
  166. "navigationBarTitleText": "uni-app",
  167. "navigationBarBackgroundColor": "#FFFFFF",
  168. "backgroundColor": "#f8f8f8"
  169. },
  170. "tabBar": {
  171. "color": "#C0C4CC",
  172. "selectedColor": "#FF4F4F",
  173. "iconWidth": "18px",
  174. "borderStyle": "black",
  175. "backgroundColor": "#ffffff",
  176. "list": [{
  177. "pagePath": "pages/index/index",
  178. "iconPath": "static/tabBar/tab-home.png",
  179. "selectedIconPath": "static/tabBar/tab-home-current.png",
  180. "text": "SOS"
  181. },
  182. // {
  183. // "pagePath": "pages/rescuers/rescuers",
  184. // "iconPath": "static/tabBar/tab-cate.png",
  185. // "selectedIconPath": "static/tabBar/tab-cate-current.png",
  186. // "text": "救援注册"
  187. // },
  188. {
  189. "pagePath": "pages/record/rescue",
  190. "iconPath": "static/tabBar/tab-rescuers.png",
  191. "selectedIconPath": "static/tabBar/tab-rescuers-current.png",
  192. "text": "救援记录"
  193. },
  194. {
  195. "pagePath": "pages/user/user",
  196. "iconPath": "static/tabBar/tab-my.png",
  197. "selectedIconPath": "static/tabBar/tab-my-current.png",
  198. "text": "我的"
  199. }
  200. ]
  201. },
  202. "subPackages": [{
  203. "root": "pagesA",
  204. "pages": [{
  205. "path": "record/call",
  206. "style": {
  207. "app-plus": {
  208. "navigationBarTitleText": "求救记录",
  209. "titleNView": false
  210. },
  211. "usingComponents": {
  212. "trtc-room": "/wxcomponents/trtc-room/trtc-room"
  213. }
  214. }
  215. }]
  216. }],
  217. "preloadRule": {
  218. "pages/record/rescue": {
  219. "network": "all",
  220. "packages": ["pagesA"]
  221. }
  222. }
  223. }