动画运动完为什么不能滚动了
发布于 5 年前 作者 chengchao 12973 次浏览 来自 问答

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()

})

回到顶部