ljhddlldl 发表于 2017-12-17 01:21:26

sweiper鼠标划入停止轮播,鼠标画出开始轮播

//$('.swiper-container').mouseover(function(){
//      swiper.stopAutoplay();
//})
//$('.swiper-container').mouseout(function(){
//      swiper.startAutoplay();
//})
报错TypeError: swiper.stopAutoplay is not a function
    at HTMLDivElement
求大神帮忙怎么实现

杰克船长 发表于 2017-12-19 11:07:58

我也找不到这个方法。。不知道怎么办,想着用3,不用④了

我不能收 发表于 2017-12-19 14:58:48

4 的是 mySwiper.autoplay.stop() 和 mySwiper.autoplay.start()
页: [1]
查看完整版本: sweiper鼠标划入停止轮播,鼠标画出开始轮播