wesmiler 5 年之前
父節點
當前提交
1d3271f4c0
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      public/themes/mjmls/static/js/index.js
  2. 1 1
      public/themes/mjmls/static/js/index.min.js

+ 2 - 2
public/themes/mjmls/static/js/index.js

@@ -19,9 +19,9 @@ $(function () {
             el: '.swiper-pagination',
             clickable: true,
         },
-        lazy: {
+        /*lazy: {
             loadPrevNext: true,
-        }
+        }*/
     });
     var tsw = new Swiper('#notice', {
         autoplay: {

+ 1 - 1
public/themes/mjmls/static/js/index.min.js

@@ -9,7 +9,7 @@ $(function () {
         autoplay: {delay: 4000},
         loop: true,
         pagination: {el: '.swiper-pagination', clickable: true,},
-        lazy: {loadPrevNext: true,}
+        // lazy: {loadPrevNext: true,}
     });
     var tsw = new Swiper('#notice', {
         autoplay: {delay: 3000, disableOnInteraction: false,},