不需要鼠标点击动画自动运行是如何处理?
例如:
</view>
<button bindtap='start'>动画</button>
</view>
start:function(){
var animation = wx.createAnimation({
duration: 4000,
timingFunction: 'ease',
delay: 1000
});
animation.opacity(0.2).translate(100, -100).step()
this.setData({
ani: animation.export()
})
}
})