|  | @@ -12,6 +12,7 @@ import iconZan from './images/icon-zan.png'
 | 
	
		
			
				|  |  |  import iconZanActive from './images/icon-zan-active.png'
 | 
	
		
			
				|  |  |  import iconPlay from './images/icon-play.png'
 | 
	
		
			
				|  |  |  import iconPause from './images/icon-pause.png'
 | 
	
		
			
				|  |  | +import musicBg from './images/music_bg.png'
 | 
	
		
			
				|  |  |  import { postMessage, promisefiyPostMessage } from '@/helpers/native-message'
 | 
	
		
			
				|  |  |  import { browser, getGradeCh, getSecondRPM } from '@/helpers/utils'
 | 
	
		
			
				|  |  |  import { useRoute, useRouter } from 'vue-router'
 | 
	
	
		
			
				|  | @@ -127,45 +128,6 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        audioDom.addEventListener('ended', () => {
 | 
	
		
			
				|  |  |          state.paused = audioDom.paused
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  | -      // const wavesurfer = WaveSurfer.create({
 | 
	
		
			
				|  |  | -      //   container: document.querySelector(`#${audioId}`) as HTMLElement,
 | 
	
		
			
				|  |  | -      //   waveColor: '#fff',
 | 
	
		
			
				|  |  | -      //   progressColor: '#2FA1FD',
 | 
	
		
			
				|  |  | -      //   url: state.musicDetail.videoUrl,
 | 
	
		
			
				|  |  | -      //   cursorWidth: 0,
 | 
	
		
			
				|  |  | -      //   height: 35,
 | 
	
		
			
				|  |  | -      //   width: 'auto',
 | 
	
		
			
				|  |  | -      //   normalize: true,
 | 
	
		
			
				|  |  | -      //   // Set a bar width
 | 
	
		
			
				|  |  | -      //   barWidth: 2,
 | 
	
		
			
				|  |  | -      //   // Optionally, specify the spacing between bars
 | 
	
		
			
				|  |  | -      //   barGap: 2,
 | 
	
		
			
				|  |  | -      //   // And the bar radius
 | 
	
		
			
				|  |  | -      //   barRadius: 4,
 | 
	
		
			
				|  |  | -      //   barHeight: 0.6,
 | 
	
		
			
				|  |  | -      //   autoScroll: true,
 | 
	
		
			
				|  |  | -      //   /** If autoScroll is enabled, keep the cursor in the center of the waveform during playback */
 | 
	
		
			
				|  |  | -      //   autoCenter: true,
 | 
	
		
			
				|  |  | -      //   hideScrollbar: false,
 | 
	
		
			
				|  |  | -      //   media: audioDom
 | 
	
		
			
				|  |  | -      // });
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      // wavesurfer.once('interaction', () => {
 | 
	
		
			
				|  |  | -      //   // wavesurfer.play();
 | 
	
		
			
				|  |  | -      // });
 | 
	
		
			
				|  |  | -      // wavesurfer.once('ready', () => {
 | 
	
		
			
				|  |  | -      //   state.paused = audioDom.paused;
 | 
	
		
			
				|  |  | -      //   state.duration = audioDom.duration;
 | 
	
		
			
				|  |  | -      // });
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      // wavesurfer.on('finish', () => {
 | 
	
		
			
				|  |  | -      //   state.paused = true;
 | 
	
		
			
				|  |  | -      // });
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      // // 播放时监听
 | 
	
		
			
				|  |  | -      // audioDom.addEventListener('timeupdate', () => {
 | 
	
		
			
				|  |  | -      //   state.currentTime = audioDom.currentTime;
 | 
	
		
			
				|  |  | -      // });
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // 删除作品
 | 
	
	
		
			
				|  | @@ -269,11 +231,6 @@ export default defineComponent({
 | 
	
		
			
				|  |  |            {state.playType === 'Audio' && (
 | 
	
		
			
				|  |  |              <div class={styles.audioSection}>
 | 
	
		
			
				|  |  |                <div class={styles.audioContainer}>
 | 
	
		
			
				|  |  | -                {/* <div
 | 
	
		
			
				|  |  | -                  id={audioId}
 | 
	
		
			
				|  |  | -                  onClick={(e: MouseEvent) => {
 | 
	
		
			
				|  |  | -                    e.stopPropagation();
 | 
	
		
			
				|  |  | -                  }}></div> */}
 | 
	
		
			
				|  |  |                  <div
 | 
	
		
			
				|  |  |                    class={styles.waveActive}
 | 
	
		
			
				|  |  |                    style={{
 | 
	
	
		
			
				|  | @@ -285,7 +242,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                <div class={styles.audioBox}>
 | 
	
		
			
				|  |  |                  <div class={[styles.audioPan, state.paused && styles.imgRotate]}>
 | 
	
		
			
				|  |  | -                  <Image class={styles.audioImg} src={state.musicDetail?.img} />
 | 
	
		
			
				|  |  | +                  <Image class={styles.audioImg} src={state.musicDetail?.img || musicBg} />
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <i class={styles.audioPoint}></i>
 | 
	
		
			
				|  |  |                  <i class={[styles.audioZhen, state.paused && styles.active]}></i>
 |