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-20 19:20:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ee835106d72cc19e831d5e3161c1a48c629e5034
ee835106
1 parent
15f382fa
ref |> 修改评论列表评论内容行高
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentText.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentComponent.ets
View file @
ee83510
...
...
@@ -570,6 +570,7 @@ struct commentHeaderView {
publishCommentModel: this.publishCommentModel
}).margin({ left: 59, right: 16 })
}.alignItems(HorizontalAlign.Start)
.padding({bottom: 8})
}
replyComment() {
...
...
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentText.ets
View file @
ee83510
...
...
@@ -129,8 +129,10 @@ export struct CommentText {
// Stack({ alignContent: Alignment.BottomEnd }) {
Text(this.longMessage) {
Span(this.expandedStates ? this.longMessage : this.maxLineMesssage)
.lineHeight(this.lineHeight)
Span(this.collapseText)
.fontColor("#999999")
.lineHeight(this.lineHeight)
.onClick(() => {
if (this.collapseText == collapseString) {
this.collapseText = uncollapseString;
...
...
@@ -171,6 +173,7 @@ export struct CommentText {
else {
Text(this.longMessage)
.width('100%')
.lineHeight(this.lineHeight)
.fontSize(this.fontSize)
.fontWeight(this.fontWeight)
.fontColor(this.fontColor)
...
...
Please
register
or
login
to post a comment