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
xugenyuan
2024-05-08 19:23:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5a9b92fa4f8e5e56437320b13473265ebdf17be8
5a9b92fa
1 parent
171266e0
ref |> 处理底部评论数量为0时,不显示
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentTabComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentTabComponent.ets
View file @
5a9b92f
...
...
@@ -87,7 +87,7 @@ export struct CommentIconComponent {
Stack({ alignContent: Alignment.TopEnd }) {
Image($r('app.media.comment_icon')).width(24).height(24)
// Stack({alignContent:Alignment.Start}) {
//
if(Number.parseInt(this.publishCommentModel.totalCommentNumer) != 0){
if(Number.parseInt(this.publishCommentModel.totalCommentNumer) != 0){
RelativeContainer() {
Image($r('app.media.comment_icon_number_bg'))
.objectFit(ImageFit.Fill)
...
...
@@ -125,7 +125,7 @@ export struct CommentIconComponent {
x: 12
})
//
}
}
}
}.width(24).height(24)
...
...
Please
register
or
login
to post a comment