浏览代码

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

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;
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 () {


正在加载...
取消
保存