fix |> 稿件详情页-GIF动图评论不展示
http://192.168.1.3:8080/zentao/bug-view-18035.html Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
11 additions
and
1 deletions
| @@ -494,7 +494,11 @@ struct ChildCommentItem { | @@ -494,7 +494,11 @@ struct ChildCommentItem { | ||
| 494 | .onClick(() => { | 494 | .onClick(() => { |
| 495 | this.replyComment() | 495 | this.replyComment() |
| 496 | }) | 496 | }) |
| 497 | - | 497 | + if (this.item.commentPics.length > 0) { |
| 498 | + Image(this.item.commentPics) | ||
| 499 | + .width(88).height(88) | ||
| 500 | + .margin({top: 6 + (this.item.commentContent.length > 0 ? 0 : 15), left: 95}) | ||
| 501 | + } | ||
| 498 | 502 | ||
| 499 | commentFooterView({ | 503 | commentFooterView({ |
| 500 | item: this.item, | 504 | item: this.item, |
| @@ -713,6 +717,12 @@ struct commentHeaderView { | @@ -713,6 +717,12 @@ struct commentHeaderView { | ||
| 713 | this.replyComment() | 717 | this.replyComment() |
| 714 | }) | 718 | }) |
| 715 | 719 | ||
| 720 | + if (this.item.commentPics.length > 0) { | ||
| 721 | + Image(this.item.commentPics) | ||
| 722 | + .width(88).height(88) | ||
| 723 | + .margin({top: 6 + (this.item.commentContent.length > 0 ? 0 : 15), left: 60}) | ||
| 724 | + } | ||
| 725 | + | ||
| 716 | commentFooterView({ | 726 | commentFooterView({ |
| 717 | item: this.item, | 727 | item: this.item, |
| 718 | dialogController: this.dialogController, | 728 | dialogController: this.dialogController, |
-
Please register or login to post a comment