Explorar o código

list分割线颜色

onecold hai 1 ano
pai
achega
64adf1281d
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

@@ -2779,7 +2779,7 @@ export struct LocalMusic {
       }, (item: VideoItem) => item.filePath)
     }
     .backgroundColor($r('app.color.index_background'))
-    .divider({ strokeWidth: 1, color: '#ffe9f0f0' })
+    .divider({ strokeWidth: 1, color: this.isDarkMode? '#333333':'#ffe9f0f0' })
     .margin({ bottom: this.isPuraWP() ? 50 : 108 })
     .cachedCount(30)
     .borderRadius(20)