王士厅

早晚报音频组件一多适配

... ... @@ -274,7 +274,7 @@ export struct MorningEveningPaperComponent {
this.AudioBarView()
}
.margin({
top: this.isHasTopView ? 10 : 44+this.topSafeHeight
top: this.isHasTopView ? 10 : 44 + this.topSafeHeight
})
}
... ... @@ -327,8 +327,8 @@ export struct MorningEveningPaperComponent {
Stack({ alignContent: Alignment.Start }) {
Image($r('app.media.listen_left_bg'))
.width('100%')
.height('100%')
.objectFit(ImageFit.Contain)
// .height('100%')
.objectFit(ImageFit.Fill)
Image($r('app.media.icon_listen'))
.width(20)
.height(20)
... ...