Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -7,6 +7,7 @@ import { EmptyComponent } from '../view/EmptyComponent'; | @@ -7,6 +7,7 @@ import { EmptyComponent } from '../view/EmptyComponent'; | ||
| 7 | import { CardMediaInfo } from '../cardCommon/CardMediaInfo'; | 7 | import { CardMediaInfo } from '../cardCommon/CardMediaInfo'; |
| 8 | import { onlyWifiLoadImg } from '../../utils/lazyloadImg'; | 8 | import { onlyWifiLoadImg } from '../../utils/lazyloadImg'; |
| 9 | import { Notes } from '../cardview/notes'; | 9 | import { Notes } from '../cardview/notes'; |
| 10 | +import { getNotesContentWidth } from '../../utils/FuncUtils' | ||
| 10 | import { InfomationCardClick } from '../../utils/infomationCardClick' | 11 | import { InfomationCardClick } from '../../utils/infomationCardClick' |
| 11 | import font from '@ohos.font'; | 12 | import font from '@ohos.font'; |
| 12 | 13 | ||
| @@ -262,7 +263,7 @@ struct CarouselLayout01CardView { | @@ -262,7 +263,7 @@ struct CarouselLayout01CardView { | ||
| 262 | } | 263 | } |
| 263 | .width(CommonConstants.FULL_WIDTH) | 264 | .width(CommonConstants.FULL_WIDTH) |
| 264 | .aspectRatio(CompUtils.ASPECT_RATIO_16_9) | 265 | .aspectRatio(CompUtils.ASPECT_RATIO_16_9) |
| 265 | - .alignContent(Alignment.BottomStart) | 266 | + .alignContent(Alignment.Top) |
| 266 | .hoverEffect(HoverEffect.Scale) | 267 | .hoverEffect(HoverEffect.Scale) |
| 267 | } | 268 | } |
| 268 | } | 269 | } |
-
Please register or login to post a comment