Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -80,7 +80,8 @@ export struct LikeComponent { | @@ -80,7 +80,8 @@ export struct LikeComponent { | ||
| 80 | $r('app.media.icon_like_default_white')) | 80 | $r('app.media.icon_like_default_white')) |
| 81 | .width(18) | 81 | .width(18) |
| 82 | .height(18) | 82 | .height(18) |
| 83 | - Text(this.likeCount >0?this.likeCount.toString(): '点赞') | 83 | + // Text(this.likeCount >0?this.likeCount.toString(): '点赞') |
| 84 | + Text(this.likeStatus ?'已赞': '点赞') | ||
| 84 | .margin({left:4}) | 85 | .margin({left:4}) |
| 85 | .fontSize(14) | 86 | .fontSize(14) |
| 86 | .fontColor(this.likeStatus ? '#ED2800' : '#666666') | 87 | .fontColor(this.likeStatus ? '#ED2800' : '#666666') |
-
Please register or login to post a comment