wx.createAnimation设置多个step,后面的step会合并执行?
let animation= wx.createAnimation({
timingFunction: ‘ease’,
})
animation.left(0).translateY(0).step({ duration: 3000 });
animation.opacity(0.2).step({ duration: 3000 });
animation.left(-80).scale(3).step({ duration: 3000 });
this.setData({
animationData: animation.export(),
})
js里这种写法,三个动效都会执行,但是第二个step总是和第三个step一起执行,是为什么
