pages.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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/article/index",
  76. "style": {
  77. "navigationBarTitleText": "资讯列表"
  78. }
  79. },
  80. {
  81. "path": "pages/article/detail",
  82. "style": {
  83. "navigationBarTitleText": "资讯详情"
  84. }
  85. },
  86. {
  87. "path": "pages/help/index",
  88. "style": {
  89. "navigationBarTitleText": "帮助中心"
  90. }
  91. },
  92. {
  93. "path": "pages/coupon/index",
  94. "style": {
  95. "navigationBarTitleText": "领券中心"
  96. }
  97. },
  98. {
  99. "path": "pages/goods/list",
  100. "style": {
  101. "navigationBarTitleText": "商品列表",
  102. "enablePullDownRefresh": true
  103. }
  104. },
  105. {
  106. "path": "pages/goods/detail",
  107. "style": {
  108. "navigationBarTitleText": "商品详情页"
  109. }
  110. },
  111. {
  112. "path": "pages/comment/index",
  113. "style": {
  114. "navigationBarTitleText": "商品评价页"
  115. }
  116. },
  117. {
  118. "path": "pages/my-coupon/index",
  119. "style": {
  120. "navigationBarTitleText": "我的优惠券"
  121. }
  122. },
  123. {
  124. "path": "pages/address/index",
  125. "style": {
  126. "navigationBarTitleText": "收货地址"
  127. }
  128. },
  129. {
  130. "path": "pages/address/create",
  131. "style": {
  132. "navigationBarTitleText": "新增收货地址"
  133. }
  134. },
  135. {
  136. "path": "pages/address/update",
  137. "style": {
  138. "navigationBarTitleText": "编辑收货地址"
  139. }
  140. },
  141. {
  142. "path": "pages/points/log",
  143. "style": {
  144. "navigationBarTitleText": "账单明细"
  145. }
  146. },
  147. {
  148. "path": "pages/wallet/index",
  149. "style": {
  150. "navigationBarTitleText": "我的钱包"
  151. }
  152. },
  153. {
  154. "path": "pages/wallet/balance/log",
  155. "style": {
  156. "navigationBarTitleText": "账单详情"
  157. }
  158. },
  159. {
  160. "path": "pages/wallet/recharge/index",
  161. "style": {
  162. "navigationBarTitleText": "充值中心"
  163. }
  164. },
  165. {
  166. "path": "pages/wallet/recharge/order",
  167. "style": {
  168. "navigationBarTitleText": "充值记录"
  169. }
  170. },
  171. {
  172. "path": "pages/checkout/index",
  173. "style": {
  174. "navigationBarTitleText": "订单结算台"
  175. }
  176. },
  177. {
  178. "path": "pages/order/index",
  179. "style": {
  180. "navigationBarTitleText": "我的订单",
  181. "enablePullDownRefresh": true
  182. }
  183. },
  184. {
  185. "path": "pages/order/detail",
  186. "style": {
  187. "navigationBarTitleText": "订单详情",
  188. "navigationBarTextStyle": "white",
  189. "navigationBarBackgroundColor": "#e8c269"
  190. }
  191. },
  192. {
  193. "path": "pages/order/express/index",
  194. "style": {
  195. "navigationBarTitleText": "物流跟踪"
  196. }
  197. },
  198. {
  199. "path": "pages/order/comment/index",
  200. "style": {
  201. "navigationBarTitleText": "订单评价"
  202. }
  203. },
  204. {
  205. "path": "pages/refund/index",
  206. "style": {
  207. "navigationBarTitleText": "退换/售后"
  208. }
  209. },
  210. {
  211. "path": "pages/refund/detail",
  212. "style": {
  213. "navigationBarTitleText": "售后详情"
  214. }
  215. },
  216. {
  217. "path": "pages/refund/apply",
  218. "style": {
  219. "navigationBarTitleText": "申请售后"
  220. }
  221. }
  222. ],
  223. "globalStyle": {
  224. // #ifdef H5
  225. "navigationStyle": "custom",
  226. // #endif
  227. "navigationBarBackgroundColor": "#ffffff",
  228. "navigationBarTitleText": "",
  229. "navigationBarTextStyle": "black",
  230. "backgroundTextStyle": "dark"
  231. },
  232. "easycom": {
  233. "autoscan": true,
  234. "custom": {
  235. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  236. }
  237. }
  238. }