wenmenghao321 2 жил өмнө
parent
commit
8fa08483fa

+ 5 - 2
src/web/templates/pc/index.html

@@ -606,6 +606,7 @@
         // this.lunBoFn() // banner轮播
         // this.getBuyerSearchPower() // 采购单位搜索权限
         // this.getOnlineDataFn() // 在线数据
+        this.partnersInit() //  合作伙伴走马灯
         this.setCopyRightForBottom() // 设置copyright
         this.onClickEvent()
       },
@@ -625,8 +626,10 @@
             }
           }
         })
-         // 合作伙伴走马灯
-         var partners = new Swiper('.partners-container', {
+      },
+      partnersInit:function(){
+        // 合作伙伴走马灯
+        var partners = new Swiper('.partners-container', {
           slidesPerView: "auto",
           centeredSlides: true,
           speed: 4000,