wuyanan

ref |> 直播间视频消息添加灰色蒙层,与安卓保持一致

@@ -127,6 +127,15 @@ export struct TabLiveItemComponent { @@ -127,6 +127,15 @@ export struct TabLiveItemComponent {
127 .objectFit(ImageFit.Cover) 127 .objectFit(ImageFit.Cover)
128 .borderRadius(4) 128 .borderRadius(4)
129 .id('iv_id') 129 .id('iv_id')
  130 + Row()
  131 + .backgroundColor('#30000000')
  132 + .borderRadius(4)
  133 + .alignRules({
  134 + left: { anchor: "iv_id", align: HorizontalAlign.Start },
  135 + right: { anchor: "iv_id", align: HorizontalAlign.End },
  136 + top: { anchor: "iv_id", align: VerticalAlign.Top },
  137 + bottom: { anchor: "iv_id", align: VerticalAlign.Bottom }
  138 + })
130 Stack() { 139 Stack() {
131 Row() 140 Row()
132 .borderRadius(90) 141 .borderRadius(90)