liyubing

feat:换肤

1)搜索页状态栏颜色 黑色
@@ -17,7 +17,6 @@ struct LiveMorePage { @@ -17,7 +17,6 @@ struct LiveMorePage {
17 17
18 title: string = '直播列表' 18 title: string = '直播列表'
19 19
20 -  
21 onPageShow(): void { 20 onPageShow(): void {
22 WindowModel.shared.setWindowSystemBarProperties({ 21 WindowModel.shared.setWindowSystemBarProperties({
23 statusBarContentColor: '#000000', 22 statusBarContentColor: '#000000',
@@ -514,7 +514,6 @@ export struct TopNavigationComponentNew { @@ -514,7 +514,6 @@ export struct TopNavigationComponentNew {
514 if (statusValue === 1) { // 黑色状态栏 514 if (statusValue === 1) { // 黑色状态栏
515 WindowModel.shared.setWindowSystemBarProperties({ 515 WindowModel.shared.setWindowSystemBarProperties({
516 statusBarContentColor: '#000000', 516 statusBarContentColor: '#000000',
517 -  
518 }) 517 })
519 } else { //白色状态栏 518 } else { //白色状态栏
520 WindowModel.shared.setWindowSystemBarProperties({ 519 WindowModel.shared.setWindowSystemBarProperties({
1 -import { DateTimeUtils } from 'wdKit/Index'; 1 +import { DateTimeUtils, WindowModel } from 'wdKit/Index';
2 import { TrackingPageBrowse, TrackConstants } from 'wdTracking/Index'; 2 import { TrackingPageBrowse, TrackConstants } from 'wdTracking/Index';
3 import { SearchComponent } from '../components/search/SearchComponent' 3 import { SearchComponent } from '../components/search/SearchComponent'
4 import { router } from '@kit.ArkUI'; 4 import { router } from '@kit.ArkUI';
@@ -16,6 +16,10 @@ struct SearchPage { @@ -16,6 +16,10 @@ struct SearchPage {
16 onPageShow() { 16 onPageShow() {
17 this.fromTabName = this.params?.['tabName']; 17 this.fromTabName = this.params?.['tabName'];
18 this.pageShowTime = DateTimeUtils.getTimeStamp() 18 this.pageShowTime = DateTimeUtils.getTimeStamp()
  19 + WindowModel.shared.setWindowSystemBarProperties({
  20 + statusBarContentColor: '#000000',
  21 +
  22 + })
19 } 23 }
20 24
21 onPageHide(): void { 25 onPageHide(): void {