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-05-08 17:30:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6fbf5c31b5f20c5804a91c80857fdc5ee762d334
6fbf5c31
1 parent
c668bbb3
fix: 16784 【穿越测试】大图卡稿件,标题超过2行,应省略号展示。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card2Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card2Component.ets
View file @
6fbf5c3
...
...
@@ -38,7 +38,7 @@ export struct Card2Component {
Text(this.contentDTO.newsTitle)
.fontSize($r('app.float.font_size_17'))
.fontColor($r('app.color.color_222222'))
.maxLines(
3
)
.maxLines(
2
)
.textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。
.align(Alignment.Start)
//大图
...
...
Please
register
or
login
to post a comment