chenquansheng

fix |> 评论点赞数字颜色根据状态显示

... ... @@ -832,7 +832,7 @@ struct commentFooterView {
if (this.item.id) { // 审核通过的才显示点赞
Row({ space: 6 }) {
Text(this.item.likeNum)
.fontColor($r('app.color.color_666666'))
.fontColor(this.item.api_status?$r('app.color.color_ED2800') : $r('app.color.color_666666'))
.fontSize(14)
Image(this.item.api_status ? $r('app.media.comment_like_select') : $r('app.media.comment_like_normal'))
... ...