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
wuyanan
2024-08-30 18:06:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3901e869c5f0fa74e85527a6efbf51c0bdb3b56b
3901e869
1 parent
918c9317
fix |> 修复直播详情点赞数展示不全问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveLikeComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveLikeComponent.ets
View file @
3901e86
...
...
@@ -149,7 +149,7 @@ export struct LiveLikeComponent {
.textAlign(TextAlign.Center)
.alignRules({
top: { anchor: "__container__", align: VerticalAlign.Top },
left: { anchor: "__container__", align: HorizontalAlign.Start
}
right: { anchor: "__container__", align: HorizontalAlign.End
}
})
/*动态计算文字宽度*/
.width(this.getMeasureText(NumberFormatterUtils.formatNumberWithWan(this.likeCount || '')) +
...
...
@@ -158,10 +158,7 @@ export struct LiveLikeComponent {
.id("Text")
.visibility(this.likeCount > 0 ? Visibility.Visible : Visibility.Hidden)
}
.margin({left:10,top:3})
.offset({
x: 18
})
.margin({right:0,top:3})
}
}
.width(36)
...
...
Please
register
or
login
to post a comment