关于swiper在ios上卡顿问题
小程序的swiper高度默认是150;但是也可以修改自己的高度,如果父级高度是100%;swiper如果不设置固定高度,改为和父级一样的高度也就是100%的时候;这种情况下在ios上上下滑动超出屏幕以外的内容会特别卡顿很不流畅,然后在安卓上就还好! 下面贴上代码



上下滑动的过程会很卡!
小程序的swiper高度默认是150;但是也可以修改自己的高度,如果父级高度是100%;swiper如果不设置固定高度,改为和父级一样的高度也就是100%的时候;这种情况下在ios上上下滑动超出屏幕以外的内容会特别卡顿很不流畅,然后在安卓上就还好! 下面贴上代码
上下滑动的过程会很卡!