From 0abcf66762f78bff79b08c7188e05b52f50863b1 Mon Sep 17 00:00:00 2001 From: guangda Date: Thu, 28 Aug 2025 19:34:37 +0800 Subject: [PATCH] fix bug --- features/home/src/main/ets/view/HomeHeader.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/home/src/main/ets/view/HomeHeader.ets b/features/home/src/main/ets/view/HomeHeader.ets index c14737b..0f5db20 100644 --- a/features/home/src/main/ets/view/HomeHeader.ets +++ b/features/home/src/main/ets/view/HomeHeader.ets @@ -71,7 +71,7 @@ export struct HomeHeader { Text(item) .fontSize(this.currentTopIndex === index ? $r('app.float.search_tab_font_selected') : $r('app.float.search_tab_font')) .fontWeight(this.currentTopIndex === index ? 700 : 500) - .width(this.currentTopIndex === index ? $r('app.float.top_text_width_selected') : $r('app.float.top_text_width')) + .width(this.currentTopIndex === index ? '70vp' : '66vp') .textAlign(TextAlign.Center) .fontColor(this.currentTopIndex === 2 ? Color.White : $r('app.color.normal_font_color')) .lineHeight(index === this.currentTopIndex ? $r('app.float.top_tab_list_height_selected') : $r('app.float.top_tab_list_height')) -- Gitee