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
liyubing
2024-06-27 16:38:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
62674b5f52468c28aa343be7b2844e005bbefd4c
62674b5f
1 parent
8231f827
feat:换肤
1)搜索页状态栏颜色 黑色
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/LiveMorePage.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/TopNavigationComponentNew.ets
sight_harmony/features/wdComponent/src/main/ets/pages/SearchPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/LiveMorePage.ets
View file @
62674b5
...
...
@@ -17,7 +17,6 @@ struct LiveMorePage {
title: string = '直播列表'
onPageShow(): void {
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#000000',
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/TopNavigationComponentNew.ets
View file @
62674b5
...
...
@@ -514,7 +514,6 @@ export struct TopNavigationComponentNew {
if (statusValue === 1) { // 黑色状态栏
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#000000',
})
} else { //白色状态栏
WindowModel.shared.setWindowSystemBarProperties({
...
...
sight_harmony/features/wdComponent/src/main/ets/pages/SearchPage.ets
View file @
62674b5
import { DateTimeUtils } from 'wdKit/Index';
import { DateTimeUtils
, WindowModel
} from 'wdKit/Index';
import { TrackingPageBrowse, TrackConstants } from 'wdTracking/Index';
import { SearchComponent } from '../components/search/SearchComponent'
import { router } from '@kit.ArkUI';
...
...
@@ -16,6 +16,10 @@ struct SearchPage {
onPageShow() {
this.fromTabName = this.params?.['tabName'];
this.pageShowTime = DateTimeUtils.getTimeStamp()
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#000000',
})
}
onPageHide(): void {
...
...
Please
register
or
login
to post a comment