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-13 10:47:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e09437487ac3c922faf1165b4db7bc00be486dff
e0943748
1 parent
ee9a96fd
fix: 18195 三图卡稿件,标题折行效果不正确
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card4Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow04.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card4Component.ets
View file @
e094374
...
...
@@ -75,7 +75,8 @@ export struct Card4Component {
Span(this.contentDTO.newsTitle)
}
}
.fontSize($r('app.float.font_size_18'))
.fontSize(17.5)
.lineHeight(27)
.fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222'))
.maxLines(3)
.textOverflow({ overflow: TextOverflow.Ellipsis })
...
...
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow04.ets
View file @
e094374
...
...
@@ -117,7 +117,7 @@ struct localCard {
.fontSize($r('app.float.font_size_18'))
.fontColor('#000000')
.align(Alignment.TopStart)
.maxLines(
1
)
.maxLines(
3
)
.textOverflow({ overflow: TextOverflow.Ellipsis })
.lineHeight(25)
.fontWeight(500)
...
...
Please
register
or
login
to post a comment