소스 검색

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)