pages.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "pages" : [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path" : "pages/index/index",
  6. "style" : {
  7. "navigationBarTitleText" : "mescroll"
  8. }
  9. },
  10. {
  11. "path" : "pages/base/list-msg",
  12. "style" : {
  13. "navigationBarTitleText" : "list-msg"
  14. }
  15. },
  16. {
  17. "path" : "pages/base/list-news",
  18. "style" : {
  19. "navigationBarTitleText" : "list-news"
  20. }
  21. },
  22. {
  23. "path" : "pages/base/list-products",
  24. "style" : {
  25. "navigationBarTitleText" : "list-products"
  26. }
  27. },
  28. {
  29. "path" : "pages/base/mescroll-options",
  30. "style" : {
  31. "navigationBarTitleText" : "mescroll-options",
  32. "backgroundColorTop": "#E75A7C" // iOS APP真机bounce回弹区域颜色
  33. }
  34. },
  35. {
  36. "path" : "pages/base/sticky",
  37. "style" : {
  38. "navigationBarTitleText" : "sticky吸顶悬浮 (切换刷新列表,原生css实现)"
  39. }
  40. },
  41. {
  42. "path" : "pages/base/sticky-data",
  43. "style" : {
  44. "navigationBarTitleText" : "sticky吸顶悬浮 (缓存列表数据,原生css实现)"
  45. }
  46. },
  47. {
  48. "path" : "pages/base/sticky-scroll",
  49. "style" : {
  50. "navigationBarTitleText" : "sticky吸顶悬浮 (切换刷新列表,监听滚动实现)"
  51. }
  52. },
  53. {
  54. "path" : "pages/base/sticky-scroll-data",
  55. "style" : {
  56. "navigationBarTitleText" : "sticky吸顶悬浮 (缓存列表数据,监听滚动实现)"
  57. }
  58. },
  59. {
  60. "path" : "pages/base/sticky-uni",
  61. "style" : {
  62. "navigationBarTitleText" : "sticky吸顶悬浮 (mescroll-uni使用sticky)"
  63. }
  64. },
  65. {
  66. "path" : "pages/base/mescroll-comp",
  67. "style" : {
  68. "navigationBarTitleText" : "mescroll-body写在子组件"
  69. }
  70. },
  71. {
  72. "path" : "pages/base/mescroll-one",
  73. "style" : {
  74. "navigationBarTitleText" : "mescroll-one"
  75. }
  76. },
  77. {
  78. "path" : "pages/base/mescroll-more",
  79. "style" : {
  80. "navigationBarTitleText" : "mescroll-more"
  81. }
  82. },
  83. {
  84. "path" : "pages/base/list-search",
  85. "style" : {
  86. "navigationBarTitleText" : "list-search"
  87. }
  88. },
  89. {
  90. "path" : "pages/base/mescroll-uni-part",
  91. "style" : {
  92. "navigationBarTitleText" : "mescroll-uni-part",
  93. "disableScroll": true, // mescroll-uni需禁止滚动, 解决scroll-view在Android小程序卡顿的问题
  94. "app-plus" : {
  95. "bounce" : "none" // mescroll-uni需取消iOS回弹和安卓顶部底部的半月形阴影
  96. },
  97. "mp-alipay":{"allowsBounceVertical":"NO"} // mescroll-uni需取消支付宝和钉钉小程序自带的回弹
  98. }
  99. },
  100. {
  101. "path" : "pages/base/mescroll-body-part",
  102. "style" : {
  103. "navigationBarTitleText" : "mescroll-body-part"
  104. }
  105. },
  106. {
  107. "path" : "pages/base/mescroll-native",
  108. "style" : {
  109. "navigationBarTitleText" : "mescroll-native",
  110. "enablePullDownRefresh" : true, // 开启系统自带的下拉刷新
  111. //ifdef MP 支持条件编译,如您可以配置小程序端使用系统自带的,其他平台使用mescroll的下拉样式
  112. //"enablePullDownRefresh" : true
  113. //endif
  114. //ifndef MP
  115. //"enablePullDownRefresh" : false
  116. //endif
  117. "mp-alipay":{"allowsBounceVertical":"YES"} // 开启支付宝和钉钉小程序自带的回弹
  118. }
  119. },
  120. {
  121. "path" : "pages/base/mescroll-uni",
  122. "style" : {
  123. "navigationBarTitleText" : "mescroll-uni",
  124. "disableScroll": true, // mescroll-uni需禁止滚动, 解决scroll-view在Android小程序卡顿的问题
  125. "app-plus" : {
  126. "bounce" : "none" // mescroll-uni需取消iOS回弹和安卓顶部底部的半月形阴影
  127. },
  128. "mp-alipay":{"allowsBounceVertical":"NO"} // mescroll-uni需取消支付宝和钉钉小程序自带的回弹
  129. }
  130. },
  131. {
  132. "path" : "pages/intermediate/mescroll-swiper",
  133. "style" : {
  134. "navigationBarTitleText" : "轮播菜单导航 mescroll-swiper.vue",
  135. "disableScroll": true, // mescroll-uni需禁止滚动, 解决scroll-view在Android小程序卡顿的问题
  136. "app-plus" : {
  137. "bounce" : "none" // mescroll-uni需取消iOS回弹和安卓顶部底部的半月形阴影
  138. },
  139. "mp-alipay":{"allowsBounceVertical":"NO"} // mescroll-uni需取消支付宝和钉钉小程序自带的回弹
  140. }
  141. },
  142. {
  143. "path" : "pages/intermediate/beibei",
  144. "style" : {
  145. "navigationBarTitleText" : "贝贝 mescroll-beibei.vue"
  146. }
  147. },
  148. {
  149. "path" : "pages/intermediate/xinlang",
  150. "style" : {
  151. "navigationBarTitleText" : "新浪微博 mescroll-xinlang.vue"
  152. }
  153. }
  154. ],
  155. "globalStyle" : {
  156. "backgroundColorTop":"#FFFFFF", // iOS APP真机bounce回弹区域默认灰色,需重置为白色
  157. "mp-alipay":{"allowsBounceVertical":"NO"}, // 支付宝和钉钉小程序取消自带的回弹
  158. "navigationBarTextStyle" : "black",
  159. "navigationBarBackgroundColor" : "#fff"
  160. }
  161. }