Showing
1 changed file
with
1 additions
and
6 deletions
| @@ -487,12 +487,7 @@ export struct PaperSingleColumn999CardView { | @@ -487,12 +487,7 @@ export struct PaperSingleColumn999CardView { | ||
| 487 | Text(this.getPublishTime()) | 487 | Text(this.getPublishTime()) |
| 488 | .fontSize(12) | 488 | .fontSize(12) |
| 489 | .fontColor(Color.Gray) | 489 | .fontColor(Color.Gray) |
| 490 | - if (this.interactData && this.interactData.commentNum) { | ||
| 491 | - Text(this.interactData.commentNum + "评") | ||
| 492 | - .fontSize(12) | ||
| 493 | - .fontColor(Color.Gray) | ||
| 494 | - .margin({ left: 6 }) | ||
| 495 | - }else if (this.commentList && this.commentList.length) { | 490 | + if (this.interactData && this.interactData.commentNum && Number(this.interactData.collectNum) > 0) { |
| 496 | Text(this.interactData.commentNum + "评") | 491 | Text(this.interactData.commentNum + "评") |
| 497 | .fontSize(12) | 492 | .fontSize(12) |
| 498 | .fontColor(Color.Gray) | 493 | .fontColor(Color.Gray) |
-
Please register or login to post a comment