ソースを参照

list分割线颜色

onecold 1 年間 前
コミット
64adf1281d
1 ファイル変更1 行追加1 行削除
  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)