Переглянути джерело

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

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


Завантаження…
Відмінити
Зберегти