diff --git a/features/detail/src/main/ets/view/LiveHome.ets b/features/detail/src/main/ets/view/LiveHome.ets index 3d4722bf0151f9dbaea11fbeeb06fec1d664d293..2f5b916b37b1cdb93d5d2e174f4eaa53de96bc2e 100644 --- a/features/detail/src/main/ets/view/LiveHome.ets +++ b/features/detail/src/main/ets/view/LiveHome.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { display } from '@kit.ArkUI'; +import { display, window } from '@kit.ArkUI'; import { Callback, deviceInfo } from '@kit.BasicServicesKit'; import { BreakpointConstants, BreakpointType, CommonConstants, Logger, ResourceUtil } from '@ohos/commons'; import { Live } from './Live'; @@ -203,5 +203,19 @@ export struct LiveHome { } .hideTitleBar(true) .expandSafeArea([SafeAreaType.KEYBOARD]) + .onShown(() => { + window.getLastWindow(this.context).then((topWindow) => { + topWindow.setWindowSystemBarProperties({ + statusBarContentColor: '#FFFFFF' + }) + }) + }) + .onHidden(() => { + window.getLastWindow(this.context).then((topWindow) => { + topWindow.setWindowSystemBarProperties({ + statusBarContentColor: '#000000' + }) + }) + }) } } \ No newline at end of file diff --git a/features/home/src/main/resources/zh_CN/element/float.json b/features/home/src/main/resources/zh_CN/element/float.json index 4c8224722eea75f2643355d92d8a781b9ee809cb..186c2ba6b6a25d6e17d314a0e9d09e3ecc9baf89 100644 --- a/features/home/src/main/resources/zh_CN/element/float.json +++ b/features/home/src/main/resources/zh_CN/element/float.json @@ -750,11 +750,11 @@ }, { "name": "shop_card_font_2", - "value": "10vp" + "value": "16fp" }, { "name": "shop_card_font_3", - "value": "16fp" + "value": "10fp" }, { "name": "shop_card_line_1",