pages.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "enablePullDownRefresh": true,
  7. // #ifdef MP
  8. "navigationBarTitleText": "沣胜食品商城",
  9. //"navigationStyle": "custom",
  10. // #endif
  11. "app-plus": {
  12. "titleNView": {
  13. "titleText": "沣胜食品商城"
  14. //"type": "transparent"
  15. // "searchInput": {
  16. // "backgroundColor": "rgba(231, 231, 231,.7)",
  17. // "borderRadius": "16px",
  18. // "placeholder": "请输入地址 如:大钟寺",
  19. // "disabled": true,
  20. // "placeholderColor": "#606266"
  21. // },
  22. // "buttons": [{
  23. // "fontSrc": "/static/yticon.ttf",
  24. // "text": "\ue60d",
  25. // "fontSize": "26",
  26. // "color": "#303133",
  27. // "float": "left",
  28. // "background": "rgba(0,0,0,0)"
  29. // },
  30. // {
  31. // "fontSrc": "/static/yticon.ttf",
  32. // "text": "\ue744",
  33. // "fontSize": "27",
  34. // "color": "#303133",
  35. // "background": "rgba(0,0,0,0)",
  36. // "redDot": true
  37. // }
  38. // ]
  39. }
  40. }
  41. }
  42. },
  43. {
  44. "path": "pages/product/product",
  45. "style": {
  46. "navigationBarTitleText": "商品详情",
  47. "enablePullDownRefresh": false,
  48. "app-plus": {
  49. "titleNView": {
  50. "type": "transparent"
  51. }
  52. }
  53. }
  54. }, {
  55. "path": "pages/set/set",
  56. "style": {
  57. "navigationBarTitleText": "设置"
  58. }
  59. },
  60. {
  61. "path": "pages/consumption-record/consumption-record",
  62. "style": {
  63. "navigationBarTitleText": "消费记录"
  64. }
  65. },
  66. {
  67. "path": "pages/refund/refund",
  68. "style": {
  69. "navigationBarTitleText": "退款/售后"
  70. }
  71. },
  72. {
  73. "path": "pages/apply-after/apply-after",
  74. "style": {
  75. "navigationBarTitleText": "申请售后"
  76. }
  77. },
  78. {
  79. "path": "pages/personal-user/personal-user",
  80. "style": {
  81. "navigationBarTitleText": "我的信息"
  82. }
  83. },
  84. {
  85. "path": "pages/order-comment/order-comment",
  86. "style": {
  87. "navigationBarTitleText": "发布评价"
  88. }
  89. },
  90. {
  91. "path": "pages/update-mobile/update-mobile",
  92. "style": {
  93. "navigationBarTitleText": "修改手机号"
  94. }
  95. },
  96. {
  97. "path": "pages/recharge-record/recharge-record",
  98. "style": {
  99. "navigationBarTitleText": "充值记录"
  100. }
  101. },
  102. {
  103. "path": "pages/withdrawal-record/withdrawal-record",
  104. "style": {
  105. "navigationBarTitleText": "提现记录"
  106. }
  107. },
  108. {
  109. "path": "pages/feedback/feedback",
  110. "style": {
  111. "navigationBarTitleText": "意见反馈"
  112. }
  113. },
  114. {
  115. "path": "pages/recharge/recharge",
  116. "style": {
  117. "navigationBarTitleText": "会员充值"
  118. }
  119. },
  120. {
  121. "path": "pages/distribution/distribution",
  122. "style": {
  123. "navigationBarTitleText": "配送计划"
  124. }
  125. },
  126. {
  127. "path": "pages/confirm-order/confirm-order",
  128. "style": {
  129. "navigationBarTitleText": "确认订单"
  130. }
  131. },
  132. {
  133. "path": "pages/my-order/my-order",
  134. "style": {
  135. "navigationBarTitleText": "我的订单"
  136. }
  137. },
  138. {
  139. "path": "pages/comment/comment",
  140. "style": {
  141. "navigationBarTitleText": "评价列表"
  142. }
  143. },
  144. {
  145. "path": "pages/my-coupon/my-coupon",
  146. "style": {
  147. "navigationBarTitleText": "优惠券"
  148. }
  149. },
  150. {
  151. "path": "pages/order-detail/order-detail",
  152. "style": {
  153. "navigationBarTitleText": "订单详情"
  154. }
  155. },
  156. {
  157. "path": "pages/comment-detail/comment-detail",
  158. "style": {
  159. "navigationBarTitleText": "评价详情"
  160. }
  161. },
  162. {
  163. "path": "pages/ranking/ranking",
  164. "style": {
  165. "navigationBarTitleText": "排行榜",
  166. "navigationBarTextStyle": "white"
  167. }
  168. },
  169. {
  170. "path": "pages/cart/cart",
  171. "style": {
  172. "navigationBarTitleText": "购物车"
  173. }
  174. }, {
  175. "path": "pages/login/login",
  176. "style": {
  177. "navigationBarTitleText": "登录"
  178. }
  179. },
  180. {
  181. "path": "pages/agreement/agreement",
  182. "style": {
  183. "navigationBarTitleText": "协议"
  184. }
  185. },
  186. {
  187. "path": "pages/user/user",
  188. "style": {
  189. "navigationBarTitleText": "我的"
  190. }
  191. },
  192. {
  193. "path": "pages/address/address",
  194. "style": {
  195. "navigationBarTitleText": "收货地址"
  196. }
  197. }, {
  198. "path": "pages/add-address/add-address",
  199. "style": {
  200. "navigationBarTitleText": "添加地址"
  201. }
  202. },
  203. {
  204. "path": "pages/withdrawal/withdrawal",
  205. "style": {
  206. "navigationBarTitleText": "提现"
  207. }
  208. },
  209. {
  210. "path": "pages/shop-list/shop-list",
  211. "style": {
  212. "navigationBarTitleText": "商品列表"
  213. }
  214. },
  215. {
  216. "path": "pages/integral/integral",
  217. "style": {
  218. "navigationBarTitleText": "积分返现"
  219. }
  220. },
  221. {
  222. "path" : "pages/category/category",
  223. "style" : {
  224. "navigationBarTitleText": "全部商品",
  225. "enablePullDownRefresh": false,
  226. "app-plus": {
  227. "bounce": "none"
  228. }
  229. }
  230. }
  231. ],
  232. "globalStyle": {
  233. "navigationBarTextStyle": "black",
  234. "navigationBarTitleText": "uni-app",
  235. "navigationBarBackgroundColor": "#FFFFFF",
  236. "backgroundColor": "#f8f8f8",
  237. "navigationStyle": "custom"
  238. },
  239. "tabBar": {
  240. "color": "#AAAAAA",
  241. "selectedColor": "#41AE3C",
  242. "borderStyle": "black",
  243. "backgroundColor": "#ffffff",
  244. "list": [{
  245. "pagePath": "pages/index/index",
  246. "iconPath": "static/tab-home.png",
  247. "selectedIconPath": "static/tab-home-current.png",
  248. "text": "首页"
  249. },
  250. {
  251. "pagePath": "pages/category/category",
  252. "iconPath": "static/tab-cate.png",
  253. "selectedIconPath": "static/tab-cate-current.png",
  254. "text": "全部商品"
  255. },
  256. {
  257. "pagePath": "pages/cart/cart",
  258. "iconPath": "static/tab-cart.png",
  259. "selectedIconPath": "static/tab-cart-current.png",
  260. "text": "购物车"
  261. },
  262. {
  263. "pagePath": "pages/user/user",
  264. "iconPath": "static/tab-my.png",
  265. "selectedIconPath": "static/tab-my-current.png",
  266. "text": "我的"
  267. }
  268. ]
  269. },
  270. "condition" : { //模式配置,仅开发期间生效
  271. "current": 0, //当前激活的模式(list 的索引项)
  272. "list": [
  273. {
  274. "name": "index", //模式名称
  275. "path": "pages/index/index", //启动页面,必选
  276. "query": "" //启动参数,在页面的onLoad函数里面得到
  277. },
  278. {
  279. "name": "comment",
  280. "path": "pages/order/comment",
  281. "query":"order_id=nAyML8YWRXU1O2b&image=/shop/20200315/5507a02e4f1a43c72d8360e4194b42a5.png&title=万里无一万里无一万里无一万里无一万里无一万里无一苹果X&spec=白色"
  282. },
  283. {
  284. "name": "orderDetail",
  285. "path":"pages/order/orderDetail",
  286. "query":"order_id=XDW6kZLJD4ijNEE"
  287. },
  288. {
  289. "name":"orderRefund",
  290. "path":"pages/order/refund",
  291. "query":"order_id=7Rw23P1oW1CyPgO"
  292. },
  293. {
  294. "name":"userinfo",
  295. "path":"pages/userinfo/userinfo",
  296. "query":""
  297. },
  298. {
  299. "name": "deliveryTemplate",
  300. "path":"pages/order/delivery",
  301. "query":""
  302. }
  303. ]
  304. }
  305. }