Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -61,6 +61,7 @@ export struct ChildCommentComponent { | @@ -61,6 +61,7 @@ export struct ChildCommentComponent { | ||
| 61 | .lineHeight("31lpx") | 61 | .lineHeight("31lpx") |
| 62 | .fontColor(this.data.like_status === 0 ? $r('app.color.color_666666') : $r('app.color.color_ED2800')) | 62 | .fontColor(this.data.like_status === 0 ? $r('app.color.color_666666') : $r('app.color.color_ED2800')) |
| 63 | .margin({ right: '8lpx' }) | 63 | .margin({ right: '8lpx' }) |
| 64 | + .visibility(this.data.likeNum <= 0||StringUtils.isEmpty(this.data.likeNum.toString()) ? Visibility.Hidden : Visibility.Visible) | ||
| 64 | Image(this.data.like_status === 0 ? $r('app.media.like_default_status') : $r('app.media.liked_status')) | 65 | Image(this.data.like_status === 0 ? $r('app.media.like_default_status') : $r('app.media.liked_status')) |
| 65 | .width('31lpx') | 66 | .width('31lpx') |
| 66 | .height('31lpx') | 67 | .height('31lpx') |
-
Please register or login to post a comment