pagesCopy.json 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. {
  2. "tabBar": {
  3. "color": "#000000",
  4. "selectedColor": "#fa2209",
  5. "borderStyle": "black",
  6. "backgroundColor": "#ffffff",
  7. "list": [
  8. {
  9. "pagePath": "pages/index/index",
  10. "iconPath": "static/tabbar/home.png",
  11. "selectedIconPath": "static/tabbar/homeActive.png",
  12. "text": "首页"
  13. },
  14. {
  15. "pagePath": "pages/category/index",
  16. "iconPath": "static/tabbar/cate.png",
  17. "selectedIconPath": "static/tabbar/cate-active.png",
  18. "text": "分类"
  19. },
  20. {
  21. "pagePath": "pages/index/index",
  22. "iconPath": "static/tabbar/cart.png",
  23. "selectedIconPath": "static/tabbar/cart-active.png",
  24. "text": "购物车"
  25. },
  26. {
  27. "pagePath": "pages/user/index",
  28. "iconPath": "static/tabbar/user.png",
  29. "selectedIconPath": "static/tabbar/user.png",
  30. "text": "我的"
  31. }
  32. ]
  33. },
  34. "pages": [
  35. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  36. {
  37. "path": "pages/index/index",
  38. "style": {
  39. "enablePullDownRefresh": true
  40. }
  41. },
  42. {
  43. "path": "pages/category/index",
  44. "style": {
  45. "navigationBarTitleText": "全部分类"
  46. }
  47. },
  48. {
  49. "path": "pages/cart/index",
  50. "style": {
  51. "navigationBarTitleText": "购物车"
  52. }
  53. },
  54. {
  55. "path": "pages/user/index",
  56. "style": {
  57. "navigationBarTitleText": "个人中心",
  58. "enablePullDownRefresh": true,
  59. "navigationStyle": "custom"
  60. }
  61. },
  62. {
  63. "path": "pages/custom/index",
  64. "style": {
  65. "enablePullDownRefresh": true
  66. }
  67. },
  68. {
  69. "path": "pages/search/index",
  70. "style": {
  71. "navigationBarTitleText": "商品搜索"
  72. }
  73. },
  74. {
  75. "path": "pages/login/index",
  76. "style": {
  77. "navigationBarTitleText": "代理登录/分销"
  78. }
  79. },
  80. {
  81. "path": "pages/user/bind/index",
  82. "style": {
  83. "navigationBarTitleText": "绑定手机"
  84. }
  85. },
  86. {
  87. "path": "pages/user/personal/index",
  88. "style": {
  89. "navigationBarTitleText": "个人信息"
  90. }
  91. },
  92. {
  93. "path": "pages/article/index",
  94. "style": {
  95. "navigationBarTitleText": "资讯列表"
  96. }
  97. },
  98. {
  99. "path": "pages/article/detail",
  100. "style": {
  101. "navigationBarTitleText": "资讯详情"
  102. }
  103. },
  104. {
  105. "path": "pages/help/index",
  106. "style": {
  107. "navigationBarTitleText": "帮助中心"
  108. }
  109. },
  110. {
  111. "path": "pages/coupon/index",
  112. "style": {
  113. "navigationBarTitleText": "领券中心"
  114. }
  115. },
  116. {
  117. "path": "pages/goods/list",
  118. "style": {
  119. "navigationBarTitleText": "商品列表",
  120. "enablePullDownRefresh": true
  121. }
  122. },
  123. {
  124. "path": "pages/goods/detail",
  125. "style": {
  126. "navigationBarTitleText": "商品详情页"
  127. }
  128. },
  129. {
  130. "path": "pages/comment/index",
  131. "style": {
  132. "navigationBarTitleText": "商品评价页"
  133. }
  134. },
  135. {
  136. "path": "pages/my-coupon/index",
  137. "style": {
  138. "navigationBarTitleText": "我的优惠券"
  139. }
  140. },
  141. {
  142. "path": "pages/address/index",
  143. "style": {
  144. "navigationBarTitleText": "收货地址"
  145. }
  146. },
  147. {
  148. "path": "pages/address/create",
  149. "style": {
  150. "navigationBarTitleText": "新增收货地址"
  151. }
  152. },
  153. {
  154. "path": "pages/address/update",
  155. "style": {
  156. "navigationBarTitleText": "编辑收货地址"
  157. }
  158. },
  159. {
  160. "path": "pages/points/log",
  161. "style": {
  162. "navigationBarTitleText": "账单明细"
  163. }
  164. },
  165. {
  166. "path": "pages/wallet/index",
  167. "style": {
  168. "navigationBarTitleText": "我的钱包"
  169. }
  170. },
  171. {
  172. "path": "pages/wallet/balance/log",
  173. "style": {
  174. "navigationBarTitleText": "账单详情"
  175. }
  176. },
  177. {
  178. "path": "pages/wallet/recharge/index",
  179. "style": {
  180. "navigationBarTitleText": "充值中心"
  181. }
  182. },
  183. {
  184. "path": "pages/wallet/recharge/order",
  185. "style": {
  186. "navigationBarTitleText": "充值记录"
  187. }
  188. },
  189. {
  190. "path": "pages/checkout/index",
  191. "style": {
  192. "navigationBarTitleText": "订单结算台"
  193. }
  194. },
  195. {
  196. "path": "pages/checkout/cashier/index",
  197. "style": {
  198. "navigationBarTitleText": "支付订单"
  199. }
  200. },
  201. {
  202. "path": "pages/order/center",
  203. "style": {
  204. "navigationBarTitleText": "订单中心",
  205. "enablePullDownRefresh": true
  206. }
  207. },
  208. {
  209. "path": "pages/order/index",
  210. "style": {
  211. "navigationBarTitleText": "我的订单",
  212. "enablePullDownRefresh": true
  213. }
  214. },
  215. {
  216. "path": "pages/order/detail",
  217. "style": {
  218. "navigationBarTitleText": "订单详情",
  219. "navigationBarTextStyle": "white",
  220. "navigationBarBackgroundColor": "#e8c269"
  221. }
  222. },
  223. {
  224. "path": "pages/order/express/index",
  225. "style": {
  226. "navigationBarTitleText": "物流跟踪"
  227. }
  228. },
  229. {
  230. "path": "pages/order/comment/index",
  231. "style": {
  232. "navigationBarTitleText": "订单评价"
  233. }
  234. },
  235. {
  236. "path": "pages/refund/index",
  237. "style": {
  238. "navigationBarTitleText": "退换/售后"
  239. }
  240. },
  241. {
  242. "path": "pages/refund/detail",
  243. "style": {
  244. "navigationBarTitleText": "售后详情"
  245. }
  246. },
  247. {
  248. "path": "pages/refund/apply",
  249. "style": {
  250. "navigationBarTitleText": "申请售后"
  251. }
  252. }
  253. ],
  254. "globalStyle": {
  255. // #ifdef H5
  256. // "navigationStyle": "custom",
  257. "maxWidth": 750,
  258. "rpxCalcMaxDeviceWidth": 750, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960
  259. "rpxCalcBaseDeviceWidth": 560, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375
  260. "rpxCalcIncludeWidth": 9999, // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750
  261. // #endif
  262. "navigationBarBackgroundColor": "#ffffff",
  263. "navigationBarTitleText": "",
  264. "navigationBarTextStyle": "black",
  265. "backgroundTextStyle": "dark"
  266. },
  267. "easycom": {
  268. "autoscan": true,
  269. "custom": {}
  270. }
  271. }