Showing
1 changed file
with
5 additions
and
1 deletions
| @@ -101,7 +101,11 @@ export struct Card10Component { | @@ -101,7 +101,11 @@ export struct Card10Component { | ||
| 101 | .fontSize($r('app.float.font_size_18')) | 101 | .fontSize($r('app.float.font_size_18')) |
| 102 | .fontWeight(FontWeight.Normal) | 102 | .fontWeight(FontWeight.Normal) |
| 103 | .lineHeight(25) | 103 | .lineHeight(25) |
| 104 | - .maxLines(this.contentDTO.appStyle === CompStyle.Card_09 ? 2 : 1) | 104 | + .maxLines( |
| 105 | + router.getState().name === 'MyCollectionListPage' | ||
| 106 | + ? this.contentDTO.appStyle === CompStyle.Card_09 ? 2 : 1 | ||
| 107 | + : 2 | ||
| 108 | + ) | ||
| 105 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 109 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 106 | .margin({ bottom: 8 }) | 110 | .margin({ bottom: 8 }) |
| 107 | .onClick((event: ClickEvent) => { | 111 | .onClick((event: ClickEvent) => { |
-
Please register or login to post a comment