|
|
@@ -67,11 +67,11 @@ Component({ |
|
|
|
let that = this; |
|
|
|
var animation = wx.createAnimation({}) |
|
|
|
// animation.opacity(0).step({ duration: 1000 }) |
|
|
|
animation.rotateZ(180).scale(0).opacity(0.5).step({ duration: 1000 }) |
|
|
|
that.setData({ alphaData: animation.export() }); |
|
|
|
setTimeout(function () { |
|
|
|
that.setData({ flag: true }) |
|
|
|
}, 1000) |
|
|
|
}, 500) |
|
|
|
animation.rotateZ(180).scale(0).opacity(0.5).step({ duration: 1000 }) |
|
|
|
that.setData({ alphaData: animation.export() }); |
|
|
|
}, |
|
|
|
}, |
|
|
|
onReady: function () { |
|
|
|