Showing
4 changed files
with
9 additions
and
4 deletions
| @@ -452,7 +452,7 @@ export struct ENewspaperPageComponent { | @@ -452,7 +452,7 @@ export struct ENewspaperPageComponent { | ||
| 452 | } | 452 | } |
| 453 | }) | 453 | }) |
| 454 | } | 454 | } |
| 455 | - } | 455 | + }.backgroundColor(Color.White) |
| 456 | } | 456 | } |
| 457 | 457 | ||
| 458 | private async getNewspaperTime() { | 458 | private async getNewspaperTime() { |
| @@ -123,6 +123,7 @@ struct OneKeyLoginPage { | @@ -123,6 +123,7 @@ struct OneKeyLoginPage { | ||
| 123 | router.replaceUrl({url: WDRouterPage.loginPage.url()}) | 123 | router.replaceUrl({url: WDRouterPage.loginPage.url()}) |
| 124 | }) | 124 | }) |
| 125 | } | 125 | } |
| 126 | + .height('100%') | ||
| 126 | .backgroundColor("#FFFFFF") | 127 | .backgroundColor("#FFFFFF") |
| 127 | .padding({top: `${this.topSafeHeight}px`}) | 128 | .padding({top: `${this.topSafeHeight}px`}) |
| 128 | } | 129 | } |
| @@ -34,10 +34,10 @@ struct ENewspaper { | @@ -34,10 +34,10 @@ struct ENewspaper { | ||
| 34 | 34 | ||
| 35 | pageTransition() { | 35 | pageTransition() { |
| 36 | // 定义页面进入时的效果,从底侧滑入 | 36 | // 定义页面进入时的效果,从底侧滑入 |
| 37 | - PageTransitionEnter({ type: RouteType.Push, duration: 400 }) | 37 | + PageTransitionEnter({ type: RouteType.Push, duration: 300 }) |
| 38 | .slide(SlideEffect.Bottom) | 38 | .slide(SlideEffect.Bottom) |
| 39 | // 定义页面退出时的效果,向底侧滑出 | 39 | // 定义页面退出时的效果,向底侧滑出 |
| 40 | - PageTransitionExit({ type: RouteType.Pop, duration: 400 }) | 40 | + PageTransitionExit({ type: RouteType.Pop, duration: 300 }) |
| 41 | .slide(SlideEffect.Bottom) | 41 | .slide(SlideEffect.Bottom) |
| 42 | } | 42 | } |
| 43 | 43 |
| @@ -64,7 +64,11 @@ struct MainPage { | @@ -64,7 +64,11 @@ struct MainPage { | ||
| 64 | 64 | ||
| 65 | pageTransition() { | 65 | pageTransition() { |
| 66 | PageTransitionEnter({ type: RouteType.None, duration: 0 }) | 66 | PageTransitionEnter({ type: RouteType.None, duration: 0 }) |
| 67 | - PageTransitionExit({ type: RouteType.None, duration: 0 }) | 67 | + PageTransitionExit({ type: RouteType.None, duration: 300 }) |
| 68 | + PageTransitionEnter({ type: RouteType.Push, duration: 0 }) | ||
| 69 | + PageTransitionExit({ type: RouteType.Push, duration: 300 }) | ||
| 70 | + PageTransitionEnter({ type: RouteType.Pop, duration: 0 }) | ||
| 71 | + PageTransitionExit({ type: RouteType.Pop, duration: 300 }) | ||
| 68 | } | 72 | } |
| 69 | 73 | ||
| 70 | aboutToDisappear() { | 74 | aboutToDisappear() { |
-
Please register or login to post a comment