Swiper中文论坛
标题:
多行多列样式出错
[打印本页]
作者:
啊丽莎沙
时间:
2017-4-26 17:29
标题:
多行多列样式出错
如题,
<div class="swiper-wrapper " style="width: 444px;">
<div class="swiper-slide swiper-slide-active" data-swiper-column="0" data-swiper-row="0" style="width: 138px; margin-right: 10px;">
</div>
<div class="swiper-slide swiper-slide-next" data-swiper-column="0" data-swiper-row="1" style="margin-top: 10px; width: 138px; margin-right: 10px;">
</div>
<div class="swiper-slide" data-swiper-column="1" data-swiper-row="0" style="width: 138px; margin-right: 10px;"></div>
</div>
......
row和column的参数乱了啦,所以生成出来的margin-top和margin-right是错乱的,导致页面也是错乱的
欢迎光临 Swiper中文论坛 (http://bbs.swiper.com.cn/)
Powered by Discuz! X3.2