pages.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/list",
  5. "style": {
  6. "app-plus": {
  7. "titleNView": false,
  8. "bounce": "none",
  9. "navigationStyle": "custom"
  10. }
  11. }
  12. },
  13. {
  14. "path": "pages/index/index",
  15. "style": {
  16. "app-plus": {
  17. "titleNView": false,
  18. "bounce": "none",
  19. "navigationStyle": "custom",
  20. "scrollIndicator":"none"
  21. }
  22. }
  23. },
  24. {
  25. "path": "pages/index/news",
  26. "style": {
  27. "app-plus": {
  28. "titleNView": false,
  29. "bounce": "none",
  30. "navigationStyle": "custom",
  31. "scrollIndicator":"none"
  32. }
  33. }
  34. },
  35. {
  36. "path": "pages/index/news_view",
  37. "style": {
  38. "app-plus": {
  39. "titleNView": false,
  40. "bounce": "none",
  41. "navigationStyle": "custom",
  42. "scrollIndicator":"none"
  43. }
  44. }
  45. },
  46. {
  47. "path": "pages/index/my",
  48. "style": {
  49. "app-plus": {
  50. "titleNView": false,
  51. "bounce": "none",
  52. "navigationStyle": "custom",
  53. "scrollIndicator":"none"
  54. }
  55. }
  56. },
  57. {
  58. "path": "pages/index/msg",
  59. "style": {
  60. "disableScroll" : true,
  61. "app-plus": {
  62. "titleNView": false,
  63. "bounce": "none",
  64. "navigationStyle": "custom",
  65. "scrollIndicator":"none"
  66. }
  67. }
  68. },
  69. {
  70. "path": "pages/tool/web_view",
  71. "style": {
  72. "app-plus": {
  73. "titleNView": false,
  74. "bounce": "none",
  75. "navigationStyle": "custom",
  76. "scrollIndicator":"none"
  77. }
  78. }
  79. },
  80. {
  81. "path": "pages/user/index",
  82. "style": {
  83. "navigationBarTitleText": "个人资料",
  84. "app-plus": {
  85. "titleNView": false,
  86. "bounce": "none",
  87. "navigationStyle": "custom"
  88. }
  89. }
  90. },
  91. {
  92. "path": "pages/dream/index",
  93. "style": {
  94. "app-plus": {
  95. "titleNView": false,
  96. "bounce": "none",
  97. "navigationStyle": "custom"
  98. }
  99. }
  100. },
  101. {
  102. "path" : "pages/dream/view",
  103. "style": {
  104. "app-plus": {
  105. "titleNView": false,
  106. "bounce": "none",
  107. "navigationStyle": "custom"
  108. },
  109. "onReachBottomDistance":1 ,//距离底部多远时触发 单位px
  110. "enablePullDownRefresh" : false
  111. }
  112. },
  113. {
  114. "path" : "pages/dream/videoPlay",
  115. "style": {
  116. "app-plus": {
  117. "titleNView": false,
  118. "bounce": "none",
  119. "navigationStyle": "custom"
  120. }
  121. }
  122. },
  123. {
  124. "path" : "lib/dever/pages/web_view",
  125. "style": {
  126. "app-plus": {
  127. "titleNView": false,
  128. "bounce": "none",
  129. "navigationStyle": "custom"
  130. }
  131. }
  132. },
  133. {
  134. "path" : "pages/dream/product",
  135. "style": {
  136. "app-plus": {
  137. "titleNView": false,
  138. "bounce": "none",
  139. "navigationStyle": "custom"
  140. }
  141. }
  142. },
  143. {
  144. "path" : "pages/user/login",
  145. "style": {
  146. "app-plus": {
  147. "titleNView": false,
  148. "bounce": "none",
  149. "navigationStyle": "custom"
  150. }
  151. }
  152. },
  153. {
  154. "path" : "pages/pay/act",
  155. "style": {
  156. "app-plus": {
  157. "titleNView": false,
  158. "bounce": "none",
  159. "navigationStyle": "custom"
  160. }
  161. }
  162. },
  163. {
  164. "path" : "pages/pay/msg",
  165. "style": {
  166. "app-plus": {
  167. "titleNView": false,
  168. "bounce": "none",
  169. "navigationStyle": "custom"
  170. }
  171. }
  172. },
  173. {
  174. "path" : "pages/chat/user",
  175. "style": {
  176. "app-plus": {
  177. "titleNView": false,
  178. "bounce": "none",
  179. "navigationStyle": "custom"
  180. },
  181. "enablePullDownRefresh" : false
  182. }
  183. }
  184. ],
  185. "globalStyle": {
  186. "navigationBarTextStyle": "white",
  187. "navigationBarBackgroundColor": "#0081ff",
  188. "navigationBarTitleText" : "合小记",
  189. "enablePullDownRefresh": true,
  190. "scrollIndicator": "none",
  191. "navigationStyle": "custom",
  192. "navigationBarTextStyle": "white",
  193. "app-plus": {
  194. "pullToRefresh": {
  195. "support": true,
  196. "color": "#0081ff",
  197. "style": "default"
  198. }
  199. }
  200. },
  201. "tabBar1": {
  202. "color": "#878d9d",
  203. "selectedColor": "#97AF13",
  204. "borderStyle": "black",
  205. "backgroundColor": "#ffffff",
  206. "height": "50px",
  207. "fontSize": "10px",
  208. "iconWidth": "24px",
  209. "spacing": "3px",
  210. "list": [{
  211. "pagePath": "pages/index/index",
  212. "iconPath": "static/images/tabBar/index.png",
  213. "selectedIconPath": "static/images/tabBar/index_selected.png",
  214. "text": "我的"
  215. },
  216. {
  217. "pagePath": "pages/index/list",
  218. "iconPath": "static/images/tabBar/take.png",
  219. "selectedIconPath": "static/images/tabBar/take_selected.png",
  220. "text": "发现"
  221. },
  222. {
  223. "pagePath": "pages/index/my",
  224. "iconPath": "static/images/tabBar/take.png",
  225. "selectedIconPath": "static/images/tabBar/take_selected.png",
  226. "text": "我的"
  227. }/*,
  228. {
  229. "pagePath": "pages/user/index",
  230. "iconPath": "static/images/tabBar/mine.png",
  231. "selectedIconPath": "static/images/tabBar/mine_selected.png",
  232. "text": "创作"
  233. }*/
  234. ]
  235. },
  236. // 自动加载组件
  237. "easycom": {
  238. "custom": {
  239. "autoscan": true,
  240. "grace(.*)": "@/lib/graceUI/components/grace$1.vue",
  241. "gui-(.*)": "@/lib/GraceUI5/components/gui-$1.vue",
  242. "^y-(.*)": "@/lib/community/y-$1/y-$1.vue"
  243. }
  244. }
  245. }