pages.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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/index/list",
  15. "style": {
  16. "app-plus": {
  17. "titleNView": false,
  18. "bounce": "none",
  19. "navigationStyle": "custom",
  20. "scrollIndicator":"none"
  21. }
  22. }
  23. },
  24. {
  25. "path": "pages/user/index",
  26. "style": {
  27. "navigationBarTitleText": "个人资料",
  28. "app-plus": {
  29. "titleNView": false,
  30. "bounce": "none",
  31. "navigationStyle": "custom"
  32. }
  33. }
  34. },
  35. {
  36. "path": "pages/dream/index",
  37. "style": {
  38. "app-plus": {
  39. "titleNView": false,
  40. "bounce": "none",
  41. "navigationStyle": "custom"
  42. }
  43. }
  44. },
  45. {
  46. "path" : "pages/dream/view",
  47. "style": {
  48. "app-plus": {
  49. "titleNView": false,
  50. "bounce": "none",
  51. "navigationStyle": "custom"
  52. },
  53. "onReachBottomDistance":1 ,//距离底部多远时触发 单位px
  54. "enablePullDownRefresh" : false
  55. }
  56. },
  57. {
  58. "path" : "pages/dream/videoPlay",
  59. "style": {
  60. "app-plus": {
  61. "titleNView": false,
  62. "bounce": "none",
  63. "navigationStyle": "custom"
  64. }
  65. }
  66. },
  67. {
  68. "path" : "lib/dever/pages/web_view",
  69. "style": {
  70. "app-plus": {
  71. "titleNView": false,
  72. "bounce": "none",
  73. "navigationStyle": "custom"
  74. }
  75. }
  76. },
  77. {
  78. "path" : "pages/dream/product",
  79. "style": {
  80. "app-plus": {
  81. "titleNView": false,
  82. "bounce": "none",
  83. "navigationStyle": "custom"
  84. }
  85. }
  86. },
  87. {
  88. "path" : "pages/user/login",
  89. "style": {
  90. "app-plus": {
  91. "titleNView": false,
  92. "bounce": "none",
  93. "navigationStyle": "custom"
  94. }
  95. }
  96. },
  97. {
  98. "path" : "pages/pay/act",
  99. "style": {
  100. "app-plus": {
  101. "titleNView": false,
  102. "bounce": "none",
  103. "navigationStyle": "custom"
  104. }
  105. }
  106. },
  107. {
  108. "path" : "pages/pay/msg",
  109. "style": {
  110. "app-plus": {
  111. "titleNView": false,
  112. "bounce": "none",
  113. "navigationStyle": "custom"
  114. }
  115. }
  116. },
  117. {
  118. "path" : "pages/chat/user",
  119. "style": {
  120. "app-plus": {
  121. "titleNView": false,
  122. "bounce": "none",
  123. "navigationStyle": "custom"
  124. },
  125. "enablePullDownRefresh" : false
  126. }
  127. },
  128. {
  129. "path" : "lib/dever/pages/web_view",
  130. "style": {
  131. "app-plus": {
  132. "titleNView": false,
  133. "bounce": "none",
  134. "navigationStyle": "custom"
  135. },
  136. "enablePullDownRefresh" : false
  137. }
  138. }
  139. ],
  140. "globalStyle": {
  141. "navigationBarTextStyle": "white",
  142. "navigationBarBackgroundColor": "#0081ff",
  143. "navigationBarTitleText" : "合小记",
  144. "enablePullDownRefresh": true,
  145. "scrollIndicator": "none",
  146. "navigationStyle": "custom",
  147. "navigationBarTextStyle": "white",
  148. "app-plus": {
  149. "pullToRefresh": {
  150. "support": true,
  151. "color": "#0081ff",
  152. "style": "default"
  153. }
  154. }
  155. },
  156. "tabBar": {
  157. "color": "#878d9d",
  158. "selectedColor": "#97AF13",
  159. "borderStyle": "black",
  160. "backgroundColor": "#ffffff",
  161. "height": "50px",
  162. "fontSize": "10px",
  163. "iconWidth": "24px",
  164. "spacing": "3px",
  165. "list": [{
  166. "pagePath": "pages/index/index",
  167. "iconPath": "static/images/tabBar/index.png",
  168. "selectedIconPath": "static/images/tabBar/index_selected.png",
  169. "text": "我的"
  170. },
  171. {
  172. "pagePath": "pages/index/list",
  173. "iconPath": "static/images/tabBar/take.png",
  174. "selectedIconPath": "static/images/tabBar/take_selected.png",
  175. "text": "发现"
  176. }/*,
  177. {
  178. "pagePath": "pages/user/index",
  179. "iconPath": "static/images/tabBar/mine.png",
  180. "selectedIconPath": "static/images/tabBar/mine_selected.png",
  181. "text": "创作"
  182. }*/
  183. ]
  184. },
  185. // 自动加载组件
  186. "easycom": {
  187. "custom": {
  188. "grace(.*)": "@/lib/graceUI/components/grace$1.vue",
  189. "^y-(.*)": "@/lib/community/y-$1/y-$1.vue"
  190. }
  191. }
  192. }