|
@@ -2179,14 +2179,14 @@ export struct LocalMusic {
|
|
|
duration: 555,
|
|
duration: 555,
|
|
|
curve: 'Linear',
|
|
curve: 'Linear',
|
|
|
})
|
|
})
|
|
|
- .fontColor(this.currentSong?.filePath === item.filePath ? $r('app.color.title_bar_bg') :
|
|
|
|
|
|
|
+ .fontColor(this.currentSong?.filePath === item.filePath ? $r('app.color.title_bar_bg_text') :
|
|
|
$r('app.color.text_color'))
|
|
$r('app.color.text_color'))
|
|
|
.margin({ left: 10 })
|
|
.margin({ left: 10 })
|
|
|
Row() {
|
|
Row() {
|
|
|
Text(StrUtil.isEmpty(item.artist) ? item.cTime : item.artist + ' ' + item?.album)
|
|
Text(StrUtil.isEmpty(item.artist) ? item.cTime : item.artist + ' ' + item?.album)
|
|
|
.fontSize(11)
|
|
.fontSize(11)
|
|
|
.padding({ top: 8 })
|
|
.padding({ top: 8 })
|
|
|
- .fontColor(this.currentSong?.filePath === item.filePath ? $r('app.color.title_bar_bg') :
|
|
|
|
|
|
|
+ .fontColor(this.currentSong?.filePath === item.filePath ? $r('app.color.title_bar_bg_text') :
|
|
|
$r('app.color.text_color'))
|
|
$r('app.color.text_color'))
|
|
|
.margin({ left: 10 })
|
|
.margin({ left: 10 })
|
|
|
Blank()
|
|
Blank()
|
|
@@ -2194,7 +2194,8 @@ export struct LocalMusic {
|
|
|
.fontSize(11)
|
|
.fontSize(11)
|
|
|
.padding({ top: 8 })
|
|
.padding({ top: 8 })
|
|
|
.visibility(StrUtil.isEmpty(item.artist) ? Visibility.Visible : Visibility.None)
|
|
.visibility(StrUtil.isEmpty(item.artist) ? Visibility.Visible : Visibility.None)
|
|
|
- .fontColor($r('app.color.text_color'))
|
|
|
|
|
|
|
+ .fontColor(this.currentSong?.filePath === item.filePath ? $r('app.color.title_bar_bg_text') :
|
|
|
|
|
+ $r('app.color.text_color'))
|
|
|
.margin({ left: 10 })
|
|
.margin({ left: 10 })
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -3956,24 +3957,24 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
Text(item.name)
|
|
Text(item.name)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
- .fontColor(this.curIndex === index ? $r('app.color.title_bar_bg') :
|
|
|
|
|
- this.isFrontWhite ? Color.White : Color.Black)
|
|
|
|
|
|
|
+ .fontColor(this.curIndex === index ? $r('app.color.title_bar_bg_text') :
|
|
|
|
|
+ this.isFrontWhite ? Color.White : $r('app.color.text_color'))
|
|
|
.maxLines(1)
|
|
.maxLines(1)
|
|
|
.margin({ left: 10 })
|
|
.margin({ left: 10 })
|
|
|
Row() {
|
|
Row() {
|
|
|
Text(StrUtil.isEmpty(item.artist) ? item.cTime : item.artist + ' ' + item?.album)
|
|
Text(StrUtil.isEmpty(item.artist) ? item.cTime : item.artist + ' ' + item?.album)
|
|
|
.fontSize(11)
|
|
.fontSize(11)
|
|
|
.padding({ top: 8 })
|
|
.padding({ top: 8 })
|
|
|
- .fontColor(this.curIndex === index ? $r('app.color.title_bar_bg') :
|
|
|
|
|
- this.isFrontWhite ? $r('app.color.divider_color') : $r('app.color.pri_bg'))
|
|
|
|
|
|
|
+ .fontColor(this.curIndex === index ? $r('app.color.title_bar_bg_text') :
|
|
|
|
|
+ this.isFrontWhite ? $r('app.color.playlistText_color') : $r('app.color.text_color'))
|
|
|
.margin({ left: 10 })
|
|
.margin({ left: 10 })
|
|
|
Blank()
|
|
Blank()
|
|
|
Text(item.size)
|
|
Text(item.size)
|
|
|
.fontSize(11)
|
|
.fontSize(11)
|
|
|
.padding({ top: 8 })
|
|
.padding({ top: 8 })
|
|
|
.visibility(StrUtil.isEmpty(item.artist) ? Visibility.Visible : Visibility.None)
|
|
.visibility(StrUtil.isEmpty(item.artist) ? Visibility.Visible : Visibility.None)
|
|
|
- .fontColor(this.curIndex === index ? $r('app.color.title_bar_bg') :
|
|
|
|
|
- this.isFrontWhite ? $r('app.color.divider_color') : $r('app.color.pri_bg'))
|
|
|
|
|
|
|
+ .fontColor(this.curIndex === index ? $r('app.color.title_bar_bg_text') :
|
|
|
|
|
+ this.isFrontWhite ? $r('app.color.playlistText_color') : $r('app.color.text_color'))
|
|
|
.margin({ left: 10 })
|
|
.margin({ left: 10 })
|
|
|
}
|
|
}
|
|
|
|
|
|