pages.json 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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. "navigationBarTitleText": "乐色管家",
  10. "enablePullDownRefresh": false
  11. }
  12. },
  13. {
  14. "path": "pages/goods/index", // 商城
  15. "style": {
  16. "navigationBarTitleText": "乐色商城",
  17. "enablePullDownRefresh": true
  18. }
  19. },
  20. {
  21. "path": "pages/login/login",
  22. "style": {
  23. "navigationBarTitleText": "授权登录"
  24. }
  25. },
  26. {
  27. "path": "pages/login/phoneLogin",
  28. "style": {
  29. "navigationBarTitleText": "手机号登录"
  30. }
  31. },
  32. {
  33. "path": "pages/userCenter/index",
  34. "style": {
  35. "navigationBarTitleText": "个人中心",
  36. "navigationBarBackgroundColor": "#01c9b2",
  37. "navigationBarTextStyle": "white"
  38. }
  39. },
  40. {
  41. "path": "pages/userCenter/ldDetailed",
  42. "style": {
  43. "navigationBarTitleText": "乐豆明细"
  44. }
  45. },
  46. {
  47. "path": "pages/userCenter/deliveryRecord",
  48. "style": {
  49. "navigationBarTitleText": "投递记录"
  50. }
  51. },
  52. {
  53. "path": "pages/userCenter/userInfo/userInfo",
  54. "style": {
  55. "navigationBarTitleText": "个人信息"
  56. }
  57. },
  58. {
  59. "path": "pages/userCenter/userInfo/smsVerification",
  60. "style": {
  61. "navigationBarTitleText": "短信验证"
  62. }
  63. },
  64. {
  65. "path": "pages/userCenter/userInfo/paymentPwd",
  66. "style": {
  67. "navigationBarTitleText": "支付密码"
  68. }
  69. },
  70. {
  71. "path": "pages/userCenter/userInfo/changePayPwd",
  72. "style": {
  73. "navigationBarTitleText": "修改支付密码"
  74. }
  75. },
  76. {
  77. "path": "pages/userCenter/aboutUs",
  78. "style": {
  79. "navigationBarTitleText": "关于我们"
  80. }
  81. },
  82. {
  83. "path": "pages/userCenter/question",
  84. "style": {
  85. "navigationBarTitleText": "常见问题"
  86. }
  87. },
  88. {
  89. "path": "pages/userCenter/zhinan",
  90. "style": {
  91. "navigationBarTitleText": "使用指南"
  92. }
  93. },
  94. {
  95. "path": "pages/userCenter/fenlei",
  96. "style": {
  97. "navigationBarTitleText": "回收分类"
  98. }
  99. },
  100. {
  101. "path": "pages/agreement/agreement",
  102. "style": {
  103. "navigationBarTitleText": "注意事项及服务协议"
  104. }
  105. },
  106. {
  107. "path" : "pages/store/store",
  108. "style" :
  109. {
  110. "navigationBarTitleText": "网点详情",
  111. "enablePullDownRefresh": false
  112. }
  113. },
  114. {
  115. "path" : "pages/checkOut/checkOut",
  116. "style" :
  117. {
  118. "navigationBarTitleText": "核销",
  119. "enablePullDownRefresh": false
  120. }
  121. },
  122. {
  123. "path" : "pages/checkOut/checkFinish",
  124. "style" :
  125. {
  126. "navigationBarTitleText": "核销完成",
  127. "enablePullDownRefresh": false
  128. }
  129. }
  130. ,{
  131. "path" : "pages/userCenter/myCode/myCode",
  132. "style" :
  133. {
  134. "navigationBarTitleText": "我的投递码",
  135. "enablePullDownRefresh": false
  136. }
  137. },
  138. {
  139. "path" : "pages/webView/webView",
  140. "style" :
  141. {
  142. "navigationBarTitleText": "",
  143. "enablePullDownRefresh": false
  144. }
  145. }
  146. ],
  147. "subPackages": [{
  148. "root": "pagesA",
  149. "pages": [
  150. {
  151. "path" : "cart/cart",
  152. "style" :
  153. {
  154. "navigationBarTitleText": "购物车",
  155. "enablePullDownRefresh": false
  156. }
  157. },
  158. {
  159. "path": "order/order",
  160. "style": {
  161. "navigationBarTitleText": "我的订单",
  162. "enablePullDownRefresh": true
  163. }
  164. }, {
  165. "path": "order/orderDetail",
  166. "style": {
  167. "navigationBarTitleText": "订单详情"
  168. }
  169. },
  170. {
  171. "path": "order/LogList",
  172. "style": {
  173. "navigationBarTitleText": "物流信息"
  174. }
  175. },
  176. {
  177. "path" : "toOrder/index",
  178. "style" :
  179. {
  180. "navigationBarTitleText": "提交订单",
  181. "enablePullDownRefresh": false
  182. }
  183. }
  184. ,{
  185. "path" : "toOrder/editAddress",
  186. "style" :
  187. {
  188. "navigationBarTitleText": "修改地址",
  189. "enablePullDownRefresh": false
  190. }
  191. },
  192. {
  193. "path" : "toOrder/payFinish",
  194. "style" :
  195. {
  196. "navigationBarTitleText": "支付完成",
  197. "enablePullDownRefresh": false
  198. }
  199. },
  200. {
  201. "path" : "luckDraw/luckDraw",
  202. "style" :
  203. {
  204. "navigationBarTitleText": "幸运大转盘",
  205. "enablePullDownRefresh": false
  206. }
  207. },
  208. {
  209. "path" : "luckDraw/paySuccess",
  210. "style" :
  211. {
  212. "navigationBarTitleText": "支付完成",
  213. "enablePullDownRefresh": false
  214. }
  215. },
  216. {
  217. "path" : "luckDraw/myJp",
  218. "style" :
  219. {
  220. "navigationBarTitleText": "我的奖品",
  221. "enablePullDownRefresh": false
  222. }
  223. }
  224. ,{
  225. "path" : "taskList/taskList",
  226. "style" :
  227. {
  228. "navigationBarTitleText": "抽奖任务",
  229. "enablePullDownRefresh": false
  230. }
  231. },
  232. {
  233. "path" : "goods/goods",
  234. "style" :
  235. {
  236. "navigationBarTitleText": "商品",
  237. "enablePullDownRefresh": true
  238. }
  239. },
  240. {
  241. "path" : "goods/goodsDetail",
  242. "style" :
  243. {
  244. "navigationBarTitleText": "商品详情",
  245. "enablePullDownRefresh": false
  246. }
  247. },
  248. {
  249. "path" : "giftCard/giftCard",
  250. "style" :
  251. {
  252. "navigationBarTitleText": "我的礼品卡",
  253. "enablePullDownRefresh": false
  254. }
  255. }
  256. ]
  257. }],
  258. "preloadRule": {
  259. "pages/index/index": {
  260. "network": "all",
  261. "packages": ["pagesA"]
  262. }
  263. },
  264. "globalStyle": {
  265. "navigationBarTextStyle": "black",
  266. "navigationBarTitleText": "uni-app",
  267. "navigationBarBackgroundColor": "#FFFFFF",
  268. "backgroundColor": "#f2f2f2",
  269. "app-plus": {
  270. // 将回弹属性关掉
  271. "bounce": "none",
  272. "scrollIndicator": "none"
  273. }
  274. },
  275. "tabBar": {
  276. "color": "#7A7E83",
  277. "selectedColor": "#01c9b2",
  278. "backgroundColor": "#ffffff",
  279. "fontSize": "14px",
  280. "list": [
  281. {
  282. "pagePath": "pages/index/index",
  283. "iconPath": "static/tabbar/home.png",
  284. "selectedIconPath": "static/tabbar/home-active.png",
  285. "text": "首页"
  286. },
  287. {
  288. "pagePath": "pages/goods/index",
  289. "iconPath": "static/tabbar/shop.png",
  290. "selectedIconPath": "static/tabbar/shop-active.png",
  291. "text": "商城"
  292. },
  293. {
  294. "pagePath": "pages/userCenter/index",
  295. "iconPath": "static/tabbar/user.png",
  296. "selectedIconPath": "static/tabbar/user-active.png",
  297. "text": "我的"
  298. }]
  299. }
  300. }