Commit 361b7933 authored by Achilles's avatar Achilles

fix bugs

parent 32cc5ebe
...@@ -113,8 +113,11 @@ ON_DID_DISAPPEAR( signal ) ...@@ -113,8 +113,11 @@ ON_DID_DISAPPEAR( signal )
ON_NOTIFICATION3( VankeLoginBoard_iPhone, SUCC_LOGIN, notification ) ON_NOTIFICATION3( VankeLoginBoard_iPhone, SUCC_LOGIN, notification )
{ {
[UIView beginAnimations:@"fadeIn" context:nil];
[UIView setAnimationDuration:0.5];
[self removeLoginWindow]; [self removeLoginWindow];
_router.view.alpha = 1.0f; _router.view.alpha = 1.0f;
[UIView commitAnimations];
// 打开默认页面 // 打开默认页面
[_router open:@"home" animated:NO]; [_router open:@"home" animated:NO];
......
...@@ -183,7 +183,7 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) { ...@@ -183,7 +183,7 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) {
} }
[self.serviceDashBoardView addSubview:self.communityDashBoard]; [self.serviceDashBoardView addSubview:self.communityDashBoard];
[UIView animateWithDuration:0.25 animations:^{ [UIView animateWithDuration:0.25 animations:^{
self.communityDashBoard.frame = CGRectMake(0, 0, frame.size.width, frame.size.height); self.communityDashBoard.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);
self.currDashBoard = self.communityDashBoard; self.currDashBoard = self.communityDashBoard;
[self RELAYOUT]; [self RELAYOUT];
...@@ -215,7 +215,7 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) { ...@@ -215,7 +215,7 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) {
} }
[self.serviceDashBoardView addSubview:self.centerDashBoard]; [self.serviceDashBoardView addSubview:self.centerDashBoard];
[UIView animateWithDuration:0.25 animations:^{ [UIView animateWithDuration:0.25 animations:^{
self.centerDashBoard.frame = CGRectMake(0, 0, frame.size.width, frame.size.height); self.centerDashBoard.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);
self.currDashBoard = self.centerDashBoard; self.currDashBoard = self.centerDashBoard;
[self RELAYOUT]; [self RELAYOUT];
...@@ -248,7 +248,7 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) { ...@@ -248,7 +248,7 @@ ON_SIGNAL3(VankeProjectSummaryModel, RELOADED, signal) {
} }
[self.serviceDashBoardView addSubview:self.squreDashBoard]; [self.serviceDashBoardView addSubview:self.squreDashBoard];
[UIView animateWithDuration:0.25 animations:^{ [UIView animateWithDuration:0.25 animations:^{
self.squreDashBoard.frame = CGRectMake(0, 0, frame.size.width, frame.size.height); self.squreDashBoard.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);
self.currDashBoard = self.squreDashBoard; self.currDashBoard = self.squreDashBoard;
[self RELAYOUT]; [self RELAYOUT];
......
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