uni-app的swiper组件设置overflow: hidden不生效(The swiper component setting overflow: hidden of uni app does not take effect)

问题:在小程序里使用swiper组件制作轮播图,给父元素设置了固定宽高,样式圆角border-radius,定位position: relative,超出隐藏overflow: hidden,在安卓机正常显示,但是在ios上圆角不能显示,原因是这个超出隐藏没有生效,所以需要在父元素在添加这四行代码。

backface-visibility: hidden;
 transform: translate3d(0, 0, 0);
 -webkit-backface-visibility: hidden;
 -webkit-transform: translate3d(0, 0, 0);
————————

Problem: in the applet, the swiper component is used to make the rotation chart. The parent element is set with fixed width and height, style rounded border radius, positioning position: relative, out of hiding overflow: hidden. It is displayed normally on Android, but the rounded corner cannot be displayed on IOS. Because this out of hiding does not take effect, these four lines of code need to be added to the parent element.

backface-visibility: hidden;
 transform: translate3d(0, 0, 0);
 -webkit-backface-visibility: hidden;
 -webkit-transform: translate3d(0, 0, 0);