Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chenqs
2024-07-22 15:31:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
934ae5a1696196f7a82e9b359bd517c00e9d86d2
934ae5a1
1 parent
61af0bd1
fix |> 修复uat环境--热点频道下无图卡下缺少评论问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/CardSourceInfo.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/CardSourceInfo.ets
View file @
934ae5a
...
...
@@ -147,7 +147,7 @@ export struct CardSourceInfo {
}
// 评论数
if (
(this.contentDTO.rmhPlatform === 1 || this.contentDTO.source)
&& !this.isCompInnerSource && Number(this.getContentDtoBean()?.interactData?.commentNum) > 0 &&
if (
this.contentDTO.objectType !=='2'
&& !this.isCompInnerSource && Number(this.getContentDtoBean()?.interactData?.commentNum) > 0 &&
this.showCommentNum()) {
Text(`${this.handlerNum(this.getContentDtoBean()?.interactData?.commentNum.toString())}评`)
.fontSize($r("app.float.font_size_11"))
...
...
@@ -155,7 +155,7 @@ export struct CardSourceInfo {
.flexShrink(0)
} else {
if (
(this.contentDTO.rmhPlatform === 1 || this.contentDTO.source)
&& this.isCompInnerSource && this.contentDTO.interactData && this.contentDTO.interactData?.commentNum > 0) {
if (
this.contentDTO.objectType !=='2'
&& this.isCompInnerSource && this.contentDTO.interactData && this.contentDTO.interactData?.commentNum > 0) {
Text(`${this.handlerNum(this.contentDTO.interactData?.commentNum.toString())}评`)
.fontSize($r("app.float.font_size_11"))
.fontColor($r("app.color.color_B0B0B0"))
...
...
@@ -208,11 +208,11 @@ export struct CardSourceInfo {
}
// 评论数
if (
(this.contentDTO.rmhPlatform === 1 || this.contentDTO.source)
&& !this.isCompInnerSource && Number(this.getContentDtoBean()?.interactData?.commentNum) > 0 &&
if (
this.contentDTO.objectType !=='2'
&& !this.isCompInnerSource && Number(this.getContentDtoBean()?.interactData?.commentNum) > 0 &&
this.showCommentNum()) {
have = true
} else {
if (
(this.contentDTO.rmhPlatform === 1 || this.contentDTO.source)
&& this.isCompInnerSource && this.contentDTO.interactData && this.contentDTO.interactData?.commentNum > 0) {
if (
this.contentDTO.objectType !=='2'
&& this.isCompInnerSource && this.contentDTO.interactData && this.contentDTO.interactData?.commentNum > 0) {
have = true
}
}
...
...
Please
register
or
login
to post a comment