Swiper中文论坛
标题:
嵌套内容滚动的swiper
[打印本页]
作者:
mqy
时间:
2016-4-25 16:53
标题:
嵌套内容滚动的swiper
本帖最后由 mqy 于 2016-4-25 16:55 编辑
垂直翻页的swiper里嵌套了一个文字滚动的swiper,也是垂直的。现在的问题是当内部swiper拉到最底部的时候,还是停留在内部的swiper里,请教:这时父级swiper怎样滚动到下一slide。代码如下:
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide swiper-slide1"> //内部swiper
<div class="swiper-container swiper-container-inner">
<div class="swiper-wrapper">
<div class="swiper-slide swiper-slide1">
内容滚动
</div>
</div>
</div>
</div>
<div class="swiper-slide swiper-slide2">
</div> </div>
</div>
欢迎光临 Swiper中文论坛 (http://bbs.swiper.com.cn/)
Powered by Discuz! X3.2