|  | @@ -30,6 +30,7 @@ import { ACCESS_TOKEN } from '@/store/mutation-types';
 | 
	
		
			
				|  |  |  import { promisefiyPostMessage } from '@/helpers/native-message';
 | 
	
		
			
				|  |  |  import html2canvas from 'html2canvas';
 | 
	
		
			
				|  |  |  import { addWatermark, convasToImg } from '@/views/co-ai/imageFunction';
 | 
	
		
			
				|  |  | +import { nextTick } from 'process';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default defineComponent({
 | 
	
		
			
				|  |  |    name: 'music-detail',
 | 
	
	
		
			
				|  | @@ -42,6 +43,8 @@ export default defineComponent({
 | 
	
		
			
				|  |  |    emits: ['handleGoto'],
 | 
	
		
			
				|  |  |    setup(props, { emit }) {
 | 
	
		
			
				|  |  |      const item = toRef(props.item);
 | 
	
		
			
				|  |  | +    const noticeBarDom = ref()
 | 
	
		
			
				|  |  | +    const isScroll = ref(false)
 | 
	
		
			
				|  |  |      const data = reactive({
 | 
	
		
			
				|  |  |        musicPdfUrl: '',
 | 
	
		
			
				|  |  |        iframeSrc: '',
 | 
	
	
		
			
				|  | @@ -484,6 +487,13 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      const __init = async () => {
 | 
	
		
			
				|  |  |        await analyzeXml();
 | 
	
		
			
				|  |  |        musicIframeLoad();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      nextTick(() => {
 | 
	
		
			
				|  |  | +        const noticeBarEl = noticeBarDom.value.$el
 | 
	
		
			
				|  |  | +        if(noticeBarEl){
 | 
	
		
			
				|  |  | +           isScroll.value = noticeBarEl.querySelector(".van-notice-bar__wrap")?.offsetWidth < noticeBarEl.querySelector(".van-notice-bar__content")?.offsetWidth
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -500,12 +510,13 @@ export default defineComponent({
 | 
	
		
			
				|  |  |          <div class={styles.musicContainer}>
 | 
	
		
			
				|  |  |            <div class={styles.container}>
 | 
	
		
			
				|  |  |              <div
 | 
	
		
			
				|  |  | -              class={styles['right-musicName']}
 | 
	
		
			
				|  |  | +              class={[styles['right-musicName'], isScroll.value && styles.isScroll]}
 | 
	
		
			
				|  |  |                style={{
 | 
	
		
			
				|  |  |                  opacity: !data.musicPdfUrl ? '1' : '0',
 | 
	
		
			
				|  |  |                  height: !data.musicPdfUrl ? 'auto' : '0'
 | 
	
		
			
				|  |  |                }}>
 | 
	
		
			
				|  |  |                  <NoticeBar
 | 
	
		
			
				|  |  | +                    ref={noticeBarDom}
 | 
	
		
			
				|  |  |                      text={item.value?.musicSheetName}
 | 
	
		
			
				|  |  |                      class={styles.noticeBar}
 | 
	
		
			
				|  |  |                      background="none"
 |