swiper嵌套swiper 如何让子swiper滑动到最后一项,再滑动右侧就滑动父的swipe?
两个swiper是属于同向的
4 回复
current=>当前所在滑块的 index
https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html
滑动时js监听current,等于length改变父级
https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/observer.html