zoukankan      html  css  js  c++  java
  • swiper多个特效在同一页面上使用(较快方法)

     <script>  
    var swiper = new Swiper('.module01 .swiper-container', {
    pagination: '.module01 .swiper-pagination',
    paginationClickable: true,
    autoplay : 1000
    });
    var swiper = new Swiper('.module02 .swiper-container', {
    slidesPerView:5,
    paginationClickable: true,
    spaceBetween:0,
    freeMode: true
    });
    </script>
    获取他们共用的class的时候加上父元素区分开。
    写style的时候.swiper-container和.swiper-paginatio是共用的不要写在里面新建class区分写改变它们不同的样式。
  • 相关阅读:
    K-means聚类
    支持向量机_原理
    回归+内插
    ftp 服务器
    cmd 切换python版本
    cookie
    类加载器
    GC
    jvm结构
    mysql文件
  • 原文地址:https://www.cnblogs.com/fgtt/p/6606991.html
Copyright © 2011-2022 走看看