liyubing

feat:换肤

1)搜索页状态栏颜色 黑色
... ... @@ -17,7 +17,6 @@ struct LiveMorePage {
title: string = '直播列表'
onPageShow(): void {
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#000000',
... ...
... ... @@ -514,7 +514,6 @@ export struct TopNavigationComponentNew {
if (statusValue === 1) { // 黑色状态栏
WindowModel.shared.setWindowSystemBarProperties({
statusBarContentColor: '#000000',
})
} else { //白色状态栏
WindowModel.shared.setWindowSystemBarProperties({
... ...
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 {
... ...