|
@@ -65,9 +65,6 @@ export default defineComponent({
|
|
|
const route = useRoute();
|
|
|
const router = useRouter();
|
|
|
const isScreenScroll = ref(false)
|
|
|
- const lottieDom = ref()
|
|
|
- const lottieDom1 = ref()
|
|
|
- const lottieDom2 = ref()
|
|
|
const mStickyBottom = ref()
|
|
|
const mStickyUpward = ref()
|
|
|
const state = reactive({
|
|
@@ -205,15 +202,9 @@ export default defineComponent({
|
|
|
const canvasDom = document.querySelector("#audioVisualizer") as HTMLCanvasElement
|
|
|
const { pauseVisualDraw, playVisualDraw } = audioVisualDraw(audioDom, canvasDom)
|
|
|
player.on('play', () => {
|
|
|
- lottieDom.value?.play()
|
|
|
- lottieDom1.value?.play()
|
|
|
- lottieDom2.value?.play()
|
|
|
playVisualDraw()
|
|
|
});
|
|
|
player.on('pause', () => {
|
|
|
- lottieDom.value?.pause()
|
|
|
- lottieDom1.value?.pause()
|
|
|
- lottieDom2.value?.pause()
|
|
|
pauseVisualDraw()
|
|
|
});
|
|
|
}
|
|
@@ -517,7 +508,6 @@ export default defineComponent({
|
|
|
});
|
|
|
|
|
|
onUnmounted(() => {
|
|
|
- setStatusBarTextColor(false)
|
|
|
cleanScrollEvent()
|
|
|
state._plrl?.destroy()
|
|
|
});
|
|
@@ -553,6 +543,7 @@ export default defineComponent({
|
|
|
title={state.musicDetail?.musicSheetName}
|
|
|
border={false}
|
|
|
isBack={route.query.platformType != 'ANALYSIS'}
|
|
|
+ onLeftClick={()=>{ setStatusBarTextColor(false) }}
|
|
|
/>
|
|
|
</MSticky>
|
|
|
<div class={styles.singer}>
|
|
@@ -564,9 +555,9 @@ export default defineComponent({
|
|
|
state.playType === 'Audio' &&
|
|
|
<div class={styles.audioBox}>
|
|
|
<canvas class={styles.audioVisualizer} id="audioVisualizer"></canvas>
|
|
|
- <Vue3Lottie ref={lottieDom} class={styles.audioBga} animationData={audioBga} autoPlay={false} loop={true}></Vue3Lottie>
|
|
|
- <Vue3Lottie ref={lottieDom1} class={styles.audioBga1} animationData={audioBga1} autoPlay={false} loop={true}></Vue3Lottie>
|
|
|
- <Vue3Lottie ref={lottieDom2} class={styles.audioBga2} animationData={audioBga2} autoPlay={false} loop={true}></Vue3Lottie>
|
|
|
+ <Vue3Lottie class={styles.audioBga} animationData={audioBga} autoPlay={false} loop={true}></Vue3Lottie>
|
|
|
+ <Vue3Lottie class={styles.audioBga1} animationData={audioBga1} autoPlay={false} loop={true}></Vue3Lottie>
|
|
|
+ <Vue3Lottie class={styles.audioBga2} animationData={audioBga2} autoPlay={false} loop={true}></Vue3Lottie>
|
|
|
<audio
|
|
|
crossorigin="anonymous"
|
|
|
id="audioMediaSrc"
|