xugenyuan

ref |> 修改评论列表评论内容行高

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
... ... @@ -570,6 +570,7 @@ struct commentHeaderView {
publishCommentModel: this.publishCommentModel
}).margin({ left: 59, right: 16 })
}.alignItems(HorizontalAlign.Start)
.padding({bottom: 8})
}
replyComment() {
... ...
... ... @@ -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)
... ...