|  | @@ -1,4 +1,4 @@
 | 
	
		
			
				|  |  | -import { Transition, computed, defineComponent, onMounted, onUnmounted, reactive, ref, watch, toRef, ComputedRef } from "vue";
 | 
	
		
			
				|  |  | +import { Transition, computed, defineComponent, onMounted, onUnmounted, reactive, ref, watch, toRef, ComputedRef, nextTick } from "vue";
 | 
	
		
			
				|  |  |  import styles from "./index.module.less";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import iconBack from "./image/icon-back.png";
 | 
	
	
		
			
				|  | @@ -494,7 +494,10 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        /** 作业模式 end */
 | 
	
		
			
				|  |  |        if (state.defaultModeType == 1) {
 | 
	
		
			
				|  |  |          headTopData.handleChangeModeType("practise");
 | 
	
		
			
				|  |  | -        if (state.platform === IPlatform.PC || state.isPreView) {
 | 
	
		
			
				|  |  | +        // if (state.platform === IPlatform.PC || state.isPreView) {
 | 
	
		
			
				|  |  | +        //   headTopData.showBack = false;
 | 
	
		
			
				|  |  | +        // }
 | 
	
		
			
				|  |  | +        if (state.isPreView) {
 | 
	
		
			
				|  |  |            headTopData.showBack = false;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        } else {
 | 
	
	
		
			
				|  | @@ -555,7 +558,16 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      onUnmounted(() => {
 | 
	
		
			
				|  |  |        window.removeEventListener("message", changePlay);
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +    const noticeBarWidth = ref<number>()
 | 
	
		
			
				|  |  | +    watch(()=>smoothAnimationState.isShow.value, ()=>{
 | 
	
		
			
				|  |  | +      // NoticeBar能不能滚动
 | 
	
		
			
				|  |  | +      if(smoothAnimationState.isShow.value && isMusicList.value){
 | 
	
		
			
				|  |  | +        nextTick(()=>{
 | 
	
		
			
				|  |  | +          const widthCon = (document.querySelector("#noticeBarRollDom .van-notice-bar__content") as any)?.offsetWidth || undefined
 | 
	
		
			
				|  |  | +          noticeBarWidth.value = widthCon
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },{ immediate: true })
 | 
	
		
			
				|  |  |      // 设置改变触发
 | 
	
		
			
				|  |  |      watch(state.setting, () => {
 | 
	
		
			
				|  |  |        console.log(state.setting, "state.setting");
 | 
	
	
		
			
				|  | @@ -608,11 +620,18 @@ export default defineComponent({
 | 
	
		
			
				|  |  |            {/* 返回和标题 */}
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  |              !(state.playState == "play" || followData.start || evaluatingData.startBegin) &&
 | 
	
		
			
				|  |  | -              <div class={styles.headTopLeftBox}>
 | 
	
		
			
				|  |  | +              <div id="noticeBarRollDom" class={styles.headTopLeftBox}>
 | 
	
		
			
				|  |  |                  <img src={iconBack} class={['headTopBackBtn', styles.img, !headTopData.showBack && styles.hidenBack]} onClick={handleBack} />
 | 
	
		
			
				|  |  |                  {
 | 
	
		
			
				|  |  |                    smoothAnimationState.isShow.value ?
 | 
	
		
			
				|  |  | -                    <div class={[styles.title,isMusicList.value && styles.isMusicList, "driver-8"]} onClick={()=>{
 | 
	
		
			
				|  |  | +                    <div 
 | 
	
		
			
				|  |  | +                      style={
 | 
	
		
			
				|  |  | +                        noticeBarWidth.value ? {
 | 
	
		
			
				|  |  | +                          "--noticeBarWidth":noticeBarWidth.value + "px"
 | 
	
		
			
				|  |  | +                        } : {}
 | 
	
		
			
				|  |  | +                      }
 | 
	
		
			
				|  |  | +                      class={[styles.title,isMusicList.value && styles.isMusicList, "driver-8"]} 
 | 
	
		
			
				|  |  | +                      onClick={()=>{
 | 
	
		
			
				|  |  |                          isMusicList.value && (musicListShow.value = true)
 | 
	
		
			
				|  |  |                        }}>
 | 
	
		
			
				|  |  |                          <NoticeBar
 |