pages.json 9.3 KB

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