pages.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "app-plus": {
  7. "titleNView": false,
  8. "bounce": "none",
  9. "navigationStyle": "custom"
  10. }
  11. }
  12. },
  13. {
  14. "path": "pages/dream/index",
  15. "style": {
  16. "app-plus": {
  17. "titleNView": false,
  18. "bounce": "none",
  19. "navigationStyle": "custom"
  20. }
  21. }
  22. },
  23. {
  24. "path": "pages/dream/comment",
  25. "style": {
  26. "app-plus": {
  27. "titleNView": false,
  28. "bounce": "none",
  29. "navigationStyle": "custom"
  30. }
  31. }
  32. },
  33. {
  34. "path" : "pages/dream/view",
  35. "style": {
  36. "app-plus": {
  37. "titleNView": false,
  38. "bounce": "none",
  39. "navigationStyle": "custom"
  40. },
  41. "onReachBottomDistance":126 //距离底部多远时触发 单位px
  42. }
  43. },
  44. {
  45. "path" : "pages/dream/videoPlay",
  46. "style": {
  47. "app-plus": {
  48. "titleNView": false,
  49. "bounce": "none",
  50. "navigationStyle": "custom"
  51. }
  52. }
  53. },
  54. {
  55. "path" : "lib/dever/pages/web_view",
  56. "style": {
  57. "app-plus": {
  58. "titleNView": false,
  59. "bounce": "none",
  60. "navigationStyle": "custom"
  61. }
  62. }
  63. }
  64. ],
  65. "globalStyle": {
  66. "navigationBarTextStyle": "white",
  67. "navigationBarBackgroundColor": "#3c64c9",
  68. "navigationBarTitleText" : "幻境",
  69. "enablePullDownRefresh": true,
  70. "scrollIndicator": "none",
  71. "navigationStyle": "default",
  72. "app-plus": {
  73. "pullToRefresh": {
  74. "support": true,
  75. "color": "#3c64c9",
  76. "style": "default"
  77. }
  78. }
  79. },
  80. "tabBar": {
  81. "color": "#878d9d",
  82. "selectedColor": "#2a54a0",
  83. "borderStyle": "black",
  84. "backgroundColor": "#ffffff",
  85. "height": "50px",
  86. "fontSize": "10px",
  87. "iconWidth": "24px",
  88. "spacing": "3px",
  89. "list": [{
  90. "pagePath": "pages/index/index",
  91. "iconPath": "static/icon/nav01_a.png",
  92. "selectedIconPath": "static/icon/nav01.png",
  93. "text": "幻"
  94. },
  95. {
  96. "pagePath": "pages/im/explain",
  97. "iconPath": "static/icon/nav02_a.png",
  98. "selectedIconPath": "static/icon/nav02.png",
  99. "text": "镜"
  100. },
  101. {
  102. "pagePath": "pages/ucenter/ucenter",
  103. "iconPath": "static/icon/nav03_a.png",
  104. "selectedIconPath": "static/icon/nav03.png",
  105. "text": "灵"
  106. }
  107. ]
  108. },
  109. // 自动加载组件
  110. "easycom": {
  111. "custom": {
  112. "grace(.*)": "@/lib/graceUI/components/grace$1.vue",
  113. "^y-(.*)": "@/lib/community/y-$1/y-$1.vue"
  114. }
  115. }
  116. }