pages.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index", //首页
  8. "style": {
  9. "navigationStyle": "custom",
  10. "navigationBarTitleText": "首页",
  11. "navigationBarBackgroundColor": "#ffffff",
  12. "navigationBarTextStyle": "black",
  13. "app-plus": {
  14. "titleNView": "none"
  15. }
  16. }
  17. },
  18. {
  19. "path": "pages/index/index_old", //首页
  20. "style": {
  21. "navigationBarTitleText": "首页",
  22. "enablePullDownRefresh": true
  23. }
  24. },
  25. {
  26. "path": "pages/login/index" //登录
  27. },
  28. {
  29. "path": "pages/user/index",
  30. "style": {
  31. "navigationBarTitleText": "会员中心"
  32. }
  33. }
  34. ],
  35. "subPackages": [{
  36. "root": "pagesA",
  37. "pages": [{
  38. "path": "child/fixedRent", //我的定租
  39. "style": {
  40. "navigationBarTitleText": "网体总业绩"
  41. }
  42. },
  43. {
  44. "path": "child/rent", //我的租金
  45. "style": {
  46. "navigationBarTitleText": "我的租金"
  47. }
  48. },
  49. {
  50. "path": "child/personalData", //个人资料
  51. "style": {
  52. "navigationBarTitleText": "个人资料"
  53. }
  54. },
  55. {
  56. "path": "child/myClient", //我的客户
  57. "style": {
  58. "navigationBarTitleText": "我的客户"
  59. }
  60. },
  61. {
  62. "path": "child/gratitudeAward", //感恩奖
  63. "style": {
  64. "navigationBarTitleText": "感恩奖"
  65. }
  66. },
  67. {
  68. "path": "child/myCommission", //我的提成
  69. "style": {
  70. "navigationBarTitleText": "我的贡献值"
  71. }
  72. },
  73. {
  74. "path" : "user/myIncome",
  75. "style": {
  76. "navigationBarTitleText" : "账户中心"
  77. }
  78. },
  79. {
  80. "path" : "user/revenueHistory",
  81. "style" :
  82. {
  83. "navigationBarTitleText" : "历史记录"
  84. }
  85. },
  86. {
  87. "path" : "user/myTeam",
  88. "style" :
  89. {
  90. "navigationBarTitleText" : "我的团队"
  91. }
  92. },
  93. {
  94. "path" : "user/myPoints",
  95. "style" :
  96. {
  97. "navigationBarTitleText" : "我的消费券"
  98. }
  99. },
  100. {
  101. "path" : "user/myConsumption",
  102. "style" :
  103. {
  104. "navigationBarTitleText" : "消费记录"
  105. }
  106. },
  107. {
  108. "path" : "user/myCharge",
  109. "style" :
  110. {
  111. "navigationBarTitleText" : "充电记录"
  112. }
  113. },
  114. {
  115. "path" : "recharge/myRecharge",
  116. "style" :
  117. {
  118. "navigationBarTitleText" : "我的充值"
  119. }
  120. },
  121. {
  122. "path" : "recharge/recharge",
  123. "style" :
  124. {
  125. "navigationBarTitleText" : "我要充值"
  126. }
  127. },
  128. {
  129. "path" : "recharge/thirdPartyRecharge",
  130. "style" :
  131. {
  132. "navigationBarTitleText" : "第三方充值"
  133. }
  134. },
  135. {
  136. "path" : "withdrawal/myWithdrawal",
  137. "style" :
  138. {
  139. "navigationBarTitleText" : "我的提现"
  140. }
  141. },
  142. {
  143. "path" : "withdrawal/withdrawal",
  144. "style" :
  145. {
  146. "navigationBarTitleText" : "我要提现"
  147. }
  148. },
  149. {
  150. "path" : "transferAccounts/transferAccounts",
  151. "style" :
  152. {
  153. "navigationBarTitleText" : "我要转账"
  154. }
  155. },
  156. {
  157. "path" : "transferAccounts/transferRecode",
  158. "style" :
  159. {
  160. "navigationBarTitleText" : "转账记录"
  161. }
  162. },
  163. {
  164. "path" : "setting/index",
  165. "style" :
  166. {
  167. "navigationBarTitleText" : "账号设置"
  168. }
  169. },
  170. {
  171. "path" : "setting/password",
  172. "style" :
  173. {
  174. "navigationBarTitleText" : "支付密码"
  175. }
  176. },
  177. {
  178. "path" : "setting/resetPassword",
  179. "style" :
  180. {
  181. "navigationBarTitleText" : "验证手机号"
  182. }
  183. },
  184. {
  185. "path" : "setting/bankCard",
  186. "style" :
  187. {
  188. "navigationBarTitleText" : "银行账户"
  189. }
  190. },
  191. {
  192. "path" : "setting/setCardInfo",
  193. "style" :
  194. {
  195. "navigationBarTitleText" : "设置银行卡信息"
  196. }
  197. },
  198. {
  199. "path" : "setting/editLoginPassword",
  200. "style" :
  201. {
  202. "navigationBarTitleText" : "修改登录密码"
  203. }
  204. },
  205. {
  206. "path" : "setting/certification",
  207. "style" :
  208. {
  209. "navigationBarTitleText" : "实名认证"
  210. }
  211. }
  212. ]
  213. }],
  214. "preloadRule": {
  215. "pages/index/index": {
  216. "network": "all",
  217. "packages": ["pagesA"]
  218. }
  219. },
  220. "globalStyle": {
  221. "navigationBarTextStyle": "black",
  222. "navigationStyle": "custom",
  223. "navigationBarTitleText": "中云充",
  224. "navigationBarBackgroundColor": "#F8F8F8",
  225. "backgroundColor": "#F6FAFF"
  226. },
  227. "tabBar": {
  228. "color": "#000000",
  229. "selectedColor": "#48B592",
  230. "borderStyle": "white",
  231. "backgroundColor": "#ffffff",
  232. "fontSize": "12px",
  233. "iconWidth": "26px",
  234. "list": [{
  235. "pagePath": "pages/index/index",
  236. "iconPath": "static/tabbar/1-001.png",
  237. "selectedIconPath": "static/tabbar/1-002.png",
  238. "text": "首页"
  239. },
  240. {
  241. "pagePath": "pages/user/index",
  242. "iconPath": "static/tabbar/2-001.png",
  243. "selectedIconPath": "static/tabbar/2-002.png",
  244. "text": "我的"
  245. }
  246. ]
  247. },
  248. "condition": { //模式配置,仅开发期间生效
  249. "current": 0, //当前激活的模式(list 的索引项)
  250. "list": [{
  251. "name": "", //模式名称
  252. "path": "", //启动页面,必选
  253. "query": "" //启动参数,在页面的onLoad函数里面得到
  254. }]
  255. }
  256. }