wangliang_wd

feat:调整早晚报,电子报弹出,优化项目界面跳转逻辑

... ... @@ -452,7 +452,7 @@ export struct ENewspaperPageComponent {
}
})
}
}
}.backgroundColor(Color.White)
}
private async getNewspaperTime() {
... ...
... ... @@ -123,6 +123,7 @@ struct OneKeyLoginPage {
router.replaceUrl({url: WDRouterPage.loginPage.url()})
})
}
.height('100%')
.backgroundColor("#FFFFFF")
.padding({top: `${this.topSafeHeight}px`})
}
... ...
... ... @@ -34,10 +34,10 @@ struct ENewspaper {
pageTransition() {
// 定义页面进入时的效果,从底侧滑入
PageTransitionEnter({ type: RouteType.Push, duration: 400 })
PageTransitionEnter({ type: RouteType.Push, duration: 300 })
.slide(SlideEffect.Bottom)
// 定义页面退出时的效果,向底侧滑出
PageTransitionExit({ type: RouteType.Pop, duration: 400 })
PageTransitionExit({ type: RouteType.Pop, duration: 300 })
.slide(SlideEffect.Bottom)
}
... ...
... ... @@ -64,7 +64,11 @@ struct MainPage {
pageTransition() {
PageTransitionEnter({ type: RouteType.None, duration: 0 })
PageTransitionExit({ type: RouteType.None, duration: 0 })
PageTransitionExit({ type: RouteType.None, duration: 300 })
PageTransitionEnter({ type: RouteType.Push, duration: 0 })
PageTransitionExit({ type: RouteType.Push, duration: 300 })
PageTransitionEnter({ type: RouteType.Pop, duration: 0 })
PageTransitionExit({ type: RouteType.Pop, duration: 300 })
}
aboutToDisappear() {
... ...