diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index ceafc6ba..beb303fb 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -29,241 +29,238 @@ --> -
-
-
-
-
-
- - -
-
- -
-
-
- - - -
-
-
- - - -
-
-
-
- +
+
+
+
+
+
+
+ + +
+
+ +
+
+
+ + + +
-
- -
- - {{ - toScore(courseInfo.score) - }} - - + + + +
-
-
-
-
- {{ contentData.contentName }} -
-
- -
-
-
-
-
-
此课程内容无法预览,请联系管理员
+
+
- 此课程内容无法预览,请联系管理员 -
- - -
-
-
-
-
- -
-
-
- -
- +
+
+ + {{ + toScore(courseInfo.score) + }} + +
-
- +
+
+
+
+ {{ contentData.contentName }} +
+
+ +
-
- +
+
+
+
此课程内容无法预览,请联系管理员
-
- - +
+ 此课程内容无法预览,请联系管理员
+ + +
+
+
-
- 十分抱歉,您当前的网络环境不符合观看要求。为了保障课程信息的安全,您需要接入公司内网才能观看。 -
-
- 重新检测 + +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
- -
-
-
-
- - +
+
+
+
+ + @@ -1080,7 +1077,7 @@ export default { warnTitle: "测试标题", isFinishingStudyItem: false, // 防止重复调用完成状态更新接口 // // 全局状态:是否正在等待接口完成 - // isWaitingForApis: false, + isLoadIframe: false, // // 待执行的切换操作(存储点击的目标课程) // pendingSwitchAction: null, }; @@ -1097,8 +1094,6 @@ export default { this.stopStudyTime(); //先关闭 this.cleanAppendTime(); // this.loadData(); - // // 监听iframe接口 - // this.checkAllApisCompleted(); }, computed: { // ai播放器相关 @@ -1349,6 +1344,13 @@ export default { this.$refs.mynote.showVideoTimeBtn(false); let $this = this; this.resType = r.contentType; + if (this.resType == 50) { + this.isLoadIframe = true; + } else { + setTimeout(() => { + this.isLoadIframe = false; + }, 10000); + } this.contentData = r; this.activeId = this.contentData.id; if (item) { @@ -1603,9 +1605,7 @@ export default { } } } - setTimeout(() => { - this.changePlayRes(r, item); - }, 10000); + this.changePlayRes(r, item); }, loadScorePraiseAndTrample() { //加载是否请过分