王士厅

早晚报音频组件一多适配

@@ -274,7 +274,7 @@ export struct MorningEveningPaperComponent { @@ -274,7 +274,7 @@ export struct MorningEveningPaperComponent {
274 this.AudioBarView() 274 this.AudioBarView()
275 } 275 }
276 .margin({ 276 .margin({
277 - top: this.isHasTopView ? 10 : 44+this.topSafeHeight 277 + top: this.isHasTopView ? 10 : 44 + this.topSafeHeight
278 }) 278 })
279 } 279 }
280 280
@@ -327,8 +327,8 @@ export struct MorningEveningPaperComponent { @@ -327,8 +327,8 @@ export struct MorningEveningPaperComponent {
327 Stack({ alignContent: Alignment.Start }) { 327 Stack({ alignContent: Alignment.Start }) {
328 Image($r('app.media.listen_left_bg')) 328 Image($r('app.media.listen_left_bg'))
329 .width('100%') 329 .width('100%')
330 - .height('100%')  
331 - .objectFit(ImageFit.Contain) 330 + // .height('100%')
  331 + .objectFit(ImageFit.Fill)
332 Image($r('app.media.icon_listen')) 332 Image($r('app.media.icon_listen'))
333 .width(20) 333 .width(20)
334 .height(20) 334 .height(20)