陈剑华

fix: 16618 人民号主题卡字体样式鸿蒙与安卓不一致

@@ -57,7 +57,7 @@ export struct ZhSingleColumn04 { @@ -57,7 +57,7 @@ export struct ZhSingleColumn04 {
57 .width(12) 57 .width(12)
58 .margin({ left: 12, right: 8 }) 58 .margin({ left: 12, right: 8 })
59 Text(item.newsTitle) 59 Text(item.newsTitle)
60 - .fontSizeColorWeight($r('app.float.font_size_12'), $r('app.color.color_222222'), 400) 60 + .fontSizeColorWeight($r('app.float.font_size_17'), $r('app.color.color_222222'), 400)
61 .maxLines(1) 61 .maxLines(1)
62 .textOverflow({ overflow: TextOverflow.Ellipsis }) 62 .textOverflow({ overflow: TextOverflow.Ellipsis })
63 .layoutWeight(1) 63 .layoutWeight(1)
@@ -67,19 +67,19 @@ export struct ZhSingleColumn04 { @@ -67,19 +67,19 @@ export struct ZhSingleColumn04 {
67 .borderRadius(4) 67 .borderRadius(4)
68 .fontSizeColorWeight($r('app.float.vp_12'), '#F07E46', 500) 68 .fontSizeColorWeight($r('app.float.vp_12'), '#F07E46', 500)
69 .backgroundColor('rgba(240, 126, 70, 0.2)') 69 .backgroundColor('rgba(240, 126, 70, 0.2)')
70 - .margin({ right: 18 }) 70 + .margin({ right: 21 })
71 } else if (item.tagWord === 2) { 71 } else if (item.tagWord === 2) {
72 Text('新') 72 Text('新')
73 .padding(3) 73 .padding(3)
74 .borderRadius(4) 74 .borderRadius(4)
75 .fontSizeColorWeight($r('app.float.vp_12'), '#468DF0', 500) 75 .fontSizeColorWeight($r('app.float.vp_12'), '#468DF0', 500)
76 .backgroundColor('rgba(70, 141, 240, 0.2)') 76 .backgroundColor('rgba(70, 141, 240, 0.2)')
77 - .margin({ right: 18 }) 77 + .margin({ right: 21 })
78 } 78 }
79 } 79 }
80 .width(CommonConstants.FULL_WIDTH) 80 .width(CommonConstants.FULL_WIDTH)
81 .height(32) 81 .height(32)
82 - .margin({ bottom: 4 }) 82 + .margin({ bottom: 8 })
83 .backgroundImage($r('app.media.rmh_theme_bg')) 83 .backgroundImage($r('app.media.rmh_theme_bg'))
84 .backgroundImageSize({ width: CommonConstants.FULL_WIDTH, height: CommonConstants.FULL_WIDTH }) 84 .backgroundImageSize({ width: CommonConstants.FULL_WIDTH, height: CommonConstants.FULL_WIDTH })
85 .onClick(() => { 85 .onClick(() => {