Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -372,7 +372,7 @@ export struct ZhSingleRow03 { | @@ -372,7 +372,7 @@ export struct ZhSingleRow03 { | ||
| 372 | }) | 372 | }) |
| 373 | 373 | ||
| 374 | Text(item.newsTitle) | 374 | Text(item.newsTitle) |
| 375 | - .width(201) | 375 | + .width('calc(100% - 106vp - 12vp)') |
| 376 | .height(60) | 376 | .height(60) |
| 377 | .maxLines(3) | 377 | .maxLines(3) |
| 378 | .textOverflow({overflow: TextOverflow.Ellipsis}) | 378 | .textOverflow({overflow: TextOverflow.Ellipsis}) |
| @@ -380,6 +380,7 @@ export struct ZhSingleRow03 { | @@ -380,6 +380,7 @@ export struct ZhSingleRow03 { | ||
| 380 | } | 380 | } |
| 381 | .margin({bottom: 16}) | 381 | .margin({bottom: 16}) |
| 382 | .justifyContent(FlexAlign.Start) | 382 | .justifyContent(FlexAlign.Start) |
| 383 | + .width('100%') | ||
| 383 | 384 | ||
| 384 | Row() { | 385 | Row() { |
| 385 | Flex({justifyContent: FlexAlign.SpaceBetween}){ | 386 | Flex({justifyContent: FlexAlign.SpaceBetween}){ |
-
Please register or login to post a comment