Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -50,9 +50,11 @@ export struct CardSourceInfo { | @@ -50,9 +50,11 @@ export struct CardSourceInfo { | ||
| 50 | 50 | ||
| 51 | showCommentNum() { | 51 | showCommentNum() { |
| 52 | const curRouter = router.getState().name; | 52 | const curRouter = router.getState().name; |
| 53 | - return curRouter !== 'PeopleShipHomePage' | 53 | + // return curRouter !== 'PeopleShipHomePage' |
| 54 | + return true | ||
| 54 | } | 55 | } |
| 55 | 56 | ||
| 57 | + | ||
| 56 | /** | 58 | /** |
| 57 | * 全域数字显示规则 | 59 | * 全域数字显示规则 |
| 58 | * 1、当数量为千位以內时,显示数字,不保留小数点,比如 4585 | 60 | * 1、当数量为千位以內时,显示数字,不保留小数点,比如 4585 |
| @@ -154,8 +156,6 @@ export struct CardSourceInfo { | @@ -154,8 +156,6 @@ export struct CardSourceInfo { | ||
| 154 | .fontSize($r("app.float.font_size_11")) | 156 | .fontSize($r("app.float.font_size_11")) |
| 155 | .fontColor($r("app.color.color_B0B0B0")) | 157 | .fontColor($r("app.color.color_B0B0B0")) |
| 156 | .flexShrink(0) | 158 | .flexShrink(0) |
| 157 | - .visibility(Number(this.getContentDtoBean()?.interactData?.commentNum) === 0 ? Visibility.None : | ||
| 158 | - Visibility.Visible) | ||
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | // if (this.getContentDtoBean()?.interactData?.commentNum && this.contentDTO.source) { | 161 | // if (this.getContentDtoBean()?.interactData?.commentNum && this.contentDTO.source) { |
-
Please register or login to post a comment