瀏覽代碼

首页游戏入口关闭动画修改

tags/2.2.8
海洋之声 6 年之前
父節點
當前提交
eb0a426d84
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      components/gameentry/gentry.js

+ 3
- 3
components/gameentry/gentry.js 查看文件

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


Loading…
取消
儲存