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
24 additions
and
13 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,18 +29,20 @@ export struct CommentDialogView { | @@ -29,18 +29,20 @@ export struct CommentDialogView { | ||
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | build() { | 31 | build() { |
| 32 | - CommentListDialogView({ | ||
| 33 | - showCommentList: this.innerShowComment, | ||
| 34 | - contentDetailData: this.contentDetailData, | ||
| 35 | - publishCommentModel: this.publishCommentModel, | ||
| 36 | - pageInfo: this.fakePageInfo, | ||
| 37 | - onClose: () => { | ||
| 38 | - this.showCommentList = false | ||
| 39 | - if (Number.parseInt(this.publishCommentModel.totalCommentNumer) > Number.parseInt(this.interactData.commentNum + "")) { | ||
| 40 | - this.interactData.commentNum = Number.parseInt(this.publishCommentModel.totalCommentNumer) | ||
| 41 | - } | ||
| 42 | - }, | ||
| 43 | - onHeightDidChange: this.onHeightDidChange | ||
| 44 | - }) | 32 | + if(this.innerShowComment){ |
| 33 | + CommentListDialogView({ | ||
| 34 | + showCommentList: this.innerShowComment, | ||
| 35 | + contentDetailData: this.contentDetailData, | ||
| 36 | + publishCommentModel: this.publishCommentModel, | ||
| 37 | + pageInfo: this.fakePageInfo, | ||
| 38 | + onClose: () => { | ||
| 39 | + this.showCommentList = false | ||
| 40 | + if (Number.parseInt(this.publishCommentModel.totalCommentNumer) > Number.parseInt(this.interactData.commentNum + "")) { | ||
| 41 | + this.interactData.commentNum = Number.parseInt(this.publishCommentModel.totalCommentNumer) | ||
| 42 | + } | ||
| 43 | + }, | ||
| 44 | + onHeightDidChange: this.onHeightDidChange | ||
| 45 | + }) | ||
| 46 | + } | ||
| 45 | } | 47 | } |
| 46 | } | 48 | } |
-
Please register or login to post a comment