pages.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "同城代驾"
  7. }
  8. }, {
  9. "path": "pages/login/login",
  10. "style": {
  11. "navigationBarBackgroundColor": "#FFFFFF",
  12. "navigationBarTitleText": "登录"
  13. }
  14. },
  15. {
  16. "path": "pages/login/register",
  17. "style": {
  18. "navigationBarBackgroundColor": "#FFFFFF",
  19. "navigationBarTitleText": "注册"
  20. }
  21. },
  22. {
  23. "path": "pages/login/forgetThePassword",
  24. "style": {
  25. "navigationBarBackgroundColor": "#FFFFFF",
  26. "navigationBarTitleText": "找回密码"
  27. }
  28. }, {
  29. "path": "pages/taxiService/taxiService",
  30. "style": {
  31. "navigationBarTitleText": "欢迎使用同城代驾",
  32. "navigationBarBackgroundColor": "#FFFFFF"
  33. }
  34. },{
  35. "path": "pages/details/details",
  36. "style": {
  37. "app-plus": {
  38. "titleNView": {
  39. "type": "transparent"
  40. }
  41. }
  42. }
  43. }, {
  44. "path": "pages/forum/forum",
  45. "style": {
  46. "navigationBarTitleText": "畅聊",
  47. "navigationBarBackgroundColor": "#FFFFFF",
  48. "enablePullDownRefresh": true
  49. }
  50. }, {
  51. "path": "pages/forum/articleDetails",
  52. "style": {
  53. "navigationBarTitleText": "",
  54. "navigationBarBackgroundColor": "#FFFFFF"
  55. }
  56. }, {
  57. "path": "pages/forum/addForum",
  58. "style": {
  59. "navigationBarTitleText": "发布话题",
  60. "navigationBarBackgroundColor": "#FFFFFF"
  61. }
  62. }, {
  63. "path": "pages/mine/mine",
  64. "style": {
  65. "navigationStyle": "custom"
  66. }
  67. }, {
  68. "path": "pages/mine/updataUser",
  69. "style": {
  70. "navigationBarTitleText": "个人资料",
  71. "navigationBarBackgroundColor": "#FFFFFF"
  72. }
  73. }, {
  74. "path": "pages/mine/order",
  75. "style": {
  76. "navigationBarTitleText": "我的订单",
  77. "navigationBarBackgroundColor": "#FFFFFF"
  78. }
  79. }, {
  80. "path": "pages/mine/applyDriving",
  81. "style": {
  82. "navigationBarTitleText": "申请代驾",
  83. "navigationBarBackgroundColor": "#FFFFFF"
  84. }
  85. }, {
  86. "path": "pages/mine/setting",
  87. "style": {
  88. "navigationBarTitleText": "设置",
  89. "navigationBarBackgroundColor": "#FFFFFF"
  90. }
  91. }, {
  92. "path": "pages/mine/opinion",
  93. "style": {
  94. "navigationBarTitleText": "意见反馈",
  95. "navigationBarBackgroundColor": "#FFFFFF"
  96. }
  97. }, {
  98. "path": "pages/mine/aboutUs",
  99. "style": {
  100. "navigationBarTitleText": "关于我们",
  101. "navigationBarBackgroundColor": "#FFFFFF"
  102. }
  103. }, {
  104. "path": "pages/mine/integral",
  105. "style": {
  106. "navigationBarTitleText": "积分",
  107. "navigationBarBackgroundColor": "#32c45e",
  108. "enablePullDownRefresh": true
  109. }
  110. }, {
  111. "path": "pages/mine/myForum",
  112. "style": {
  113. "navigationBarTitleText": "我的畅聊",
  114. "navigationBarBackgroundColor": "#FFFFFF"
  115. }
  116. },
  117. {
  118. "path": "pages/myDriving/myDriving",
  119. "style": {
  120. "navigationBarTitleText": "我是代驾",
  121. "navigationBarBackgroundColor": "#FFFFFF",
  122. "enablePullDownRefresh": true
  123. }
  124. }, {
  125. "path": "pages/myDriving/drivingDetails",
  126. "style": {
  127. "navigationBarTitleText": "代驾接单详情",
  128. "navigationBarBackgroundColor": "#FFFFFF"
  129. }
  130. }, {
  131. "path": "pages/myDriving/createOrder",
  132. "style": {
  133. "navigationBarTitleText": "创建订单",
  134. "navigationBarBackgroundColor": "#FFFFFF"
  135. }
  136. }, {
  137. "path": "pages/myDriving/order",
  138. "style": {
  139. "navigationBarTitleText": "订单",
  140. "navigationBarBackgroundColor": "#FFFFFF"
  141. }
  142. }, {
  143. "path": "pages/myDriving/withdraw",
  144. "style": {
  145. "navigationBarTitleText": "余额",
  146. "navigationBarBackgroundColor": "#32C45E",
  147. "navigationBarTextStyle": "white"
  148. }
  149. }, {
  150. "path": "pages/myDriving/withdraws",
  151. "style": {
  152. "navigationBarTitleText": "余额提现",
  153. "navigationBarBackgroundColor": "#FFFFFF"
  154. }
  155. }, {
  156. "path": "pages/myDriving/recording",
  157. "style": {
  158. "navigationBarTitleText": "提现记录",
  159. "navigationBarBackgroundColor": "#FFFFFF",
  160. "enablePullDownRefresh": true
  161. }
  162. }, {
  163. "path": "pages/mine/agree",
  164. "style": {
  165. "navigationBarTitleText": "用户协议",
  166. "navigationBarBackgroundColor": "#FFFFFF"
  167. }
  168. }
  169. ],
  170. "globalStyle": {
  171. "navigationBarTextStyle": "black",
  172. "navigationBarTitleText": "uni-app",
  173. "navigationBarBackgroundColor": "#F8F8F8",
  174. "backgroundColor": "#F8F8F8"
  175. },
  176. "tabBar": {
  177. "backgroundColor": "#FFFFFF",
  178. "color": "#999999",
  179. "selectedColor": "#32C45E",
  180. "list": [{
  181. "pagePath": "pages/index/index",
  182. "iconPath": "static/sy.png",
  183. "selectedIconPath": "static/sys.png",
  184. "text": "首页"
  185. },
  186. {
  187. "pagePath": "pages/forum/forum",
  188. "iconPath": "static/cl.png",
  189. "text": "畅聊",
  190. "selectedIconPath": "static/cls.png"
  191. },
  192. {
  193. "pagePath": "pages/mine/mine",
  194. "iconPath": "static/wd.png",
  195. "selectedIconPath": "static/wds.png",
  196. "text": "我的"
  197. }
  198. ]
  199. },
  200. "condition" : { //模式配置,仅开发期间生效
  201. "current": 0, //当前激活的模式(list 的索引项)
  202. "list": [
  203. {
  204. "name": "下单", //模式名称
  205. "path": "pages/taxiService/taxiService", //启动页面,必选
  206. "query": "action=call" //启动参数,在页面的onLoad函数里面得到
  207. },
  208. {
  209. "name": "申请代驾", //模式名称
  210. "path": "pages/mine/applyDriving", //启动页面,必选
  211. "query": "" //启动参数,在页面的onLoad函数里面得到
  212. }
  213. ]
  214. }
  215. }