动画运动完为什么不能滚动了

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

var detailedHeight = that.data.detailedHeight

var animation = wx.createAnimation({

duration: 20000,

timingFunction: ‘linear’,

})

this.animation = animation

console.log(detailedHeight)

animation.top(-detailedHeight).step()

this.setData({

animationData: animation.export()

})

0 回复
暂无回复