|
- <div class="swiper-container swiper-container-v">
- <div class="swiper-wrapper ">
- <div class="swiper-slide ">
- <div class="swiper-container swiper-container-h" >
- <div class="swiper-wrapper swiper-wrapper-h">
- <div class="swiper-slide"></div>
- <div class="swiper-slide"></div>
- </div>
- </div>
- </div>
- <div class="swiper-slide "></div>
- <div class="swiper-slide "></div>
- <div class="swiper-slide "></div>
- </div>
- </div>
- <script>
- var swiperV = new Swiper('.swiper-container-h', {
- pagination: '.swiper-pagination-h',
- mousewheelControl : true,
- });
- var swiperV = new Swiper('.swiper-container-v', {
- pagination: '.swiper-pagination-v',
- direction: 'vertical',
- mousewheelControl : true,
- });
- </script>
复制代码
|
|