|
|
@@ -5785,7 +5785,7 @@ export struct LocalMusic {
|
|
|
|
|
|
}
|
|
|
.width('100%')
|
|
|
- .margin(10)
|
|
|
+ .margin({ left:10,right:10 })
|
|
|
.justifyContent(FlexAlign.Center)
|
|
|
//播放进度条
|
|
|
this.playProgressView()
|
|
|
@@ -5938,6 +5938,7 @@ export struct LocalMusic {
|
|
|
.margin({ right: 30, left: 30, top: this.isCoverOpacity() || this.isCoverRectangle ? 0 : 10 })
|
|
|
.aspectRatio(1)
|
|
|
.opacity(this.isCoverOpacity() || this.isCoverRectangle ? 0 : 1)
|
|
|
+ .visibility(this.isCoverOpacity() || this.isCoverRectangle?Visibility.None:Visibility.Visible)
|
|
|
.borderRadius('100%')
|
|
|
.align(Alignment.Center)
|
|
|
.clip(true)// .rotate({ x: 0, y: 0, z: 1, angle: this.rotateAngle })
|
|
|
@@ -5957,7 +5958,7 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
|
Image(StrUtil.isEmpty(this.cover) ? this.imageLabel : this.cover)
|
|
|
- .height(this.isCoverOpacity() ? 220 : this.isCoverRectangle ? 300 : 162)
|
|
|
+ .height(this.isCoverOpacity() ? 250 : this.isCoverRectangle ? 300 : 162)
|
|
|
.objectFit(this.isCoverRectangle ? ImageFit.Contain : ImageFit.Auto)
|
|
|
.alt(this.imageLabel)
|
|
|
.margin({ right: 30, left: 30, top: this.isCoverOpacity() || this.isCoverRectangle ? 0 : 10 })
|
|
|
@@ -5982,6 +5983,7 @@ export struct LocalMusic {
|
|
|
.align(Alignment.Top)
|
|
|
.rotate({ angle: this.rotateAngle2, centerX: 0, centerY: 0 })
|
|
|
.opacity(this.isCoverOpacity() || this.isCoverRectangle ? 0 : 1)
|
|
|
+ .visibility(this.isCoverOpacity() || this.isCoverRectangle?Visibility.None:Visibility.Visible)
|
|
|
|
|
|
|
|
|
Column({ space: 8 }) {
|
|
|
@@ -5990,11 +5992,14 @@ export struct LocalMusic {
|
|
|
.fontWeight(FontWeight.Bold)
|
|
|
.textOverflow({ overflow: TextOverflow.MARQUEE })//超长滚动
|
|
|
.maxLines(1)
|
|
|
+ .width('48%')
|
|
|
+ .textAlign(TextAlign.Center)
|
|
|
.fontColor(Color.White)
|
|
|
Text(this.artist)
|
|
|
.fontSize(this.isPuraWP()?18:(this.isCoverOpacity() ? 12 : 15))
|
|
|
.fontColor(Color.White)
|
|
|
.fontWeight(FontWeight.Bold)
|
|
|
+ .visibility(this.isPhoneLan()?Visibility.None:Visibility.Visible)
|
|
|
}
|
|
|
.justifyContent(FlexAlign.Start)
|
|
|
.zIndex(1)
|
|
|
@@ -6004,7 +6009,7 @@ export struct LocalMusic {
|
|
|
}
|
|
|
|
|
|
.margin({
|
|
|
- bottom: this.isCoverOpacity() || this.isCoverRectangle ? 120 : 0,
|
|
|
+ bottom: this.isCoverOpacity() || this.isCoverRectangle ? 55 : 0,
|
|
|
top: this.isCoverOpacity() ? 0 : this.isCoverRectangle ? 40 : 30
|
|
|
})
|
|
|
|