swiper 轮播图圆角滑动变会变成直角然后再回到圆角
你好,我用swiper 实现轮播图 swiper圆角 图片滑动的时候会先变成直角然后变成圆角,怎么解决?
你好,我用swiper 实现轮播图 swiper圆角 图片滑动的时候会先变成直角然后变成圆角,怎么解决?
刚好看到,写一个自己的解决方法给大家参考。
<!-- { start --><view class="控制阴影"> <view style="border-radius: 16rpx;overflow: hidden;"> <swiper>...</swiper> </view></view> <!-- end } --> |
真机没有圆角参考:
https://developers.weixin.qq.com/community/develop/doc/00026658428810dd8c07c062556400