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-06-27 17:35:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1930e0e039966a49aab241ac2e5c5639547b56a0
1930e0e0
1 parent
215ee722
feat:优化我的状态栏
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/MinePageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/MinePageComponent.ets
View file @
1930e0e
...
...
@@ -101,14 +101,17 @@ export struct MinePageComponent {
* @param statusValue
*/
changeTopStatusBarColor(statusValue: number) {
if (statusValue === 1) { // 黑色状态栏
if (statusValue === 0) {//白色状态栏
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#ffffff',
})
} else if (statusValue === 1) { // 黑色状态栏
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#000000',
})
}
else { //白色状态栏
}
else {
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#
ffffff
',
statusBarContentColor: '#
000000
',
})
}
}
...
...
Please
register
or
login
to post a comment