pages.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. {
  2. /**
  3. * pagesA ==> tarbar mine下的页面分包
  4. *
  5. * pagesB ==> agente 代理分包
  6. *
  7. * pagesC ==> pay 支付交易的分包
  8. */
  9. "easycom": {
  10. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  11. },
  12. "pages": [
  13. {
  14. "path": "pages/mine/mine",
  15. "style": {
  16. "navigationStyle": "custom",
  17. "navigationBarTitleText": "我的"
  18. }
  19. },
  20. {
  21. "path": "pages/gain/gain",
  22. "style": {
  23. "navigationBarTitleText": "赚积分",
  24. "enablePullDownRefresh": false
  25. }
  26. },
  27. {
  28. "path": "pages/consume/consume",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTitleText": "花积分"
  32. }
  33. }, {
  34. "path": "pages/search/search",
  35. "style": {
  36. "navigationBarTitleText": "搜索",
  37. "enablePullDownRefresh": false
  38. }
  39. }, {
  40. "path": "pages/webview/webview",
  41. "style": {
  42. "navigationBarTitleText": "",
  43. "enablePullDownRefresh": false
  44. }
  45. }, {
  46. "path": "pages/consume/detail/shop-detail",
  47. "style": {
  48. "navigationBarTitleText": "商户详情",
  49. "enablePullDownRefresh": false
  50. }
  51. },
  52. {
  53. "path": "pages/activity/activity",
  54. "style": {
  55. "navigationBarTitleText": "活动列表",
  56. "enablePullDownRefresh": false
  57. }
  58. }, {
  59. "path": "pages/activity/detail",
  60. "style": {
  61. "navigationBarTitleText": "活动详情",
  62. "enablePullDownRefresh": false,
  63. "navigationStyle": "custom"
  64. }
  65. }, {
  66. "path": "pages/consume/search/search",
  67. "style": {
  68. "navigationBarTitleText": "搜索",
  69. "enablePullDownRefresh": false
  70. }
  71. }, {
  72. "path": "pages/consume/search/list",
  73. "style": {
  74. "navigationBarTitleText": "搜索结果",
  75. "enablePullDownRefresh": false
  76. }
  77. }
  78. ],
  79. "subPackages": [{
  80. //tarbar下mine的分包
  81. "root": "pagesA",
  82. "pages": [{
  83. "path": "pages/my-balance/statistics",
  84. "style": {
  85. "navigationBarTitleText": "账单统计"
  86. }
  87. }, {
  88. "path": "pages/my-balance/my-balance",
  89. "style": {
  90. "navigationBarTitleText": "积分余额",
  91. "enablePullDownRefresh": false
  92. }
  93. }, {
  94. "path": "pages/setting/pay-setting",
  95. "style": {
  96. "navigationBarTitleText": "支付设置",
  97. "enablePullDownRefresh": false
  98. }
  99. }, {
  100. "path": "pages/setting/question",
  101. "style": {
  102. "navigationBarTitleText": "问题反馈",
  103. "enablePullDownRefresh": false
  104. }
  105. }, {
  106. "path": "pages/setting/setting",
  107. "style": {
  108. "navigationBarTitleText": "设置",
  109. "enablePullDownRefresh": false
  110. }
  111. }, {
  112. "path": "pages/myInfo",
  113. "style": {
  114. "navigationBarTitleText": "我的资料",
  115. "enablePullDownRefresh": false
  116. }
  117. }, {
  118. "path": "pages/my-points/accredit",
  119. "style": {
  120. "navigationBarTextStyle": "white",
  121. "navigationBarBackgroundColor": "#FF9447",
  122. "navigationBarTitleText": "积分授权",
  123. "enablePullDownRefresh": false
  124. }
  125. }, {
  126. "path": "pages/my-points/my-points",
  127. "style": {
  128. "navigationBarTitleText": "积分资产",
  129. "enablePullDownRefresh": false
  130. }
  131. }, {
  132. "path": "pages/my-points/exchange",
  133. "style": {
  134. "navigationBarTitleText": "积分通兑",
  135. "enablePullDownRefresh": false
  136. }
  137. }, {
  138. "path": "pages/bill/bill-detail",
  139. "style": {
  140. "navigationBarTitleText": "账单详情",
  141. "enablePullDownRefresh": false
  142. }
  143. }]
  144. }, {
  145. //tarbar下gain 代理的分包
  146. "root": "pagesB",
  147. "pages": [{
  148. "path": "pages/agent/agent",
  149. "style": {
  150. "navigationBarTitleText": "填写资料"
  151. }
  152. }, {
  153. "path": "pages/agent/pay",
  154. "style": {
  155. "navigationBarTitleText": "支付页面"
  156. }
  157. }, {
  158. "path": "pages/agent/promote",
  159. "style": {
  160. "navigationBarTitleText": "去推广"
  161. }
  162. }, {
  163. "path": "pages/agent/myPromote",
  164. "style": {
  165. "navigationBarTitleText": "我的推广"
  166. }
  167. }, {
  168. "path": "pages/agent/myIncome/myIncome",
  169. "style": {
  170. "navigationBarTitleText": "我的收益"
  171. }
  172. }, {
  173. "path": "pages/agent/myIncome/todayIncome",
  174. "style": {
  175. "navigationBarTitleText": "今日收益"
  176. }
  177. }, {
  178. "path": "pages/agent/myIncome/detail",
  179. "style": {
  180. "navigationBarTitleText": "收益详情"
  181. }
  182. }, {
  183. "path": "pages/agent/agentDetail",
  184. "style": {
  185. "navigationStyle": "custom",
  186. "navigationBarTitleText": ""
  187. }
  188. },
  189. {
  190. "path": "pages/agent/draw-poster",
  191. "style": {
  192. "navigationBarTitleText": "推广",
  193. "enablePullDownRefresh": false
  194. }
  195. }, {
  196. "path": "pages/shop-detail",
  197. "style": {
  198. "navigationBarTitleText": "商户详情",
  199. "enablePullDownRefresh": false
  200. }
  201. },
  202. {
  203. "path": "pages/withdraw/select-bank",
  204. "style": {
  205. "navigationBarTitleText": "选择银行卡",
  206. "enablePullDownRefresh": false
  207. }
  208. },
  209. {
  210. "path": "pages/withdraw/withdraw",
  211. "style": {
  212. "navigationBarTitleText": "提现",
  213. "enablePullDownRefresh": false
  214. }
  215. },
  216. {
  217. "path": "pages/userBank/userBank",
  218. "style": {
  219. "navigationBarTitleText": "我的银行卡",
  220. "enablePullDownRefresh": false
  221. }
  222. },
  223. {
  224. "path": "pages/userBank/add",
  225. "style": {
  226. "navigationBarTitleText": "我的银行卡",
  227. "enablePullDownRefresh": false
  228. }
  229. }, {
  230. "path": "pages/withdraw/records",
  231. "style": {
  232. "navigationBarTitleText": "提现记录",
  233. "enablePullDownRefresh": false
  234. }
  235. }
  236. ]
  237. }, {
  238. //支付特定包,扫码支付,付款码支付
  239. "root": "pagesC/",
  240. "pages": [{
  241. "path": "pages/checkstand/index",
  242. "style": {
  243. "navigationStyle": "custom",
  244. "navigationBarTitleText": "收银台",
  245. "enablePullDownRefresh": false
  246. }
  247. }, {
  248. "path": "pages/checkstand/order-res",
  249. "style": {
  250. "navigationBarTitleText": "支付结果",
  251. "enablePullDownRefresh": false
  252. }
  253. }, {
  254. "path": "pages/checkstand/pay-qrcode",
  255. "style": {
  256. "navigationBarTitleText": "付款码",
  257. "navigationBarTextStyle": "white",
  258. "navigationBarBackgroundColor": "#18b566",
  259. "enablePullDownRefresh": false
  260. }
  261. }, {
  262. "path": "pages/checkstand/pay-result",
  263. "style": {
  264. "navigationStyle": "custom",
  265. "navigationBarTitleText": "支付结果",
  266. "enablePullDownRefresh": false
  267. }
  268. }, {
  269. "path": "pages/checkstand/pay-qrcode1",
  270. "style": {
  271. "navigationBarTitleText": "付款码",
  272. "navigationBarTextStyle": "white",
  273. "navigationBarBackgroundColor": "#18b566",
  274. "enablePullDownRefresh": false
  275. }
  276. }]
  277. }
  278. ],
  279. "preloadRule": {
  280. "pages/gain/gain": {
  281. "network": "all",
  282. "packages": ["pagesB"]
  283. },
  284. "pages/mine/mine": {
  285. "network": "all",
  286. "packages": ["pagesA", "pagesC"]
  287. }
  288. },
  289. "tabBar": {
  290. "color": "#555555",
  291. "backgroundColor": "#FFFFFF",
  292. "borderStyle": "white",
  293. "selectedColor": "#222222",
  294. "list": [
  295. {
  296. "pagePath": "pages/mine/mine",
  297. "text": "我的",
  298. "selectedIconPath": "static/tarbar/mine1.png",
  299. "iconPath": "static/tarbar/mine.png"
  300. },
  301. {
  302. "pagePath": "pages/consume/consume",
  303. "text": "花积分",
  304. "selectedIconPath": "static/tarbar/consume-points1.png",
  305. "iconPath": "static/tarbar/consume-points.png"
  306. },
  307. {
  308. "pagePath": "pages/gain/gain",
  309. "text": "赚积分",
  310. "selectedIconPath": "static/tarbar/gain-points1.png",
  311. "iconPath": "static/tarbar/gain-points.png"
  312. }
  313. ]
  314. },
  315. "globalStyle": {
  316. "navigationBarTextStyle": "black",
  317. "navigationBarTitleText": "联兑通",
  318. "navigationBarBackgroundColor": "#fff",
  319. "backgroundColor": "#fff"
  320. }
  321. }