|
|
@@ -47,18 +47,12 @@ struct AddToPlaylistDialogContent {
|
|
|
|
|
|
build() {
|
|
|
Column({ space: 16 }) {
|
|
|
- // 标题
|
|
|
- Text('添加到歌单')
|
|
|
- .fontSize(18)
|
|
|
- .fontWeight(FontWeight.Bold)
|
|
|
- .fontColor($r('app.color.text_color'))
|
|
|
- .margin({ top: 20 })
|
|
|
|
|
|
// 歌曲信息
|
|
|
if (this.currentSong) {
|
|
|
Row({ space: 12 }) {
|
|
|
// 封面
|
|
|
- Image(this.currentSong.pixelMap || $r('app.media.icon'))
|
|
|
+ Image(this.currentSong.pixelMapPath || $r('app.media.icon'))
|
|
|
.width(48)
|
|
|
.height(48)
|
|
|
.borderRadius(8)
|
|
|
@@ -223,7 +217,7 @@ struct AddToPlaylistDialogContent {
|
|
|
.justifyContent(FlexAlign.SpaceBetween)
|
|
|
.margin({ top: 20, bottom: 20 })
|
|
|
}
|
|
|
- .width('90%')
|
|
|
+ .width('100%')
|
|
|
.constraintSize({ maxWidth: 400 })
|
|
|
.backgroundColor(this.isDarkMode ? '#2C2C2E' : $r('app.color.dialog_background'))
|
|
|
.borderRadius(12)
|