소스 검색

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

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


불러오는 중...
취소
저장