From eb0a426d840b2f8aae2e4821cab9742fe359829e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=B7=E6=B4=8B=E4=B9=8B=E5=A3=B0?= Date: Fri, 26 Oct 2018 15:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=B8=B8=E6=88=8F=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E5=85=B3=E9=97=AD=E5=8A=A8=E7=94=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/gameentry/gentry.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/gameentry/gentry.js b/components/gameentry/gentry.js index 44a10ad..a16efb9 100644 --- a/components/gameentry/gentry.js +++ b/components/gameentry/gentry.js @@ -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 () {