diff --git a/App.js b/App.js index 1999a66..d9598c5 100644 --- a/App.js +++ b/App.js @@ -55,16 +55,16 @@ var animationThemes = [ second:"slideInLeft", third:"slideInRight" }, - { - first:"fadeIn", - second:"fadeIn", - third:"fadeIn" - }, { first:"zoomInDown", second:"zoomInLeft", third:"zoomInRight" }, + { + first:"fadeIn", + second:"fadeIn", + third:"fadeIn" + }, { first:"bounceInDown", second:"bounceInLeft", @@ -83,7 +83,8 @@ export default class MyPage extends Component { contentItem2:null, animationTheme:{}, heartConfig:{ - heartbeatInterval:1000*5*60, + heartbeatInterval:1000*5, + // heartbeatInterval:1000*5*60, dataRefreshInterval:1000*60*60, pageChangeInterval:1000*10, }, @@ -168,21 +169,23 @@ codePushStatusDidChange(syncStatus) { pageChangeInterval:config.pageChangeInterval } }) - // 动画 + // 动画划入 if(config.animationTheme == 0){ this.setState({ animationTheme:animationThemes[0] }) }else if(config.animationTheme == 1){ + // 放大 this.setState({ animationTheme:animationThemes[1] }) - }else if(config.animationTheme == 2){ + // 淡入 this.setState({ animationTheme:animationThemes[2] }) }else if(config.animationTheme == 3){ + // 弹入 this.setState({ animationTheme:animationThemes[3] })