pages.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  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. "navigationBarTitleText": "",
  84. "enablePullDownRefresh": false
  85. }
  86. }
  87. ],
  88. "subPackages": [{
  89. //tarbar下mine的分包
  90. "root": "pagesA",
  91. "pages": [{
  92. "path": "pages/my-balance/statistics",
  93. "style": {
  94. "navigationBarTitleText": "账单统计"
  95. }
  96. }, {
  97. "path": "pages/my-balance/my-balance",
  98. "style": {
  99. "navigationBarTitleText": "积分余额",
  100. "enablePullDownRefresh": false
  101. }
  102. }, {
  103. "path": "pages/setting/pay-setting",
  104. "style": {
  105. "navigationBarTitleText": "支付设置",
  106. "enablePullDownRefresh": false
  107. }
  108. }, {
  109. "path": "pages/setting/question",
  110. "style": {
  111. "navigationBarTitleText": "问题反馈",
  112. "enablePullDownRefresh": false
  113. }
  114. }, {
  115. "path": "pages/setting/setting",
  116. "style": {
  117. "navigationBarTitleText": "设置",
  118. "enablePullDownRefresh": false
  119. }
  120. }, {
  121. "path": "pages/myInfo",
  122. "style": {
  123. "navigationBarTitleText": "我的资料",
  124. "enablePullDownRefresh": false
  125. }
  126. }, {
  127. "path": "pages/my-points/accredit",
  128. "style": {
  129. "navigationBarTextStyle": "white",
  130. "navigationBarBackgroundColor": "#FF9447",
  131. "navigationBarTitleText": "积分授权",
  132. "enablePullDownRefresh": false
  133. }
  134. }, {
  135. "path": "pages/my-points/my-points",
  136. "style": {
  137. "navigationBarTitleText": "积分资产",
  138. "enablePullDownRefresh": false
  139. }
  140. }, {
  141. "path": "pages/my-points/exchange",
  142. "style": {
  143. "navigationBarTitleText": "积分通兑",
  144. "enablePullDownRefresh": false
  145. }
  146. }, {
  147. "path": "pages/bill/bill-detail",
  148. "style": {
  149. "navigationBarTitleText": "账单详情",
  150. "enablePullDownRefresh": false
  151. }
  152. }, {
  153. "path": "pages/bill/my-bills",
  154. "style": {
  155. "navigationBarTitleText": "我的账单",
  156. "enablePullDownRefresh": false
  157. }
  158. }, {
  159. "path": "pages/bill/statistics",
  160. "style": {
  161. "navigationBarTitleText": "账单统计",
  162. "enablePullDownRefresh": false
  163. }
  164. }]
  165. }, {
  166. //tarbar下gain 代理的分包
  167. "root": "pagesB",
  168. "pages": [{
  169. "path": "pages/agent/agent",
  170. "style": {
  171. "navigationBarTitleText": "填写资料"
  172. }
  173. }, {
  174. "path": "pages/agent/pay",
  175. "style": {
  176. "navigationBarTitleText": "支付页面"
  177. }
  178. }, {
  179. "path": "pages/agent/promote",
  180. "style": {
  181. "navigationBarTitleText": "去推广"
  182. }
  183. }, {
  184. "path": "pages/agent/myPromote",
  185. "style": {
  186. "navigationBarTitleText": "我的推广"
  187. }
  188. }, {
  189. "path": "pages/agent/myIncome/myIncome",
  190. "style": {
  191. "navigationBarTitleText": "我的收益"
  192. }
  193. }, {
  194. "path": "pages/agent/myIncome/todayIncome",
  195. "style": {
  196. "navigationBarTitleText": "今日收益"
  197. }
  198. }, {
  199. "path": "pages/agent/myIncome/detail",
  200. "style": {
  201. "navigationBarTitleText": "收益详情"
  202. }
  203. }, {
  204. "path": "pages/agent/agentDetail",
  205. "style": {
  206. "navigationStyle": "custom",
  207. "navigationBarTitleText": ""
  208. }
  209. },
  210. {
  211. "path": "pages/agent/draw-poster",
  212. "style": {
  213. "navigationBarTitleText": "推广",
  214. "enablePullDownRefresh": false
  215. }
  216. }, {
  217. "path": "pages/shop-detail",
  218. "style": {
  219. "navigationBarTitleText": "商户详情",
  220. "enablePullDownRefresh": false
  221. }
  222. },
  223. {
  224. "path": "pages/withdraw/select-bank",
  225. "style": {
  226. "navigationBarTitleText": "选择银行卡",
  227. "enablePullDownRefresh": false
  228. }
  229. },
  230. {
  231. "path": "pages/withdraw/withdraw",
  232. "style": {
  233. "navigationBarTitleText": "提现",
  234. "enablePullDownRefresh": false
  235. }
  236. },
  237. {
  238. "path": "pages/userBank/userBank",
  239. "style": {
  240. "navigationBarTitleText": "我的银行卡",
  241. "enablePullDownRefresh": false
  242. }
  243. },
  244. {
  245. "path": "pages/userBank/add",
  246. "style": {
  247. "navigationBarTitleText": "我的银行卡",
  248. "enablePullDownRefresh": false
  249. }
  250. }, {
  251. "path": "pages/withdraw/records",
  252. "style": {
  253. "navigationBarTitleText": "提现记录",
  254. "enablePullDownRefresh": false
  255. }
  256. }
  257. ]
  258. }, {
  259. //支付特定包,扫码支付,付款码支付
  260. "root": "pagesC/",
  261. "pages": [{
  262. "path": "pages/checkstand/index",
  263. "style": {
  264. "navigationStyle": "custom",
  265. "navigationBarTitleText": "收银台",
  266. "enablePullDownRefresh": false
  267. }
  268. }, {
  269. "path": "pages/checkstand/order-res",
  270. "style": {
  271. "navigationBarTitleText": "支付结果",
  272. "enablePullDownRefresh": false
  273. }
  274. }, {
  275. "path": "pages/checkstand/pay-qrcode",
  276. "style": {
  277. "navigationBarTitleText": "付款码",
  278. "navigationBarTextStyle": "white",
  279. "navigationBarBackgroundColor": "#18b566",
  280. "enablePullDownRefresh": false
  281. }
  282. }, {
  283. "path": "pages/checkstand/pay-result",
  284. "style": {
  285. "navigationStyle": "custom",
  286. "navigationBarTitleText": "支付结果",
  287. "enablePullDownRefresh": false
  288. }
  289. }, {
  290. "path": "pages/checkstand/pay-qrcode1",
  291. "style": {
  292. "navigationBarTitleText": "付款码",
  293. "navigationBarTextStyle": "white",
  294. "navigationBarBackgroundColor": "#18b566",
  295. "enablePullDownRefresh": false
  296. }
  297. }]
  298. }, {
  299. //商品点餐包
  300. "root": "pagesD/",
  301. "pages": [{
  302. "path": "pages/menu/menu",
  303. "style": {
  304. "navigationBarTitleText": "菜单",
  305. "enablePullDownRefresh": false
  306. }
  307. }, {
  308. "path": "pages/address/address",
  309. "style": {
  310. "navigationBarTitleText": "地址",
  311. "enablePullDownRefresh": false
  312. }
  313. }, {
  314. "path": "pages/address/add",
  315. "style": {
  316. "navigationBarTitleText": "添加地址",
  317. "enablePullDownRefresh": false
  318. }
  319. }, {
  320. "path": "pages/pay/pay",
  321. "style": {
  322. "navigationBarTitleText": "付款",
  323. "enablePullDownRefresh": false
  324. }
  325. }, {
  326. "path": "pages/pay/remark",
  327. "style": {
  328. "navigationBarTitleText": "备注",
  329. "enablePullDownRefresh": false
  330. }
  331. }, {
  332. "path": "pages/take-order/take-order",
  333. "style": {
  334. "navigationBarTitleText": "订单详情",
  335. "enablePullDownRefresh": false
  336. }
  337. }, {
  338. "path": "pages/test",
  339. "style": {
  340. "navigationBarTitleText": "测试",
  341. "enablePullDownRefresh": false
  342. }
  343. }]
  344. }],
  345. "preloadRule": {
  346. "pages/gain/gain": {
  347. "network": "all",
  348. "packages": ["pagesB"]
  349. },
  350. "pages/mine/mine": {
  351. "network": "all",
  352. "packages": ["pagesA", "pagesC"]
  353. },
  354. "pages/consume/consume": {
  355. "network": "all",
  356. "packages": ["pagesD"]
  357. }
  358. },
  359. "tabBar": {
  360. "color": "#555555",
  361. "backgroundColor": "#FFFFFF",
  362. "borderStyle": "white",
  363. "selectedColor": "#222222",
  364. "list": [
  365. {
  366. "pagePath": "pages/mine/mine",
  367. "text": "我的",
  368. "selectedIconPath": "static/tarbar/mine1.png",
  369. "iconPath": "static/tarbar/mine.png"
  370. },
  371. {
  372. "pagePath": "pages/consume/consume",
  373. "text": "花积分",
  374. "selectedIconPath": "static/tarbar/consume-points1.png",
  375. "iconPath": "static/tarbar/consume-points.png"
  376. },
  377. {
  378. "pagePath": "pages/gain/gain",
  379. "text": "赚积分",
  380. "selectedIconPath": "static/tarbar/gain-points1.png",
  381. "iconPath": "static/tarbar/gain-points.png"
  382. }
  383. ]
  384. },
  385. "globalStyle": {
  386. "navigationBarTextStyle": "black",
  387. "navigationBarTitleText": "联兑通",
  388. "navigationBarBackgroundColor": "#fff",
  389. "backgroundColor": "#fff"
  390. }
  391. }