|
@@ -7157,7 +7157,7 @@ export struct LocalMusic {
|
|
|
.height(this.bottomBarHeight)
|
|
.height(this.bottomBarHeight)
|
|
|
.hitTestBehavior(HitTestMode.Transparent)
|
|
.hitTestBehavior(HitTestMode.Transparent)
|
|
|
.bindContentCover($$this.isShowPlay, this.MusicPlayBuilder(), {
|
|
.bindContentCover($$this.isShowPlay, this.MusicPlayBuilder(), {
|
|
|
- modalTransition: ModalTransition.ALPHA,
|
|
|
|
|
|
|
+ modalTransition: ModalTransition.DEFAULT,
|
|
|
onWillDisappear: () => {
|
|
onWillDisappear: () => {
|
|
|
this.setShowPlayFalse()
|
|
this.setShowPlayFalse()
|
|
|
},
|
|
},
|
|
@@ -9349,10 +9349,10 @@ export struct LocalMusic {
|
|
|
duration: 500,
|
|
duration: 500,
|
|
|
curve: Curve.Sharp
|
|
curve: Curve.Sharp
|
|
|
}, () => {
|
|
}, () => {
|
|
|
- this.scaleValueImage = Math.min(1, Math.max(0.3, 1 - event.offsetY / 350));
|
|
|
|
|
|
|
+ this.scaleValueImage = Math.min(1, Math.max(0.5, 1 - event.offsetY / 600));
|
|
|
console.info('onecold scaleValueImage:', this.scaleValueImage)
|
|
console.info('onecold scaleValueImage:', this.scaleValueImage)
|
|
|
|
|
|
|
|
- this.scaleValueText =Math.min(1, Math.max(0.6, 1 - event.offsetY / 400));
|
|
|
|
|
|
|
+ this.scaleValueText =Math.min(1, Math.max(0.6, 1 - event.offsetY / 700));
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -11095,8 +11095,7 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
// 唱针以左上角为点选择逆时针40度
|
|
// 唱针以左上角为点选择逆时针40度
|
|
|
Image($r('app.media.ic_music_cover_hand'))
|
|
Image($r('app.media.ic_music_cover_hand'))
|
|
|
.height(130)
|
|
.height(130)
|
|
@@ -11239,7 +11238,6 @@ export struct LocalMusic {
|
|
|
.visibility(this.isHide ? Visibility.Hidden : Visibility.Visible)
|
|
.visibility(this.isHide ? Visibility.Hidden : Visibility.Visible)
|
|
|
.onClick(() => {
|
|
.onClick(() => {
|
|
|
this.setShowPlayFalse()
|
|
this.setShowPlayFalse()
|
|
|
-
|
|
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
@@ -13888,11 +13886,8 @@ export struct LocalMusic {
|
|
|
!this.videoUrl.startsWith('https://') &&
|
|
!this.videoUrl.startsWith('https://') &&
|
|
|
!FileUtil.accessSync(this.videoUrl)) {
|
|
!FileUtil.accessSync(this.videoUrl)) {
|
|
|
ToastUtil.showToast(Utility.resourceToString(getContext(), $r('app.string.file_not_exist')))
|
|
ToastUtil.showToast(Utility.resourceToString(getContext(), $r('app.string.file_not_exist')))
|
|
|
- } else {
|
|
|
|
|
- // ToastUtil.showToast(getContext()
|
|
|
|
|
- // .resourceManager
|
|
|
|
|
- // .getStringByNameSync("Honey_the_video_is_playing_errant_The_system_is_wandering"))
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
that.hideLoadIng();
|
|
that.hideLoadIng();
|