安卓手机用bindtouch相关事件处理左右滑动出现卡顿

发布于 7 年前作者 pingxia6487 次浏览最后编辑 7 年前来自 ask

1: bindtouchstart=“handletouchtart”

2: bindtouchmove=“handletouchmove”

3: bindtouchend=“handletouchend”

处理左右切换滑动页面时,android出现卡顿,随着滑动次数增加出现了卡死现象

以下为代码截图:

WXOPEN Club 内容图片 WXOPEN Club 内容图片

其中source为长度为130左右的较大对象数组。每次切换将source存入list并渲染。尤其快速切换就卡死,模拟器和苹果机正常。

1 回复
gang50
gang501 楼5 年前

楼主有解决方案吗