wangyong_wd

修复地方精选卡片,来源过长时样式展示问题

@@ -67,6 +67,9 @@ export struct ZhSingleRow04 { @@ -67,6 +67,9 @@ export struct ZhSingleRow04 {
67 Text(item.source) 67 Text(item.source)
68 .fontSize($r('app.float.font_size_12')) 68 .fontSize($r('app.float.font_size_12'))
69 .fontColor($r('app.color.color_B0B0B0')) 69 .fontColor($r('app.color.color_B0B0B0'))
  70 + .layoutWeight(1)
  71 + .textOverflow({overflow: TextOverflow.Ellipsis})
  72 + .maxLines(1)
70 Image($r("app.media.point")) 73 Image($r("app.media.point"))
71 .width(16) 74 .width(16)
72 .height(16) 75 .height(16)