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
陈剑华
2024-06-11 09:52:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2cd80333d0745051491dcb02c13fbcaa8ea16bdb
2cd80333
1 parent
2029da43
fix: 18729 必修-人民号文章/视频/图集详情页组件下均缺少评论数量
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 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 @
2cd8033
...
...
@@ -50,9 +50,11 @@ export struct CardSourceInfo {
showCommentNum() {
const curRouter = router.getState().name;
return curRouter !== 'PeopleShipHomePage'
// return curRouter !== 'PeopleShipHomePage'
return true
}
/**
* 全域数字显示规则
* 1、当数量为千位以內时,显示数字,不保留小数点,比如 4585
...
...
@@ -154,8 +156,6 @@ export struct CardSourceInfo {
.fontSize($r("app.float.font_size_11"))
.fontColor($r("app.color.color_B0B0B0"))
.flexShrink(0)
.visibility(Number(this.getContentDtoBean()?.interactData?.commentNum) === 0 ? Visibility.None :
Visibility.Visible)
}
// if (this.getContentDtoBean()?.interactData?.commentNum && this.contentDTO.source) {
...
...
Please
register
or
login
to post a comment