|  | @@ -47,7 +47,7 @@ import Pen from './component/tools/pen'
 | 
											
												
													
														|  |  // import VideoItem from './component/video-item';
 |  |  // import VideoItem from './component/video-item';
 | 
											
												
													
														|  |  import VideoPlay from './component/video-play'
 |  |  import VideoPlay from './component/video-play'
 | 
											
												
													
														|  |  import { musicBuy } from '../music'
 |  |  import { musicBuy } from '../music'
 | 
											
												
													
														|  | -import { penShow, whitePenShow } from '@/components/globalTools/globalTools'
 |  | 
 | 
											
												
													
														|  | 
 |  | +import { isPlay, penShow, toolOpen, whitePenShow } from '@/components/globalTools/globalTools'
 | 
											
												
													
														|  |  import CoursewareTips from './component/courseware-tips'
 |  |  import CoursewareTips from './component/courseware-tips'
 | 
											
												
													
														|  |  import GlobalTools from '@/components/globalTools'
 |  |  import GlobalTools from '@/components/globalTools'
 | 
											
												
													
														|  |  import CoursewareType from './component/courseware-type'
 |  |  import CoursewareType from './component/courseware-type'
 | 
											
										
											
												
													
														|  | @@ -70,15 +70,6 @@ export default defineComponent({
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      )
 |  |      )
 | 
											
												
													
														|  | -    // 白板的批注打开时暂停播放
 |  | 
 | 
											
												
													
														|  | -    watch(
 |  | 
 | 
											
												
													
														|  | -      () => [whitePenShow.value, penShow.value],
 |  | 
 | 
											
												
													
														|  | -      () => {
 |  | 
 | 
											
												
													
														|  | -        if (whitePenShow.value || penShow.value) {
 |  | 
 | 
											
												
													
														|  | -          handleStop()
 |  | 
 | 
											
												
													
														|  | -        }
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -    )
 |  | 
 | 
											
												
													
														|  |      /** 设置播放容器 16:9 */
 |  |      /** 设置播放容器 16:9 */
 | 
											
												
													
														|  |      const parentContainer = reactive({
 |  |      const parentContainer = reactive({
 | 
											
												
													
														|  |        width: '100vw'
 |  |        width: '100vw'
 | 
											
										
											
												
													
														|  | @@ -391,16 +382,16 @@ export default defineComponent({
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    const onTitleTip = (type: "phaseGoals" | "checkItem", text: string) => {
 |  | 
 | 
											
												
													
														|  | -      handleStop()
 |  | 
 | 
											
												
													
														|  | -      popupData.pointOpen = true
 |  | 
 | 
											
												
													
														|  | -      popupData.pointContent = text
 |  | 
 | 
											
												
													
														|  | -      if(type === "checkItem") {
 |  | 
 | 
											
												
													
														|  | -        popupData.pointTitle = '检查事项'
 |  | 
 | 
											
												
													
														|  | -      } else if(type === "phaseGoals") {
 |  | 
 | 
											
												
													
														|  | -        popupData.pointTitle = '阶段目标'
 |  | 
 | 
											
												
													
														|  | 
 |  | +      const onTitleTip = (type: "phaseGoals" | "checkItem", text: string) => {
 | 
											
												
													
														|  | 
 |  | +        handleStop()
 | 
											
												
													
														|  | 
 |  | +        popupData.pointOpen = true
 | 
											
												
													
														|  | 
 |  | +        popupData.pointContent = text
 | 
											
												
													
														|  | 
 |  | +        if(type === "checkItem") {
 | 
											
												
													
														|  | 
 |  | +          popupData.pointTitle = '检查事项'
 | 
											
												
													
														|  | 
 |  | +        } else if(type === "phaseGoals") {
 | 
											
												
													
														|  | 
 |  | +          popupData.pointTitle = '阶段目标'
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      // ifram事件处理
 |  |      // ifram事件处理
 | 
											
										
											
												
													
														|  | @@ -825,6 +816,28 @@ export default defineComponent({
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +     // 白板的批注打开时暂停播放
 | 
											
												
													
														|  | 
 |  | +     watch(
 | 
											
												
													
														|  | 
 |  | +      () => [whitePenShow.value, penShow.value],
 | 
											
												
													
														|  | 
 |  | +      () => {
 | 
											
												
													
														|  | 
 |  | +        if (whitePenShow.value || penShow.value) {
 | 
											
												
													
														|  | 
 |  | +          handleStop()
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +    )
 | 
											
												
													
														|  | 
 |  | +    // 是否收起
 | 
											
												
													
														|  | 
 |  | +    watch(
 | 
											
												
													
														|  | 
 |  | +      () => activeData.model,
 | 
											
												
													
														|  | 
 |  | +      () => {
 | 
											
												
													
														|  | 
 |  | +        if (activeData.model) {
 | 
											
												
													
														|  | 
 |  | +            isPlay.value = false
 | 
											
												
													
														|  | 
 |  | +        } else {
 | 
											
												
													
														|  | 
 |  | +            isPlay.value = true
 | 
											
												
													
														|  | 
 |  | +            toolOpen.value = false
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +    )
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      /** 关闭教学工具 */
 |  |      /** 关闭教学工具 */
 | 
											
												
													
														|  |      const closeStudyTool = () => {
 |  |      const closeStudyTool = () => {
 | 
											
												
													
														|  |        studyData.type = 'init'
 |  |        studyData.type = 'init'
 |