Showing
2 changed files
with
4 additions
and
1 deletions
| @@ -229,6 +229,9 @@ export struct DynamicDetailComponent { | @@ -229,6 +229,9 @@ export struct DynamicDetailComponent { | ||
| 229 | .maxLines(1) | 229 | .maxLines(1) |
| 230 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 230 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 231 | .alignSelf(ItemAlign.Start) | 231 | .alignSelf(ItemAlign.Start) |
| 232 | + .constraintSize({ | ||
| 233 | + maxWidth:`calc(100% - ${32+36+54+'vp'})` | ||
| 234 | + }) | ||
| 232 | .height(14) | 235 | .height(14) |
| 233 | .lineHeight(14) | 236 | .lineHeight(14) |
| 234 | } | 237 | } |
| @@ -355,7 +355,7 @@ export struct VideoChannelPage { | @@ -355,7 +355,7 @@ export struct VideoChannelPage { | ||
| 355 | } | 355 | } |
| 356 | }, (item: TopNavDTO) => item.channelId + '') | 356 | }, (item: TopNavDTO) => item.channelId + '') |
| 357 | } | 357 | } |
| 358 | - .position({y:3})//顶部遮罩会空出一点,临时解决 | 358 | + // .position({y:3})//顶部遮罩会空出一点,临时解决 |
| 359 | .indicator(false) | 359 | .indicator(false) |
| 360 | .loop(false) | 360 | .loop(false) |
| 361 | .width('100%') | 361 | .width('100%') |
-
Please register or login to post a comment