Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main
* 'main' of http://192.168.1.42/developOne/harmonyPool: ref |> 直播间视频消息添加灰色蒙层,与安卓保持一致 fix:to 评论遮盖页面导致无法交互
Showing
2 changed files
with
11 additions
and
0 deletions
| @@ -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) |
| @@ -29,6 +29,7 @@ export struct CommentDialogView { | @@ -29,6 +29,7 @@ export struct CommentDialogView { | ||
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | build() { | 31 | build() { |
| 32 | + if(this.innerShowComment){ | ||
| 32 | CommentListDialogView({ | 33 | CommentListDialogView({ |
| 33 | showCommentList: this.innerShowComment, | 34 | showCommentList: this.innerShowComment, |
| 34 | contentDetailData: this.contentDetailData, | 35 | contentDetailData: this.contentDetailData, |
| @@ -43,4 +44,5 @@ export struct CommentDialogView { | @@ -43,4 +44,5 @@ export struct CommentDialogView { | ||
| 43 | onHeightDidChange: this.onHeightDidChange | 44 | onHeightDidChange: this.onHeightDidChange |
| 44 | }) | 45 | }) |
| 45 | } | 46 | } |
| 47 | + } | ||
| 46 | } | 48 | } |
-
Please register or login to post a comment