Administrator 4 년 전
부모
커밋
2f10a78b63
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/resources/static/js/product/instruement.js

+ 2 - 2
src/main/resources/static/js/product/instruement.js

@@ -101,7 +101,7 @@
             },500);
             setTimeout(function(){
                 if (isPC) {
-                    $('#recommendBox').slide({
+                    $('.swiper-container').slide({
                         mainCell:".swiper-wrapper"
                         ,titCell:".swiper-pagination span"
                         ,effect: "leftLoop"
@@ -111,7 +111,7 @@
                         ,vis:5
                     });
                 } else {
-                     var swiper = new Swiper('#recommendBox', {
+                     var swiper = new Swiper('.swiper-container', {
                                 slidesPerView: 2,
                                 slidesPerColumn: 2,
                                 spaceBetween:0,