ref |> 发布的评论未审核通过不显示回复按钮
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -527,6 +527,7 @@ struct commentFooterView { | @@ -527,6 +527,7 @@ struct commentFooterView { | ||
| 527 | .fontColor($r('app.color.color_B0B0B0')) | 527 | .fontColor($r('app.color.color_B0B0B0')) |
| 528 | .fontSize(12) | 528 | .fontSize(12) |
| 529 | 529 | ||
| 530 | + if (this.item.id && this.item.checkStatus == '2') { // 审核通过的才显示回复 | ||
| 530 | Image($r('app.media.comment_hyphen_block')) | 531 | Image($r('app.media.comment_hyphen_block')) |
| 531 | .size({ | 532 | .size({ |
| 532 | width: 4, | 533 | width: 4, |
| @@ -545,6 +546,7 @@ struct commentFooterView { | @@ -545,6 +546,7 @@ struct commentFooterView { | ||
| 545 | } | 546 | } |
| 546 | }) | 547 | }) |
| 547 | } | 548 | } |
| 549 | + } | ||
| 548 | 550 | ||
| 549 | if (this.item.id) { // 审核通过的才显示点赞 | 551 | if (this.item.id) { // 审核通过的才显示点赞 |
| 550 | Row({ space: 6 }) { | 552 | Row({ space: 6 }) { |
-
Please register or login to post a comment