Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -75,6 +75,7 @@ export struct Card5Component { | @@ -75,6 +75,7 @@ export struct Card5Component { | ||
| 75 | .fontWeight(FontWeight.Bold) | 75 | .fontWeight(FontWeight.Bold) |
| 76 | .maxLines(2) | 76 | .maxLines(2) |
| 77 | .align(Alignment.TopStart) | 77 | .align(Alignment.TopStart) |
| 78 | + .textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。 | ||
| 78 | .textIndent(this.contentDTO.newTags?.length < 5 && this.contentDTO.newTags?.length > 2 ? 58 : | 79 | .textIndent(this.contentDTO.newTags?.length < 5 && this.contentDTO.newTags?.length > 2 ? 58 : |
| 79 | (this.contentDTO.newTags?.length != 0 && this.contentDTO.newTags?.length) || | 80 | (this.contentDTO.newTags?.length != 0 && this.contentDTO.newTags?.length) || |
| 80 | this.contentDTO.objectType == '5' ? 30 : 0) | 81 | this.contentDTO.objectType == '5' ? 30 : 0) |
-
Please register or login to post a comment