pages.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. "path" : "pages/dream/product",
  56. "style": {
  57. "app-plus": {
  58. "titleNView": false,
  59. "bounce": "none",
  60. "navigationStyle": "custom"
  61. }
  62. }
  63. },
  64. {
  65. "path" : "pages/user/login",
  66. "style": {
  67. "app-plus": {
  68. "titleNView": false,
  69. "bounce": "none",
  70. "navigationStyle": "custom"
  71. }
  72. }
  73. },
  74. {
  75. "path" : "pages/pay/act",
  76. "style": {
  77. "app-plus": {
  78. "titleNView": false,
  79. "bounce": "none",
  80. "navigationStyle": "custom"
  81. }
  82. }
  83. },
  84. {
  85. "path" : "pages/pay/msg",
  86. "style": {
  87. "app-plus": {
  88. "titleNView": false,
  89. "bounce": "none",
  90. "navigationStyle": "custom"
  91. }
  92. }
  93. },
  94. {
  95. "path" : "pages/chat/user",
  96. "style": {
  97. "app-plus": {
  98. "titleNView": false,
  99. "bounce": "none",
  100. "navigationStyle": "custom"
  101. },
  102. "enablePullDownRefresh" : false
  103. }
  104. }
  105. ],
  106. "globalStyle": {
  107. "navigationBarTextStyle": "white",
  108. "navigationBarBackgroundColor": "#0081ff",
  109. "navigationBarTitleText" : "幻境",
  110. "enablePullDownRefresh": true,
  111. "scrollIndicator": "none",
  112. "navigationStyle": "custom",
  113. "navigationBarTextStyle": "white",
  114. "app-plus": {
  115. "pullToRefresh": {
  116. "support": true,
  117. "color": "#0081ff",
  118. "style": "default"
  119. }
  120. }
  121. },
  122. "tabBar": {
  123. "color": "#878d9d",
  124. "selectedColor": "#2a54a0",
  125. "borderStyle": "black",
  126. "backgroundColor": "#ffffff",
  127. "height": "50px",
  128. "fontSize": "10px",
  129. "iconWidth": "24px",
  130. "spacing": "3px",
  131. "list": [{
  132. "pagePath": "pages/index/index",
  133. "iconPath": "static/icon/nav02_a.png",
  134. "selectedIconPath": "static/icon/nav02.png",
  135. "text": "发现"
  136. },
  137. /*
  138. {
  139. "pagePath": "pages/friend/index",
  140. "iconPath": "static/icon/nav01_a.png",
  141. "selectedIconPath": "static/icon/nav01.png",
  142. "text": "伙伴"
  143. },
  144. */
  145. {
  146. "pagePath": "pages/user/index",
  147. "iconPath": "static/icon/nav03_a.png",
  148. "selectedIconPath": "static/icon/nav03.png",
  149. "text": "我的"
  150. }
  151. ]
  152. },
  153. // 自动加载组件
  154. "easycom": {
  155. "custom": {
  156. "grace(.*)": "@/lib/graceUI/components/grace$1.vue",
  157. "^y-(.*)": "@/lib/community/y-$1/y-$1.vue"
  158. }
  159. }
  160. }