yangchenggong1_wd

fix:bug[16868]字体大小

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