pages.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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. "subPackages": [{
  140. "root": "pagesA",
  141. "pages": [
  142. {
  143. "path" : "cart/cart",
  144. "style" :
  145. {
  146. "navigationBarTitleText": "购物车",
  147. "enablePullDownRefresh": false
  148. }
  149. },
  150. {
  151. "path": "order/order",
  152. "style": {
  153. "navigationBarTitleText": "我的订单",
  154. "enablePullDownRefresh": true
  155. }
  156. }, {
  157. "path": "order/orderDetail",
  158. "style": {
  159. "navigationBarTitleText": "订单详情"
  160. }
  161. },
  162. {
  163. "path": "order/LogList",
  164. "style": {
  165. "navigationBarTitleText": "物流信息"
  166. }
  167. },
  168. {
  169. "path" : "toOrder/index",
  170. "style" :
  171. {
  172. "navigationBarTitleText": "提交订单",
  173. "enablePullDownRefresh": false
  174. }
  175. }
  176. ,{
  177. "path" : "toOrder/editAddress",
  178. "style" :
  179. {
  180. "navigationBarTitleText": "修改地址",
  181. "enablePullDownRefresh": false
  182. }
  183. },
  184. {
  185. "path" : "toOrder/payFinish",
  186. "style" :
  187. {
  188. "navigationBarTitleText": "支付完成",
  189. "enablePullDownRefresh": false
  190. }
  191. },
  192. {
  193. "path" : "luckDraw/luckDraw",
  194. "style" :
  195. {
  196. "navigationBarTitleText": "幸运大转盘",
  197. "enablePullDownRefresh": false
  198. }
  199. },
  200. {
  201. "path" : "luckDraw/paySuccess",
  202. "style" :
  203. {
  204. "navigationBarTitleText": "支付完成",
  205. "enablePullDownRefresh": false
  206. }
  207. },
  208. {
  209. "path" : "luckDraw/myJp",
  210. "style" :
  211. {
  212. "navigationBarTitleText": "我的奖品",
  213. "enablePullDownRefresh": false
  214. }
  215. }
  216. ,{
  217. "path" : "taskList/taskList",
  218. "style" :
  219. {
  220. "navigationBarTitleText": "抽奖任务",
  221. "enablePullDownRefresh": false
  222. }
  223. },
  224. {
  225. "path" : "goods/goods",
  226. "style" :
  227. {
  228. "navigationBarTitleText": "商品",
  229. "enablePullDownRefresh": true
  230. }
  231. },
  232. {
  233. "path" : "goods/goodsDetail",
  234. "style" :
  235. {
  236. "navigationBarTitleText": "商品详情",
  237. "enablePullDownRefresh": false
  238. }
  239. },
  240. {
  241. "path" : "giftCard/giftCard",
  242. "style" :
  243. {
  244. "navigationBarTitleText": "我的礼品卡",
  245. "enablePullDownRefresh": false
  246. }
  247. }
  248. ]
  249. }],
  250. "preloadRule": {
  251. "pages/index/index": {
  252. "network": "all",
  253. "packages": ["pagesA"]
  254. }
  255. },
  256. "globalStyle": {
  257. "navigationBarTextStyle": "black",
  258. "navigationBarTitleText": "uni-app",
  259. "navigationBarBackgroundColor": "#FFFFFF",
  260. "backgroundColor": "#f2f2f2",
  261. "app-plus": {
  262. // 将回弹属性关掉
  263. "bounce": "none",
  264. "scrollIndicator": "none"
  265. }
  266. },
  267. "tabBar": {
  268. "color": "#7A7E83",
  269. "selectedColor": "#01c9b2",
  270. "backgroundColor": "#ffffff",
  271. "fontSize": "14px",
  272. "list": [
  273. {
  274. "pagePath": "pages/index/index",
  275. "iconPath": "static/tabbar/home.png",
  276. "selectedIconPath": "static/tabbar/home-active.png",
  277. "text": "首页"
  278. },
  279. {
  280. "pagePath": "pages/goods/index",
  281. "iconPath": "static/tabbar/shop.png",
  282. "selectedIconPath": "static/tabbar/shop-active.png",
  283. "text": "商城"
  284. },
  285. {
  286. "pagePath": "pages/userCenter/index",
  287. "iconPath": "static/tabbar/user.png",
  288. "selectedIconPath": "static/tabbar/user-active.png",
  289. "text": "我的"
  290. }]
  291. }
  292. }