yangchenggong1_wd

fix:bug[16868]字体大小

@@ -42,7 +42,7 @@ export struct SearchHistoryComponent{ @@ -42,7 +42,7 @@ export struct SearchHistoryComponent{
42 Row(){ 42 Row(){
43 Text("搜索历史") 43 Text("搜索历史")
44 .textAlign(TextAlign.Center) 44 .textAlign(TextAlign.Center)
45 - .fontWeight('400lpx') 45 + .fontWeight(FontWeight.Regular)
46 .fontSize('27lpx') 46 .fontSize('27lpx')
47 .lineHeight('38lpx') 47 .lineHeight('38lpx')
48 .fontColor($r('app.color.color_999999')) 48 .fontColor($r('app.color.color_999999'))
@@ -68,7 +68,7 @@ export struct SearchHistoryComponent{ @@ -68,7 +68,7 @@ export struct SearchHistoryComponent{
68 Text(`${item.searchContent}`) 68 Text(`${item.searchContent}`)
69 .fontColor($r('app.color.color_222222')) 69 .fontColor($r('app.color.color_222222'))
70 .fontSize('31lpx') 70 .fontSize('31lpx')
71 - .fontWeight('400lpx') 71 + .fontWeight(FontWeight.Regular)
72 .lineHeight('46lpx') 72 .lineHeight('46lpx')
73 .maxLines(1) 73 .maxLines(1)
74 .constraintSize({maxWidth:index%2 === 0?'270lpx':'230lpx'}) 74 .constraintSize({maxWidth:index%2 === 0?'270lpx':'230lpx'})
@@ -68,7 +68,7 @@ export struct SearchHotsComponent{ @@ -68,7 +68,7 @@ export struct SearchHotsComponent{
68 .height('31lpx') 68 .height('31lpx')
69 .fontColor($r('app.color.color_666666')) 69 .fontColor($r('app.color.color_666666'))
70 .fontSize('27lpx') 70 .fontSize('27lpx')
71 - .fontWeight('400lpx') 71 + .fontWeight(FontWeight.Regular)
72 .lineHeight('31lpx') 72 .lineHeight('31lpx')
73 .margin({right:'12lpx'}) 73 .margin({right:'12lpx'})
74 } 74 }
@@ -77,7 +77,7 @@ export struct SearchHotsComponent{ @@ -77,7 +77,7 @@ export struct SearchHotsComponent{
77 .fontColor($r('app.color.color_222222')) 77 .fontColor($r('app.color.color_222222'))
78 .fontSize('31lpx') 78 .fontSize('31lpx')
79 .maxLines(1) 79 .maxLines(1)
80 - .fontWeight('400lpx') 80 + .fontWeight(FontWeight.Regular)
81 .lineHeight('42lpx') 81 .lineHeight('42lpx')
82 }.layoutWeight(1) 82 }.layoutWeight(1)
83 83