pages.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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/view",
  25. "style": {
  26. "app-plus": {
  27. "titleNView": false,
  28. "bounce": "none",
  29. "navigationStyle": "custom"
  30. },
  31. "onReachBottomDistance":1 //距离底部多远时触发 单位px
  32. }
  33. },
  34. {
  35. "path" : "pages/dream/videoPlay",
  36. "style": {
  37. "app-plus": {
  38. "titleNView": false,
  39. "bounce": "none",
  40. "navigationStyle": "custom"
  41. }
  42. }
  43. },
  44. {
  45. "path" : "lib/dever/pages/web_view",
  46. "style": {
  47. "app-plus": {
  48. "titleNView": false,
  49. "bounce": "none",
  50. "navigationStyle": "custom"
  51. }
  52. }
  53. }
  54. ],
  55. "globalStyle": {
  56. "navigationBarTextStyle": "white",
  57. "navigationBarBackgroundColor": "#3c64c9",
  58. "navigationBarTitleText" : "幻境",
  59. "enablePullDownRefresh": true,
  60. "scrollIndicator": "none",
  61. "navigationStyle": "default",
  62. "app-plus": {
  63. "pullToRefresh": {
  64. "support": true,
  65. "color": "#3c64c9",
  66. "style": "default"
  67. }
  68. }
  69. },
  70. "tabBar": {
  71. "color": "#878d9d",
  72. "selectedColor": "#2a54a0",
  73. "borderStyle": "black",
  74. "backgroundColor": "#ffffff",
  75. "height": "50px",
  76. "fontSize": "10px",
  77. "iconWidth": "24px",
  78. "spacing": "3px",
  79. "list": [{
  80. "pagePath": "pages/index/index",
  81. "iconPath": "static/icon/nav01_a.png",
  82. "selectedIconPath": "static/icon/nav01.png",
  83. "text": "幻"
  84. },
  85. {
  86. "pagePath": "pages/im/explain",
  87. "iconPath": "static/icon/nav02_a.png",
  88. "selectedIconPath": "static/icon/nav02.png",
  89. "text": "镜"
  90. },
  91. {
  92. "pagePath": "pages/ucenter/ucenter",
  93. "iconPath": "static/icon/nav03_a.png",
  94. "selectedIconPath": "static/icon/nav03.png",
  95. "text": "灵"
  96. }
  97. ]
  98. },
  99. // 自动加载组件
  100. "easycom": {
  101. "custom": {
  102. "grace(.*)": "@/lib/graceUI/components/grace$1.vue",
  103. "^y-(.*)": "@/lib/community/y-$1/y-$1.vue"
  104. }
  105. }
  106. }