|
@@ -6175,7 +6175,7 @@ export struct LocalMusic {
|
|
|
// RotatingCover({ songLabel: this.currentSong?.pixelMapPath })
|
|
// RotatingCover({ songLabel: this.currentSong?.pixelMapPath })
|
|
|
Image( this.currentSong?.pixelMapPath)
|
|
Image( this.currentSong?.pixelMapPath)
|
|
|
.height(45)
|
|
.height(45)
|
|
|
- .width(45)
|
|
|
|
|
|
|
+ .objectFit(ImageFit.Contain)
|
|
|
.alt( $r('app.media.music_red'))
|
|
.alt( $r('app.media.music_red'))
|
|
|
.fillColor(this.themeColor)
|
|
.fillColor(this.themeColor)
|
|
|
.borderRadius(8)
|
|
.borderRadius(8)
|
|
@@ -6184,7 +6184,6 @@ export struct LocalMusic {
|
|
|
type: ShadowType.BLUR,
|
|
type: ShadowType.BLUR,
|
|
|
color: 'on_primary'
|
|
color: 'on_primary'
|
|
|
})
|
|
})
|
|
|
- .clip(true)
|
|
|
|
|
.geometryTransition('cover', { follow: true }) // 绑定标识符
|
|
.geometryTransition('cover', { follow: true }) // 绑定标识符
|
|
|
Column() {
|
|
Column() {
|
|
|
Text(this.currentSong?.name)
|
|
Text(this.currentSong?.name)
|