微信小程序 覆盖swiper原生组件

试了好多种方法都不行,后来发现直接在wxss里添加“相对定位”就可以了。

.cover{

position: relative;

margin-top: -20rpx;

}

猜你喜欢

转载自blog.csdn.net/weixin_41471128/article/details/79950676