onecold 1 yıl önce
ebeveyn
işleme
fb2bead23f

+ 3 - 0
entry/src/main/ets/pages/SettingPage.ets

@@ -144,6 +144,7 @@ export struct SettingPage {
             Image($r('app.media.kp_music_nor'))
               .width(22)
               .height(22)
+              .visibility(Visibility.None)
               .alignSelf(ItemAlign.Center)
               .margin({ left: 28 })
             Text('记忆播放')
@@ -171,6 +172,7 @@ export struct SettingPage {
             Image($r('app.media.kp_music_nor'))
               .width(22)
               .height(22)
+              .visibility(Visibility.None)
               .alignSelf(ItemAlign.Center)
               .margin({ left: 28 })
             Text('默认排序模式')
@@ -209,6 +211,7 @@ export struct SettingPage {
             Image($r('app.media.kp_music_nor'))
               .width(22)
               .height(22)
+              .visibility(Visibility.None)
               .alignSelf(ItemAlign.Center)
               .margin({ left: 28 })
             Text('播放背景随音乐封面')

+ 5 - 3
entry/src/main/ets/view/LocalMusic.ets

@@ -1831,6 +1831,8 @@ export struct LocalMusic {
       .width('100%')
       .height('100%')
       .backgroundColor($r('app.color.white'))
+      // .backgroundImage($r('app.media.welcomeBg') )
+      // .backgroundImageSize({ height: '100%', width: '100%' })
       .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
 
     }
@@ -2402,7 +2404,7 @@ export struct LocalMusic {
           duration: 666,
           curve: 'ease-in-out' // 可选动画曲线
         })
-        .backgroundColor(this.isClickedPLayAll ? '#d0d0d0' : '#ffffff')
+        .backgroundColor(this.isClickedPLayAll ? '#d0d0d0' : Color.Transparent)
         .onTouch((event: TouchEvent) => {
           if (event.type === TouchType.Down) {
             this.isClickedPLayAll = true;
@@ -2749,8 +2751,8 @@ export struct LocalMusic {
 
       }, (item: VideoItem) => item.filePath)
     }
-    .backgroundColor($r('app.color.white'))
-    .divider({ strokeWidth: 1, color: '#ffe9f0f0' })
+    // .backgroundColor($r('app.color.white'))
+    // .divider({ strokeWidth: 1, color: '#ffe9f0f0' })
     .margin({ bottom: this.isPuraWP() ? 50 : 108 })
     .cachedCount(30)
     .borderRadius(20)

BIN
entry/src/main/resources/base/media/ic_avatar6.png