1 回复
设置单个节点宽高,用 SelectorQuery.selectViewport() 的接口获取滚动位置,如何再计算相应的index
https://developers.weixin.qq.com/miniprogram/dev/api/SelectorQuery.selectViewport.html
https://developers.weixin.qq.com/miniprogram/dev/api/SelectorQuery.selectViewport.html