|
@@ -65,7 +65,7 @@
|
|
|
<div class="btnAll">
|
|
|
<div class="returnBtn" @click="nextOrpreSteps(0)">上一步</div>
|
|
|
<div class="returnBtn" @click="nextOrpreSteps(1)">下一步</div>
|
|
|
- <div class="returnBtn" @click="allScrell">全屏</div>
|
|
|
+ <!-- <div class="returnBtn" @click="allScrell">全屏</div> -->
|
|
|
<div class="returnBtn" @click="startRecording" v-if="(!videoStart && tType == 1 || tType == 4)">开始录制</div>
|
|
|
<div class="returnBtn" @click="stopRecording" v-else-if="(tType == 1 || tType == 4)"
|
|
|
style="background:#ee5255">下载录制</div>
|
|
@@ -3000,7 +3000,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
jump() {
|
|
|
- window.parent.postMessage({ tools: "43" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "43" }, "*");
|
|
|
},
|
|
|
previewImg(url) {
|
|
|
this.$hevueImgPreview(url);
|
|
@@ -4393,7 +4393,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
allScrell() {
|
|
|
- window.parent.postMessage({ allScreen: this.screenType }, "*");
|
|
|
+ window.opener.postMessage({ allScreen: this.screenType }, "*");
|
|
|
},
|
|
|
nextOrpreSteps(t) {
|
|
|
var b = this.chapInfoList.length - 1;
|
|
@@ -5603,7 +5603,7 @@ export default {
|
|
|
a = this.wbCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.opener.postMessage(
|
|
|
{
|
|
|
tools: "1",
|
|
|
cid: this.id,
|
|
@@ -5621,7 +5621,7 @@ export default {
|
|
|
a = this.wordCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "2" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "2" }, "*");
|
|
|
} else if (t == 3) {
|
|
|
if (this.mindCount > 0) {
|
|
|
this.updateCount(this.mindCount, t);
|
|
@@ -5630,7 +5630,7 @@ export default {
|
|
|
a = this.mindCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.opener.postMessage(
|
|
|
{
|
|
|
tools: "3",
|
|
|
cid: this.id,
|
|
@@ -5671,7 +5671,7 @@ export default {
|
|
|
}
|
|
|
this.dialogVisible5 = true;
|
|
|
|
|
|
- // window.parent.postMessage({ tools: "4" }, "*");
|
|
|
+ // window.opener.postMessage({ tools: "4" }, "*");
|
|
|
} else if (t == 45) {
|
|
|
this.noteName = "";
|
|
|
this.radio = [];
|
|
@@ -5697,7 +5697,7 @@ export default {
|
|
|
|
|
|
this.dialogVisibleChoice = true;
|
|
|
|
|
|
- // window.parent.postMessage({ tools: "4" }, "*");
|
|
|
+ // window.opener.postMessage({ tools: "4" }, "*");
|
|
|
} else if (t == 5) {
|
|
|
if (this.scoreCount > 0) {
|
|
|
this.updateCount(this.scoreCount, t);
|
|
@@ -5707,7 +5707,7 @@ export default {
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
this.dialogVisible4 = true;
|
|
|
- // window.parent.postMessage({ tools: "5" }, "*");
|
|
|
+ // window.opener.postMessage({ tools: "5" }, "*");
|
|
|
} else if (t == 6) {
|
|
|
if (this.noteCount > 0) {
|
|
|
this.updateCount(this.noteCount, t);
|
|
@@ -5716,7 +5716,7 @@ export default {
|
|
|
a = this.noteCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.opener.postMessage(
|
|
|
{
|
|
|
tools: "6",
|
|
|
cid: this.id,
|
|
@@ -5734,7 +5734,7 @@ export default {
|
|
|
a = this.mindNetWorkCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.opener.postMessage(
|
|
|
{
|
|
|
tools: "7",
|
|
|
cid: this.id,
|
|
@@ -5761,7 +5761,7 @@ export default {
|
|
|
a = this.libraryCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "8" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "8" }, "*");
|
|
|
} else if (t == 17) {
|
|
|
if (this.libraryCount > 0) {
|
|
|
this.updateCount(this.libraryCount, t);
|
|
@@ -5770,7 +5770,7 @@ export default {
|
|
|
a = this.libraryCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "17" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "17" }, "*");
|
|
|
} else if (t == 18) {
|
|
|
if (this.trainCount > 0) {
|
|
|
this.updateCount(this.trainCount, t);
|
|
@@ -5779,7 +5779,7 @@ export default {
|
|
|
a = this.trainCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "18" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "18" }, "*");
|
|
|
} else if (t == 10) {
|
|
|
if (this.timeCount > 0) {
|
|
|
this.updateCount(this.timeCount, t);
|
|
@@ -5806,29 +5806,29 @@ export default {
|
|
|
: "";
|
|
|
this.answerDialogVisible = true;
|
|
|
} else if (t == 21) {
|
|
|
- window.parent.postMessage({ tools: "21" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "21" }, "*");
|
|
|
} else if (t == 22) {
|
|
|
- window.parent.postMessage({ tools: "22" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "22" }, "*");
|
|
|
} else if (t == 23) {
|
|
|
- window.parent.postMessage({ tools: "23" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "23" }, "*");
|
|
|
} else if (t == 24) {
|
|
|
- window.parent.postMessage({ tools: "24" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "24" }, "*");
|
|
|
} else if (t == 25) {
|
|
|
- window.parent.postMessage({ tools: "25" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "25" }, "*");
|
|
|
} else if (t == 31) {
|
|
|
- window.parent.postMessage({ tools: "31" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "31" }, "*");
|
|
|
} else if (t == 28) {
|
|
|
- window.parent.postMessage({ tools: "28" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "28" }, "*");
|
|
|
} else if (t == 37) {
|
|
|
- window.parent.postMessage({ tools: "37" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "37" }, "*");
|
|
|
} else if (t == 38) {
|
|
|
- window.parent.postMessage({ tools: "38" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "38" }, "*");
|
|
|
} else if (t == 39) {
|
|
|
- window.parent.postMessage({ tools: "39" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "39" }, "*");
|
|
|
} else if (t == 32) {
|
|
|
- window.parent.postMessage({ tools: "32" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "32" }, "*");
|
|
|
} else if (t == 26) {
|
|
|
- window.parent.postMessage(
|
|
|
+ window.opener.postMessage(
|
|
|
{
|
|
|
tools: "26",
|
|
|
cid: this.id,
|
|
@@ -5905,7 +5905,7 @@ export default {
|
|
|
this.isSelect = false;
|
|
|
this.dialogVisibleSelect = true;
|
|
|
} else if (t == 44) {
|
|
|
- window.parent.postMessage({ tools: "44" }, "*");
|
|
|
+ window.opener.postMessage({ tools: "44" }, "*");
|
|
|
}
|
|
|
},
|
|
|
toolsCount(a, t) {
|
|
@@ -6326,11 +6326,11 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
if (this.screenType == 2) {
|
|
|
- window.parent.postMessage({ allScreen: 4 }, "*");
|
|
|
+ window.opener.postMessage({ allScreen: 4 }, "*");
|
|
|
} else if (this.screenType == 3) {
|
|
|
- window.parent.postMessage({ allScreen: "5gm" }, "*");
|
|
|
+ window.opener.postMessage({ allScreen: "5gm" }, "*");
|
|
|
} else if (this.screenType == 1) {
|
|
|
- window.parent.postMessage({ allScreen: 6 }, "*");
|
|
|
+ window.opener.postMessage({ allScreen: 6 }, "*");
|
|
|
}
|
|
|
this.selectEva();
|
|
|
this.getCourseDetail();
|