Explorar el Código

调整下播放页布局

onecold hace 1 año
padre
commit
e65bcca144
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      entry/src/main/ets/view/LocalMusic.ets

+ 1 - 1
entry/src/main/ets/view/LocalMusic.ets

@@ -6251,7 +6251,7 @@ export struct LocalMusic {
         Image($r('app.media.ic_music_disc'))
           .width(250)
           .height(250)
-          .margin({ right: 30, left: 30, top: this.isCoverOpacity() || this.isCoverRectangle ? 0 : 10 })
+          .margin({ right: 20, left: 20 })
           .aspectRatio(1)
           .opacity(this.isCoverOpacity() || this.isCoverRectangle ? 0 : 1)
           .visibility(this.isCoverOpacity() || this.isCoverRectangle?Visibility.None:Visibility.Visible)