卡片来源显示规则调整未实现,单图卡,小视频卡,来源需要控制16个字,大图卡,三图卡,来源可以展示一行的就不需要控制16个字
Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -147,6 +147,7 @@ export struct CardSourceInfo { | @@ -147,6 +147,7 @@ export struct CardSourceInfo { | ||
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | // 评论数 | 149 | // 评论数 |
| 150 | + if (!this.contentDTO.cornerMark && !this.contentDTO.corner) { | ||
| 150 | if (this.contentDTO.objectType !=='2' && !this.isCompInnerSource && Number(this.getContentDtoBean()?.interactData?.commentNum) > 0 && | 151 | if (this.contentDTO.objectType !=='2' && !this.isCompInnerSource && Number(this.getContentDtoBean()?.interactData?.commentNum) > 0 && |
| 151 | this.showCommentNum()) { | 152 | this.showCommentNum()) { |
| 152 | Text(`${this.handlerNum(this.getContentDtoBean()?.interactData?.commentNum.toString())}评`) | 153 | Text(`${this.handlerNum(this.getContentDtoBean()?.interactData?.commentNum.toString())}评`) |
| @@ -163,6 +164,7 @@ export struct CardSourceInfo { | @@ -163,6 +164,7 @@ export struct CardSourceInfo { | ||
| 163 | } | 164 | } |
| 164 | 165 | ||
| 165 | } | 166 | } |
| 167 | + } | ||
| 166 | 168 | ||
| 167 | } | 169 | } |
| 168 | .width(CommonConstants.FULL_WIDTH) | 170 | .width(CommonConstants.FULL_WIDTH) |
-
Please register or login to post a comment