pages.json 6.2 KB

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