Explorar o código

调整下播放页布局

onecold hai 1 ano
pai
achega
e65bcca144
Modificáronse 1 ficheiros con 1 adicións e 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)