pages.json 8.5 KB

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