|
@@ -2297,6 +2297,13 @@ export struct WebDavMainPage {
|
|
|
}
|
|
}
|
|
|
.padding({ top: this.topSafeHeight + 10, left: 10, right: 10, bottom: 2 })
|
|
.padding({ top: this.topSafeHeight + 10, left: 10, right: 10, bottom: 2 })
|
|
|
.width('100%')
|
|
.width('100%')
|
|
|
|
|
+ .bindContentCover($$this.isShowDownloadCenter, this.DownloadCenterBuilder(),
|
|
|
|
|
+ {
|
|
|
|
|
+ modalTransition:ModalTransition.DEFAULT,
|
|
|
|
|
+ onWillDisappear: () => {
|
|
|
|
|
+ this.isShowDownloadCenter = false
|
|
|
|
|
+ },
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -2500,6 +2507,7 @@ export struct WebDavMainPage {
|
|
|
if (this.songForPropertySheet) {
|
|
if (this.songForPropertySheet) {
|
|
|
Scroll() {
|
|
Scroll() {
|
|
|
Column({ space: 10 }) {
|
|
Column({ space: 10 }) {
|
|
|
|
|
+ this.SongPropertyCoverRow('音乐封面', this.songForPropertySheet?.pixelMapPath)
|
|
|
this.SongPropertyRow('歌曲名称', this.getSongPropertyValue(this.songForPropertySheet?.name))
|
|
this.SongPropertyRow('歌曲名称', this.getSongPropertyValue(this.songForPropertySheet?.name))
|
|
|
this.SongPropertyRow('文件名称', this.getSongPropertyValue(this.songForPropertySheet?.fileName))
|
|
this.SongPropertyRow('文件名称', this.getSongPropertyValue(this.songForPropertySheet?.fileName))
|
|
|
this.SongPropertyRow('艺术家', this.getSongPropertyValue(this.songForPropertySheet?.artist))
|
|
this.SongPropertyRow('艺术家', this.getSongPropertyValue(this.songForPropertySheet?.artist))
|
|
@@ -2508,7 +2516,6 @@ export struct WebDavMainPage {
|
|
|
this.SongPropertyRow('文件大小', this.getSongPropertyValue(this.songForPropertySheet?.size))
|
|
this.SongPropertyRow('文件大小', this.getSongPropertyValue(this.songForPropertySheet?.size))
|
|
|
this.SongPropertyRow('比特率', this.getSongPropertyValue(this.songForPropertySheet?.bit_rate))
|
|
this.SongPropertyRow('比特率', this.getSongPropertyValue(this.songForPropertySheet?.bit_rate))
|
|
|
this.SongPropertyRow('采样率', this.getSongPropertyValue(this.songForPropertySheet?.sampleRate))
|
|
this.SongPropertyRow('采样率', this.getSongPropertyValue(this.songForPropertySheet?.sampleRate))
|
|
|
- this.SongPropertyCoverRow('音乐封面', this.songForPropertySheet?.pixelMapPath)
|
|
|
|
|
this.SongPropertyLyricRow('内嵌歌词', this.songForPropertySheet?.lyricContent)
|
|
this.SongPropertyLyricRow('内嵌歌词', this.songForPropertySheet?.lyricContent)
|
|
|
this.SongPropertyRow('创建时间', this.getSongPropertyValue(this.songForPropertySheet?.cTime))
|
|
this.SongPropertyRow('创建时间', this.getSongPropertyValue(this.songForPropertySheet?.cTime))
|
|
|
this.SongPropertyRow('来源类型', this.getSongTypeLabel(this.songForPropertySheet))
|
|
this.SongPropertyRow('来源类型', this.getSongTypeLabel(this.songForPropertySheet))
|
|
@@ -2571,16 +2578,13 @@ export struct WebDavMainPage {
|
|
|
.backdropBlur(this.blurValue)
|
|
.backdropBlur(this.blurValue)
|
|
|
.backgroundBrightness({rate:this.isCustomizeBg?0.1:0,lightUpDegree:this.bgBrightness})
|
|
.backgroundBrightness({rate:this.isCustomizeBg?0.1:0,lightUpDegree:this.bgBrightness})
|
|
|
.bindSheet($$this.isShowSongPropertySheet, this.SongPropertySheetBuilder(), {
|
|
.bindSheet($$this.isShowSongPropertySheet, this.SongPropertySheetBuilder(), {
|
|
|
- height: '88%',
|
|
|
|
|
|
|
+ height: '99%',
|
|
|
dragBar: true,
|
|
dragBar: true,
|
|
|
showClose: true,
|
|
showClose: true,
|
|
|
preferType: SheetType.CENTER,
|
|
preferType: SheetType.CENTER,
|
|
|
blurStyle: BlurStyle.Thin,
|
|
blurStyle: BlurStyle.Thin,
|
|
|
title: { title: '歌曲属性' }
|
|
title: { title: '歌曲属性' }
|
|
|
})
|
|
})
|
|
|
- .bindContentCover($$this.isShowDownloadCenter, this.DownloadCenterBuilder(), {
|
|
|
|
|
- transition: TransitionEffect.translate({ x: 500 }).animation({ curve: curves.springMotion(0.6, 0.8) })
|
|
|
|
|
- })
|
|
|
|
|
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
|
|
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
|
|
|
}
|
|
}
|
|
|
|
|
|