Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -38,7 +38,7 @@ export struct Card2Component { | @@ -38,7 +38,7 @@ export struct Card2Component { | ||
| 38 | Text(this.contentDTO.newsTitle) | 38 | Text(this.contentDTO.newsTitle) |
| 39 | .fontSize($r('app.float.font_size_17')) | 39 | .fontSize($r('app.float.font_size_17')) |
| 40 | .fontColor($r('app.color.color_222222')) | 40 | .fontColor($r('app.color.color_222222')) |
| 41 | - .maxLines(3) | 41 | + .maxLines(2) |
| 42 | .textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。 | 42 | .textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。 |
| 43 | .align(Alignment.Start) | 43 | .align(Alignment.Start) |
| 44 | //大图 | 44 | //大图 |
-
Please register or login to post a comment