|
|
@@ -3591,8 +3591,6 @@ export struct RemoteMusicPage {
|
|
|
.width('94%')
|
|
|
.height('100%')
|
|
|
.editMode(true)
|
|
|
- .transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|
|
|
- .animation({ duration: 500, curve: Curve.Ease }))
|
|
|
.padding({bottom:this.bottomSafeHeight+this.bottomSafeHeight+52})
|
|
|
.reuseId('grid_item')
|
|
|
.layoutWeight(1)
|
|
|
@@ -3753,9 +3751,7 @@ export struct RemoteMusicPage {
|
|
|
}
|
|
|
.width(this.getGridWight())
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(item.pixelMapPath)?$r('app.media.alt'):item.pixelMapPath)
|
|
|
- .backgroundImageSize({ height: '100%', width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
|
|
|
|
|
|
@@ -3891,9 +3887,7 @@ export struct RemoteMusicPage {
|
|
|
}
|
|
|
.width(this.getGridWight())
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(artist.coverUrl) ? $r('app.media.nocover') : artist.coverUrl)
|
|
|
- .backgroundImageSize({ height: '100%', width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
|
|
|
}
|
|
|
@@ -3977,9 +3971,7 @@ export struct RemoteMusicPage {
|
|
|
}
|
|
|
.width(this.getGridWight())
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(album.coverUrl) ? $r('app.media.nocover') : album.coverUrl)
|
|
|
- .backgroundImageSize({ height: '100%', width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
|
|
|
}
|
|
|
@@ -4063,9 +4055,7 @@ export struct RemoteMusicPage {
|
|
|
}
|
|
|
.width(this.getGridWight())
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(playlist.coverUrl) ? $r('app.media.nocover') : playlist.coverUrl)
|
|
|
- .backgroundImageSize({ height: '100%', width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
|
|
|
}
|
|
|
@@ -4273,8 +4263,6 @@ export struct RemoteMusicPage {
|
|
|
.rowsGap(16) // 行间距
|
|
|
.cachedCount(6)
|
|
|
.padding({bottom:this.bottomSafeHeight+52})
|
|
|
- .transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|
|
|
- .animation({ duration: 500, curve: Curve.Ease }))
|
|
|
.scrollBar(BarState.Off)
|
|
|
.edgeEffect(EdgeEffect.Spring, { alwaysEnabled: true })
|
|
|
.width('90%')
|
|
|
@@ -4470,9 +4458,7 @@ export struct RemoteMusicPage {
|
|
|
}
|
|
|
.width('100%')
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(item.pixelMapPath) ? $r('app.media.alt') : item.pixelMapPath)
|
|
|
- .backgroundImageSize({ height: '100%', width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
}
|
|
|
}
|
|
|
@@ -4539,9 +4525,7 @@ export struct RemoteMusicPage {
|
|
|
}
|
|
|
.width('100%')
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(artist.coverUrl) ? $r('app.media.dir_alt') : artist.coverUrl)
|
|
|
- .backgroundImageSize({ width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
|
|
|
}
|
|
|
@@ -4608,9 +4592,7 @@ export struct RemoteMusicPage {
|
|
|
.width('100%')
|
|
|
.height('auto')
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(album.coverUrl) ? $r('app.media.dir_alt') : album.coverUrl)
|
|
|
- .backgroundImageSize({ width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
|
|
|
}
|
|
|
@@ -4676,9 +4658,7 @@ export struct RemoteMusicPage {
|
|
|
}
|
|
|
.width('100%')
|
|
|
.borderRadius(12)
|
|
|
- .backgroundImage(StrUtil.isEmpty(playlist.coverUrl) ? $r('app.media.dir_alt') : playlist.coverUrl)
|
|
|
- .backgroundImageSize({ width: '100%' })
|
|
|
- .backgroundBlurStyle(BlurStyle.BACKGROUND_ULTRA_THICK)
|
|
|
+ .backgroundColor(this.isDarkMode ? '#141414' : '#F7F7F7')
|
|
|
.animation({ curve: Curve.Sharp, duration: 300 })
|
|
|
}
|
|
|
}
|