pages.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/home/home",
  5. "style": {
  6. "enablePullDownRefresh": true
  7. }
  8. },
  9. {
  10. "path": "pages/list/list"
  11. },
  12. {
  13. "path": "pages/my/my"
  14. },
  15. {
  16. "path": "pages/detail/detail"
  17. }
  18. ],
  19. "globalStyle": {
  20. "navigationBarTextStyle": "white",
  21. "navigationBarTitleText": "uniapp",
  22. "navigationBarBackgroundColor": "#f00",
  23. "backgroundColor": "#ff8c00",
  24. "usingComponents": {
  25. "van-button": "/wxcomponents/vant/button/index",
  26. "van-goods-action": "/wxcomponents/vant/goods-action/index",
  27. "van-goods-action-icon": "/wxcomponents/vant/goods-action-icon/index",
  28. "van-goods-action-button": "/wxcomponents/vant/goods-action-button/index"
  29. }
  30. },
  31. "tabBar": {
  32. "color": "#000",
  33. "selectedColor": "#f00",
  34. "borderStyle": "black",
  35. "backgroundColor": "#ffffff",
  36. "position": "bottom",
  37. "list": [{
  38. "pagePath": "pages/home/home",
  39. "iconPath": "/static/image/home.png",
  40. "selectedIconPath": "/static/image/home_actived.png",
  41. "text": "首页"
  42. },
  43. {
  44. "pagePath": "pages/list/list",
  45. "iconPath": "/static/image/film.png",
  46. "selectedIconPath": "/static/image/film_actived.png",
  47. "text": "电影"
  48. },
  49. {
  50. "pagePath": "pages/my/my",
  51. "iconPath": "/static/image/me.png",
  52. "selectedIconPath": "/static/image/me_actived.png",
  53. "text": "我的"
  54. }
  55. ],
  56. "midButton": {
  57. "width": "80px",
  58. "height": "50px",
  59. "text": "导航",
  60. "iconPath": "/static/image/aa.png",
  61. "iconWidth": "24px"
  62. }
  63. },
  64. "uniIdRouter": {}
  65. }