Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-08-29 17:23:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a963d9917aa46145c22377a818252d1fea59b0a0
a963d991
1 parent
13e3e5fb
feat:调整早晚报,电子报弹出,优化项目界面跳转逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/OneKeyLoginPage.ets
sight_harmony/products/phone/src/main/ets/pages/ENewspaper.ets
sight_harmony/products/phone/src/main/ets/pages/MainPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
View file @
a963d99
...
...
@@ -452,7 +452,7 @@ export struct ENewspaperPageComponent {
}
})
}
}
}
.backgroundColor(Color.White)
}
private async getNewspaperTime() {
...
...
sight_harmony/features/wdLogin/src/main/ets/pages/login/OneKeyLoginPage.ets
View file @
a963d99
...
...
@@ -123,6 +123,7 @@ struct OneKeyLoginPage {
router.replaceUrl({url: WDRouterPage.loginPage.url()})
})
}
.height('100%')
.backgroundColor("#FFFFFF")
.padding({top: `${this.topSafeHeight}px`})
}
...
...
sight_harmony/products/phone/src/main/ets/pages/ENewspaper.ets
View file @
a963d99
...
...
@@ -34,10 +34,10 @@ struct ENewspaper {
pageTransition() {
// 定义页面进入时的效果,从底侧滑入
PageTransitionEnter({ type: RouteType.Push, duration:
4
00 })
PageTransitionEnter({ type: RouteType.Push, duration:
3
00 })
.slide(SlideEffect.Bottom)
// 定义页面退出时的效果,向底侧滑出
PageTransitionExit({ type: RouteType.Pop, duration:
4
00 })
PageTransitionExit({ type: RouteType.Pop, duration:
3
00 })
.slide(SlideEffect.Bottom)
}
...
...
sight_harmony/products/phone/src/main/ets/pages/MainPage.ets
View file @
a963d99
...
...
@@ -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() {
...
...
Please
register
or
login
to post a comment