Browse Source

滚轮翻页

zhanghe 6 years ago
parent
commit
b3140496c4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/stage/index/scene/WaterFallIndexScene.js

+ 1 - 0
src/stage/index/scene/WaterFallIndexScene.js

@@ -225,6 +225,7 @@ class WaterfallIndexScene extends scene {
         if (!this.waterfallSwiper) {
             this.waterfallSwiper = new Swiper('.swiper-container-waterfall', {
                 direction: 'vertical',
+                mousewheel: true,
                 pagination: {
                     el: '.swiper-pagination-waterfall',
                     bulletElement: 'li',