Commit 349ce0d3 authored by van.chen's avatar van.chen

改了页面退出重进home页不会刷新的问题

parent 880f7bdf
...@@ -90,4 +90,4 @@ ...@@ -90,4 +90,4 @@
"ios" "ios"
] ]
} }
} }
\ No newline at end of file
...@@ -7,6 +7,6 @@ export const toLeft = trigger('toLeft', [ ...@@ -7,6 +7,6 @@ export const toLeft = trigger('toLeft', [
state('backLeft', style({ state('backLeft', style({
'transform': 'translateX(0)' 'transform': 'translateX(0)'
})), })),
transition('toLeft => backLeft', animate('250ms')), transition('toLeft => backLeft', animate('150ms')),
transition('backLeft => toLeft', animate('250ms')) transition('backLeft => toLeft', animate('150ms'))
]); ]);
...@@ -7,6 +7,6 @@ export const toRight = trigger('toRight', [ ...@@ -7,6 +7,6 @@ export const toRight = trigger('toRight', [
state('backRight', style({ state('backRight', style({
'transform': 'translateX(0)' 'transform': 'translateX(0)'
})), })),
transition('toRight => backRight', animate('250ms')), transition('toRight => backRight', animate('150ms')),
transition('backRight => toRight', animate('250ms')) transition('backRight => toRight', animate('150ms'))
]); ]);
...@@ -32,7 +32,9 @@ export class AppComponent { ...@@ -32,7 +32,9 @@ export class AppComponent {
initializeApp() { initializeApp() {
this.platform.ready().then(() => { this.platform.ready().then(() => {
this.statusBar.styleDefault(); this.statusBar.styleDefault();
this.statusBar.backgroundColorByHexString('#ffffffff'); this.statusBar.backgroundColorByHexString('#6B7072');
this.statusBar.show();
this.statusBar.overlaysWebView(false);
this.splashScreen.hide(); this.splashScreen.hide();
this.registerBackButtonAction(); // 注册返回按键事件 this.registerBackButtonAction(); // 注册返回按键事件
this.platform.resume.subscribe(); // 弹出框 this.platform.resume.subscribe(); // 弹出框
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment