onecold 8 месяцев назад
Родитель
Сommit
fd09177b7f
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      entry/src/main/ets/view/LocalMusic.ets

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

@@ -10605,7 +10605,7 @@ export struct LocalMusic {
       }
       }
       .justifyContent(FlexAlign.Center)
       .justifyContent(FlexAlign.Center)
       .padding({left:20,right:20})
       .padding({left:20,right:20})
-      .width('95%')
+      .width(this.isLandscape?'88%':'95%')
       Row() {
       Row() {
         Text(this.currentTime)
         Text(this.currentTime)
           .fontSize(10)
           .fontSize(10)
@@ -10617,7 +10617,7 @@ export struct LocalMusic {
           .fontColor(Color.White)
           .fontColor(Color.White)
           .margin({right:25})
           .margin({right:25})
       }
       }
-      .width('90%')
+      .width(this.isLandscape?'85%':'90%')
       .height(10)
       .height(10)
     }
     }
     .width('100%')
     .width('100%')
@@ -11195,7 +11195,7 @@ export struct LocalMusic {
               }
               }
             })
             })
         }
         }
-        .margin({ left: 15,right:3 })
+        .margin({ left: 8,right:8 })
         .backgroundColor(Color.Transparent)
         .backgroundColor(Color.Transparent)
         .width(45)
         .width(45)
         .height(45)
         .height(45)
@@ -11204,7 +11204,7 @@ export struct LocalMusic {
 
 
 
 
     }
     }
-    .width('90%')
+    .width(this.isLandscape?'83%':'90%')
     .scale({ x: this.scaleValueText, y: this.scaleValueText }) // 添加缩放效果
     .scale({ x: this.scaleValueText, y: this.scaleValueText }) // 添加缩放效果
     .margin({ top: this.isCoverOpacity() ? 10 : isHidden ? 20 : 10 })
     .margin({ top: this.isCoverOpacity() ? 10 : isHidden ? 20 : 10 })
     .visibility(this.isCoverOpacity() || isHidden ? Visibility.None : Visibility.Visible)
     .visibility(this.isCoverOpacity() || isHidden ? Visibility.None : Visibility.Visible)