pages.json 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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/refund/refund",
  62. "style": {
  63. "navigationBarTitleText": "退款/售后"
  64. }
  65. },
  66. {
  67. "path": "pages/apply-after/apply-after",
  68. "style": {
  69. "navigationBarTitleText": "申请售后"
  70. }
  71. },
  72. {
  73. "path": "pages/personal-user/personal-user",
  74. "style": {
  75. "navigationBarTitleText": "我的信息"
  76. }
  77. },
  78. {
  79. "path": "pages/order-comment/order-comment",
  80. "style": {
  81. "navigationBarTitleText": "发布评价"
  82. }
  83. },
  84. {
  85. "path": "pages/update-mobile/update-mobile",
  86. "style": {
  87. "navigationBarTitleText": "修改手机号"
  88. }
  89. },
  90. {
  91. "path": "pages/recharge-record/recharge-record",
  92. "style": {
  93. "navigationBarTitleText": "充值记录"
  94. }
  95. },
  96. {
  97. "path": "pages/withdrawal-record/withdrawal-record",
  98. "style": {
  99. "navigationBarTitleText": "提现记录"
  100. }
  101. },
  102. {
  103. "path": "pages/feedback/feedback",
  104. "style": {
  105. "navigationBarTitleText": "意见反馈"
  106. }
  107. },
  108. {
  109. "path": "pages/recharge/recharge",
  110. "style": {
  111. "navigationBarTitleText": "会员充值"
  112. }
  113. },
  114. {
  115. "path": "pages/distribution/distribution",
  116. "style": {
  117. "navigationBarTitleText": "配送计划"
  118. }
  119. },
  120. {
  121. "path": "pages/confirm-order/confirm-order",
  122. "style": {
  123. "navigationBarTitleText": "确认订单"
  124. }
  125. },
  126. {
  127. "path": "pages/my-order/my-order",
  128. "style": {
  129. "navigationBarTitleText": "我的订单"
  130. }
  131. },
  132. {
  133. "path": "pages/comment/comment",
  134. "style": {
  135. "navigationBarTitleText": "评价列表"
  136. }
  137. },
  138. {
  139. "path": "pages/my-coupon/my-coupon",
  140. "style": {
  141. "navigationBarTitleText": "优惠券"
  142. }
  143. },
  144. {
  145. "path": "pages/order-detail/order-detail",
  146. "style": {
  147. "navigationBarTitleText": "订单详情"
  148. }
  149. },
  150. {
  151. "path": "pages/comment-detail/comment-detail",
  152. "style": {
  153. "navigationBarTitleText": "评价详情"
  154. }
  155. },
  156. {
  157. "path": "pages/ranking/ranking",
  158. "style": {
  159. "navigationBarTitleText": "排行榜",
  160. "navigationBarTextStyle": "white"
  161. }
  162. },
  163. {
  164. "path": "pages/userinfo/userinfo",
  165. "style": {
  166. "navigationBarTitleText": "修改资料"
  167. }
  168. }, {
  169. "path": "pages/cart/cart",
  170. "style": {
  171. "navigationBarTitleText": "购物车"
  172. }
  173. }, {
  174. "path": "pages/login/login",
  175. "style": {
  176. "navigationBarTitleText": "登录"
  177. }
  178. },
  179. {
  180. "path": "pages/agreement/agreement",
  181. "style": {
  182. "navigationBarTitleText": "协议"
  183. }
  184. },
  185. {
  186. "path": "pages/user/user",
  187. "style": {
  188. "navigationBarTitleText": "我的",
  189. // #ifdef MP
  190. "navigationStyle": "custom",
  191. "navigationBarTextStyle": "white",
  192. // #endif
  193. "app-plus": {
  194. "bounce": "none",
  195. "titleNView": {
  196. "type": "transparent"
  197. // "buttons": [{
  198. // "fontSrc": "/static/yticon.ttf",
  199. // "text": "\ue60f",
  200. // "fontSize": "24",
  201. // "color": "#303133",
  202. // "width": "46px",
  203. // "background": "rgba(0,0,0,0)"
  204. // },
  205. // {
  206. // "fontSrc": "/static/yticon.ttf",
  207. // "text": "\ue744",
  208. // "fontSize": "28",
  209. // "color": "#303133",
  210. // "background": "rgba(0,0,0,0)",
  211. // "redDot": true
  212. // }
  213. // ]
  214. }
  215. }
  216. }
  217. }, {
  218. "path": "pages/order/order",
  219. "style": {
  220. "navigationBarTitleText": "我的订单",
  221. "enablePullDownRefresh": true,
  222. "app-plus": {
  223. "bounce": "none"
  224. }
  225. }
  226. },
  227. {
  228. "path": "pages/order/orderDetail",
  229. "style": {
  230. "enablePullDownRefresh": true,
  231. "navigationBarTitleText": "订单详情",
  232. "app-plus": {
  233. "bounce": "none",
  234. "titleNView": {
  235. "type": "transparent"
  236. }
  237. }
  238. }
  239. },{
  240. "path": "pages/money/money",
  241. "style": {}
  242. }, {
  243. "path": "pages/order/createOrder",
  244. "style": {
  245. "navigationBarTitleText": "创建订单"
  246. }
  247. }, {
  248. "path": "pages/address/address",
  249. "style": {
  250. "navigationBarTitleText": "收货地址"
  251. }
  252. }, {
  253. "path": "pages/add-address/add-address",
  254. "style": {
  255. "navigationBarTitleText": "添加地址"
  256. }
  257. }, {
  258. "path": "pages/money/pay",
  259. "style": {
  260. "navigationBarTitleText": "支付"
  261. }
  262. },
  263. {
  264. "path": "pages/withdrawal/withdrawal",
  265. "style": {
  266. "navigationBarTitleText": "提现"
  267. }
  268. },
  269. {
  270. "path": "pages/shop-list/shop-list",
  271. "style": {
  272. "navigationBarTitleText": "商品列表"
  273. }
  274. },
  275. {
  276. "path": "pages/integral/integral",
  277. "style": {
  278. "navigationBarTitleText": "积分返现"
  279. }
  280. },
  281. {
  282. "path": "pages/money/paySuccess",
  283. "style": {
  284. "navigationBarTitleText": "支付成功"
  285. }
  286. }
  287. ,{
  288. "path" : "pages/notice/notice",
  289. "style" : {
  290. "navigationBarTitleText": "通知"
  291. }
  292. }
  293. ,{
  294. "path" : "pages/category/category",
  295. "style" : {
  296. "navigationBarTitleText": "全部商品",
  297. "enablePullDownRefresh": false,
  298. "app-plus": {
  299. "bounce": "none"
  300. }
  301. }
  302. }
  303. ,{
  304. "path" : "pages/flash/list",
  305. "style" : {
  306. "enablePullDownRefresh": true,
  307. "navigationBarTitleText": "限时秒杀"
  308. }
  309. },
  310. {
  311. "path" : "pages/favorite/favorite",
  312. "style" : {
  313. "enablePullDownRefresh": true,
  314. "navigationBarTitleText": "我的收藏"
  315. }
  316. },
  317. {
  318. "path" : "pages/order/evaluate",
  319. "style" : {
  320. "enablePullDownRefresh": true,
  321. "navigationBarTitleText": "发表评论"
  322. }
  323. },
  324. {
  325. "path" : "pages/order/refund",
  326. "style" : {
  327. "enablePullDownRefresh": true,
  328. "navigationBarTitleText": "申请售后"
  329. }
  330. },
  331. {
  332. "path" : "pages/order/delivery",
  333. "style" : {
  334. "enablePullDownRefresh": false,
  335. "navigationBarTitleText": "运费模板"
  336. }
  337. }
  338. ],
  339. "globalStyle": {
  340. "navigationBarTextStyle": "black",
  341. "navigationBarTitleText": "uni-app",
  342. "navigationBarBackgroundColor": "#FFFFFF",
  343. "backgroundColor": "#f8f8f8",
  344. "navigationStyle": "custom"
  345. },
  346. "tabBar": {
  347. "color": "#AAAAAA",
  348. "selectedColor": "#41AE3C",
  349. "borderStyle": "black",
  350. "backgroundColor": "#ffffff",
  351. "list": [{
  352. "pagePath": "pages/index/index",
  353. "iconPath": "static/tab-home.png",
  354. "selectedIconPath": "static/tab-home-current.png",
  355. "text": "首页"
  356. },
  357. {
  358. "pagePath": "pages/category/category",
  359. "iconPath": "static/tab-cate.png",
  360. "selectedIconPath": "static/tab-cate-current.png",
  361. "text": "全部商品"
  362. },
  363. {
  364. "pagePath": "pages/cart/cart",
  365. "iconPath": "static/tab-cart.png",
  366. "selectedIconPath": "static/tab-cart-current.png",
  367. "text": "购物车"
  368. },
  369. {
  370. "pagePath": "pages/user/user",
  371. "iconPath": "static/tab-my.png",
  372. "selectedIconPath": "static/tab-my-current.png",
  373. "text": "我的"
  374. }
  375. ]
  376. },
  377. "condition" : { //模式配置,仅开发期间生效
  378. "current": 0, //当前激活的模式(list 的索引项)
  379. "list": [
  380. {
  381. "name": "index", //模式名称
  382. "path": "pages/index/index", //启动页面,必选
  383. "query": "" //启动参数,在页面的onLoad函数里面得到
  384. },
  385. {
  386. "name": "comment",
  387. "path": "pages/order/comment",
  388. "query":"order_id=nAyML8YWRXU1O2b&image=/shop/20200315/5507a02e4f1a43c72d8360e4194b42a5.png&title=万里无一万里无一万里无一万里无一万里无一万里无一苹果X&spec=白色"
  389. },
  390. {
  391. "name": "orderDetail",
  392. "path":"pages/order/orderDetail",
  393. "query":"order_id=XDW6kZLJD4ijNEE"
  394. },
  395. {
  396. "name":"orderRefund",
  397. "path":"pages/order/refund",
  398. "query":"order_id=7Rw23P1oW1CyPgO"
  399. },
  400. {
  401. "name":"userinfo",
  402. "path":"pages/userinfo/userinfo",
  403. "query":""
  404. },
  405. {
  406. "name": "deliveryTemplate",
  407. "path":"pages/order/delivery",
  408. "query":""
  409. }
  410. ]
  411. }
  412. }