lsc il y a 1 semaine
Parent
commit
da096e718e
32 fichiers modifiés avec 803 ajouts et 787 suppressions
  1. 16 0
      index.html
  2. 4 4
      js/jietu2.js
  3. 4 4
      js/jietu4.js
  4. 3 3
      src/common/jietu2.js
  5. 29 29
      src/components/GM/studyStudentGM.vue
  6. 3 3
      src/components/classRoomHelper/component/taskArea.vue
  7. 4 4
      src/components/courseDetail.vue
  8. 36 36
      src/components/easy/studyStudent.vue
  9. 1 1
      src/components/easy2/commpont/markDialog.vue
  10. 41 41
      src/components/easy2/studyStudent jiu.vue
  11. 43 43
      src/components/easy2/studyStudent.vue
  12. 41 41
      src/components/easy3/studyStudent jiu.vue
  13. 43 43
      src/components/easy3/studyStudent.vue
  14. 4 4
      src/components/liveProjectDetail(湖心亭看雪).vue
  15. 6 6
      src/components/liveProjectDetail.vue
  16. 6 6
      src/components/liveProjectDetailKH.vue
  17. 36 36
      src/components/noTerminal/studyStudent.vue
  18. 1 1
      src/components/scoreList/commpont/course.vue
  19. 29 29
      src/components/student/studyStudent.vue
  20. 29 29
      src/components/student/studyStudentJiu.vue
  21. 29 29
      src/components/studio/studyStudent.vue
  22. 20 20
      src/components/study.vue
  23. 43 43
      src/components/studyStudent.vue
  24. 42 42
      src/components/studyStudentJiu.vue
  25. 1 1
      src/components/studySutdentClass/commpont/markDialog.vue
  26. 41 41
      src/components/studySutdentClass/studyStudent jiu.vue
  27. 43 43
      src/components/studySutdentClass/studyStudent.vue
  28. 41 41
      src/components/trainCourse/easy2/studyStudent.vue
  29. 41 41
      src/components/trainCourse/easy3/studyStudent.vue
  30. 41 41
      src/components/trainCourse/studyStudent.vue
  31. 41 41
      src/components/横板极简和任务模式/easy2/studyStudent.vue
  32. 41 41
      src/components/横板极简和任务模式/easy3/studyStudent.vue

+ 16 - 0
index.html

@@ -73,6 +73,22 @@
 
   window.onload = () => {
     stopSafari();
+    try{
+      if(window.parent.U){
+        topU = window.parent
+      }
+    }catch(e){
+      try {
+        if(window.parent.parent.U){
+          topU = window.parent.parent
+        }
+      } catch (error) {
+        if(window.top.U){
+          topU = window.top
+        } 
+      }
+    }
+    window.topU = topU
   }
   
   document.domain = "cocorobo.cn"

+ 4 - 4
js/jietu2.js

@@ -44,7 +44,7 @@ function dataURLtoFile_shishi(dataurl, filename) {
 
 function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
   // loading.style.display = 'flex'
-  // top.document.getElementById(loading);
+  // window.topU.document.getElementById(loading);
   //  document.body.appendChild(_loading)
   var file = nfile;
   var credentials = {
@@ -91,7 +91,7 @@ function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool,
           for (var i = 0; i < _a.length; i++) {
             _a[i].removeAttribute("crossorigin")
           }
-          top.document.getElementById(loading).children[0].style.display = "none"
+          window.topU.document.getElementById(loading).children[0].style.display = "none"
           let _div = document.createElement('div')
           _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
           let _inner = document.createElement('div')
@@ -135,7 +135,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
       for (var i = 0; i < _a.length; i++) {
         _a[i].removeAttribute("crossorigin")
       }
-      top.document.getElementById(loading).children[0].style.display = "none"
+      window.topU.document.getElementById(loading).children[0].style.display = "none"
       let _div = document.createElement('div')
       _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
       let _inner = document.createElement('div')
@@ -153,7 +153,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
         for (var i = 0; i < _a.length; i++) {
           _a[i].removeAttribute("crossorigin")
         }
-        top.document.getElementById(loading).children[0].style.display = "none"
+        window.topU.document.getElementById(loading).children[0].style.display = "none"
         let _div = document.createElement('div')
         _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
         let _inner = document.createElement('div')

+ 4 - 4
js/jietu4.js

@@ -32,7 +32,7 @@ function dataURLtoFile_shishi(dataurl, filename) {
 
 function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
   // loading.style.display = 'flex'
-  // top.document.getElementById(loading);
+  // window.topU.document.getElementById(loading);
   //  document.body.appendChild(_loading)
   var file = nfile;
   var credentials = {
@@ -79,7 +79,7 @@ function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool,
           for (var i = 0; i < _a.length; i++) {
             _a[i].removeAttribute("crossorigin")
           }
-          top.document.getElementById(loading).children[0].style.display = "none"
+          window.topU.document.getElementById(loading).children[0].style.display = "none"
           let _div = document.createElement('div')
           _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
           let _inner = document.createElement('div')
@@ -122,7 +122,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
       for (var i = 0; i < _a.length; i++) {
         _a[i].removeAttribute("crossorigin")
       }
-      top.document.getElementById(loading).children[0].style.display = "none"
+      window.topU.document.getElementById(loading).children[0].style.display = "none"
       let _div = document.createElement('div')
       _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
       let _inner = document.createElement('div')
@@ -140,7 +140,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
         for (var i = 0; i < _a.length; i++) {
           _a[i].removeAttribute("crossorigin")
         }
-        top.document.getElementById(loading).children[0].style.display = "none"
+        window.topU.document.getElementById(loading).children[0].style.display = "none"
         let _div = document.createElement('div')
         _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
         let _inner = document.createElement('div')

+ 3 - 3
src/common/jietu2.js

@@ -43,7 +43,7 @@ function dataURLtoFile_shishi(dataurl, filename) {
 
 function beforeUpload_shishi(nfile, uid, cid, stage, task, tool, loading, atool, text) {
   // loading.style.display = 'flex'
-  // top.document.getElementById(loading);
+  // window.topU.document.getElementById(loading);
   //  document.body.appendChild(_loading)
   var file = nfile;
   var credentials = {
@@ -111,7 +111,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading,atool, text) {
       for (var i = 0; i < _a.length; i++) {
         _a[i].removeAttribute("crossorigin")
       }
-      top.document.getElementById(loading).children[0].style.display = "none"
+      window.topU.document.getElementById(loading).children[0].style.display = "none"
       let _div = document.createElement('div')
       _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
       let _inner = document.createElement('div')
@@ -129,7 +129,7 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading,atool, text) {
         for (var i = 0; i < _a.length; i++) {
           _a[i].removeAttribute("crossorigin")
         }
-        top.document.getElementById(loading).children[0].style.display = "none"
+        window.topU.document.getElementById(loading).children[0].style.display = "none"
         let _div = document.createElement('div')
         _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
         let _inner = document.createElement('div')

+ 29 - 29
src/components/GM/studyStudentGM.vue

@@ -3003,7 +3003,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     previewImg(url) {
       this.$hevueImgPreview(url);
@@ -4396,7 +4396,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       var b = this.chapInfoList.length - 1;
@@ -5606,7 +5606,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -5624,7 +5624,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -5633,7 +5633,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -5674,7 +5674,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -5700,7 +5700,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -5710,7 +5710,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -5719,7 +5719,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -5737,7 +5737,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -5764,7 +5764,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -5773,7 +5773,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -5782,7 +5782,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -5809,29 +5809,29 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -5908,7 +5908,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       }
     },
     toolsCount(a, t) {
@@ -6329,11 +6329,11 @@ export default {
   },
   created() {
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: "5gm" }, "*");
+      window.topU.postMessage({ allScreen: "5gm" }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.selectEva();
     this.getCourseDetail();

+ 3 - 3
src/components/classRoomHelper/component/taskArea.vue

@@ -1273,17 +1273,17 @@ ${_textData}
     },
     goSetTopic() {
       if (this.courseDetail.state == 1 || this.courseDetail.state == 2) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           { tools: "openNewCourseUpdate", cid: this.courseDetail.courseId },
           "*"
         );
       } else if (this.courseDetail.state == 3) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           { tools: "openCourseEUpdate", cid: this.courseDetail.courseId },
           "*"
         );
       } else if (this.courseDetail.state == 4 || this.courseDetail.state == 5) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           { tools: "openCourseAiUpdate", cid: this.courseDetail.courseId },
           "*"
         );

+ 4 - 4
src/components/courseDetail.vue

@@ -1450,13 +1450,13 @@ export default {
 							type:"error",
 						}).then(() => {
 							if(this.courseDetail.state == 1 || this.courseDetail.state == 2){
-								window.parent.postMessage({ tools: "openNewCourseUpdate",cid:this.id }, "*");
+								window.topU.postMessage({ tools: "openNewCourseUpdate",cid:this.id }, "*");
 							}else if(this.courseDetail.state == 3){
-								window.parent.postMessage({ tools: "openCourseEUpdate",cid:this.id }, "*");
+								window.topU.postMessage({ tools: "openCourseEUpdate",cid:this.id }, "*");
 							}else if(this.courseDetail.state == 4 || this.courseDetail.state == 5){
-								window.parent.postMessage({ tools: "openCourseAiUpdate",cid:this.id }, "*");
+								window.topU.postMessage({ tools: "openCourseAiUpdate",cid:this.id }, "*");
               }else if(this.courseDetail.state == 6){
-								window.parent.postMessage({ tools: "openCourseAiUpdate2",cid:this.id }, "*");
+								window.topU.postMessage({ tools: "openCourseAiUpdate2",cid:this.id }, "*");
               }
 
 						})

+ 36 - 36
src/components/easy/studyStudent.vue

@@ -2889,7 +2889,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     previewImg(url) {
       this.$hevueImgPreview(url);
@@ -4743,7 +4743,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "NT" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "NT" }, "*");
     },
     nextToolindex(type) {
       this.$forceUpdate();
@@ -6378,7 +6378,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1E",
             cid: this.id,
@@ -6396,7 +6396,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -6405,7 +6405,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3E",
             cid: this.id,
@@ -6449,7 +6449,7 @@ export default {
 
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -6475,7 +6475,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -6485,7 +6485,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -6494,7 +6494,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -6512,7 +6512,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -6548,7 +6548,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -6557,7 +6557,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -6566,7 +6566,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -6598,41 +6598,41 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 57) {
-        window.parent.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage({ tools: "57" }, "*");
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -6709,7 +6709,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -6971,7 +6971,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + 'teacherE',
             cid: this.id,
@@ -7769,11 +7769,11 @@ export default {
   },
   mounted() {
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 1 - 1
src/components/easy2/commpont/markDialog.vue

@@ -1411,7 +1411,7 @@ export default {
         student: uname
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.cid,

+ 41 - 41
src/components/easy2/studyStudent jiu.vue

@@ -12519,7 +12519,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15159,7 +15159,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "NT" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "NT" }, "*");
     },
     nextToolindex(type) {
       if (type == "last") {
@@ -16980,7 +16980,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -16998,7 +16998,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -17007,7 +17007,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -17051,7 +17051,7 @@ export default {
 
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -17077,7 +17077,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -17087,7 +17087,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -17096,7 +17096,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17114,7 +17114,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17155,7 +17155,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17164,7 +17164,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17173,7 +17173,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17205,36 +17205,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17245,15 +17245,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 65) {
         if (this.tType == 2) {
           this.$message.error("不支持学生使用");
@@ -17268,7 +17268,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17345,7 +17345,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -17631,7 +17631,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -17650,7 +17650,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -18924,11 +18924,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 43 - 43
src/components/easy2/studyStudent.vue

@@ -17693,7 +17693,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -21142,7 +21142,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     // 0上一步  1下一步
     nextOrpreSteps(t) {
@@ -23264,7 +23264,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -23282,7 +23282,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -23291,7 +23291,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -23337,7 +23337,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -23362,7 +23362,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -23372,7 +23372,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -23381,7 +23381,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -23399,7 +23399,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -23444,7 +23444,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -23453,7 +23453,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -23462,7 +23462,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -23494,36 +23494,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -23534,21 +23534,21 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 71) {
         // if(this.org == '16ace517-b5c7-4168-a9bb-a9e0035df840'){
         //   this.$message.error("该工具不可使用");
         //   return
         // }
-        window.parent.postMessage({ tools: "71" }, "*");
+        window.topU.postMessage({ tools: "71" }, "*");
       } else if (t == 72) {
         let item = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].appJson
@@ -23567,7 +23567,7 @@ export default {
         } 
         this.$refs.appStoreC.getData(item.url,this.userid) 
 
-        // window.parent.postMessage({ tools: "72", data: item }, "*");
+        // window.topU.postMessage({ tools: "72", data: item }, "*");
         // window.open(item.url, "_blank");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
@@ -23632,7 +23632,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -23706,7 +23706,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -23994,7 +23994,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -24019,7 +24019,7 @@ export default {
         student: uname
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -26003,11 +26003,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 41 - 41
src/components/easy3/studyStudent jiu.vue

@@ -12539,7 +12539,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15179,7 +15179,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "NT" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "NT" }, "*");
     },
     nextToolindex(type) {
       if (type == "last") {
@@ -16870,7 +16870,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -16888,7 +16888,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -16897,7 +16897,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -16941,7 +16941,7 @@ export default {
 
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -16967,7 +16967,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -16977,7 +16977,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -16986,7 +16986,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17004,7 +17004,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17045,7 +17045,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17054,7 +17054,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17063,7 +17063,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17095,36 +17095,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17135,15 +17135,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 65) {
         if (this.tType == 2) {
           this.$message.error("不支持学生使用");
@@ -17158,7 +17158,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17235,7 +17235,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -17521,7 +17521,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -17540,7 +17540,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -18814,11 +18814,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 43 - 43
src/components/easy3/studyStudent.vue

@@ -13369,7 +13369,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -16681,7 +16681,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       if (this.IsFollow && this.tType == 2) {
@@ -18689,7 +18689,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -18707,7 +18707,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -18716,7 +18716,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -18765,7 +18765,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -18791,7 +18791,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -18801,7 +18801,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -18810,7 +18810,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -18828,7 +18828,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -18873,7 +18873,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -18882,7 +18882,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -18891,7 +18891,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -18923,36 +18923,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -18963,21 +18963,21 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 71) {
         // if(this.org == '16ace517-b5c7-4168-a9bb-a9e0035df840'){
         //   this.$message.error("该工具不可使用");
         //   return
         // }
-        window.parent.postMessage({ tools: "71" }, "*");
+        window.topU.postMessage({ tools: "71" }, "*");
       } else if (t == 72) {
         let item = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].appJson
@@ -18994,7 +18994,7 @@ export default {
         this.$refs.appStoreC.getData(item.url,this.userid) 
 
 
-        // window.parent.postMessage({ tools: "72", data: item }, "*");
+        // window.topU.postMessage({ tools: "72", data: item }, "*");
         // window.open(item.url, "_blank");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
@@ -19054,7 +19054,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -19131,7 +19131,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -19422,7 +19422,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -19447,7 +19447,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -21356,11 +21356,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 4 - 4
src/components/liveProjectDetail(湖心亭看雪).vue

@@ -940,7 +940,7 @@ export default {
       }
     },
     jump(cid) {
-      window.parent.postMessage({ cid: cid, type: "1" }, "*");
+      window.topU.postMessage({ cid: cid, type: "1" }, "*");
     },
     handleCurrentChange(val) {
       // console.log(`当前页: ${val}`);
@@ -986,11 +986,11 @@ export default {
     // },
     addTool(t) {
       if (t == 1) {
-        window.parent.postMessage({ tools: "1" }, "*");
+        window.topU.postMessage({ tools: "1" }, "*");
       } else if (t == 3) {
-        window.parent.postMessage({ tools: "3" }, "*");
+        window.topU.postMessage({ tools: "3" }, "*");
       } else if (t == 7) {
-        window.parent.postMessage({ tools: "7" }, "*");
+        window.topU.postMessage({ tools: "7" }, "*");
       }
     },
     answerQue() {

+ 6 - 6
src/components/liveProjectDetail.vue

@@ -1119,7 +1119,7 @@ export default {
       }
     },
     jump(cid) {
-      window.parent.postMessage({ cid: cid, type: "1" }, "*");
+      window.topU.postMessage({ cid: cid, type: "1" }, "*");
     },
     handleCurrentChange(val) {
       // console.log(`当前页: ${val}`);
@@ -1165,11 +1165,11 @@ export default {
     // },
     addTool(t) {
       if (t == 1) {
-        window.parent.postMessage({ tools: "1" }, "*");
+        window.topU.postMessage({ tools: "1" }, "*");
       } else if (t == 3) {
-        window.parent.postMessage({ tools: "3" }, "*");
+        window.topU.postMessage({ tools: "3" }, "*");
       } else if (t == 7) {
-        window.parent.postMessage({ tools: "7" }, "*");
+        window.topU.postMessage({ tools: "7" }, "*");
       }
     },
     answerQue() {
@@ -1925,7 +1925,7 @@ export default {
         {
           type: "getRealTimeClass",
           docid: this.cid,
-          pageid: window.parent.US.pageId,
+          pageid: window.topU.US.pageId,
           userid: this.userid,
           post: "1",
         },
@@ -1995,7 +1995,7 @@ export default {
               type: type, //类型
               content: content, //内容
               docId: id, //文档id
-              pageId: top.US.pageId, //当前页面id
+              pageId: window.topU.US.pageId, //当前页面id
             },
           },
         ],

+ 6 - 6
src/components/liveProjectDetailKH.vue

@@ -1119,7 +1119,7 @@ export default {
       }
     },
     jump(cid) {
-      window.parent.postMessage({ cid: cid, type: "1" }, "*");
+      window.topU.postMessage({ cid: cid, type: "1" }, "*");
     },
     handleCurrentChange(val) {
       // console.log(`当前页: ${val}`);
@@ -1165,11 +1165,11 @@ export default {
     // },
     addTool(t) {
       if (t == 1) {
-        window.parent.postMessage({ tools: "1" }, "*");
+        window.topU.postMessage({ tools: "1" }, "*");
       } else if (t == 3) {
-        window.parent.postMessage({ tools: "3" }, "*");
+        window.topU.postMessage({ tools: "3" }, "*");
       } else if (t == 7) {
-        window.parent.postMessage({ tools: "7" }, "*");
+        window.topU.postMessage({ tools: "7" }, "*");
       }
     },
     answerQue() {
@@ -1918,7 +1918,7 @@ export default {
         {
           type: "getRealTimeClass",
           docid: this.cid,
-          pageid: window.parent.US.pageId,
+          pageid: window.topU.US.pageId,
           userid: this.userid,
           post: "1",
         },
@@ -1988,7 +1988,7 @@ export default {
               type: type, //类型
               content: content, //内容
               docId: id, //文档id
-              pageId: top.US.pageId, //当前页面id
+              pageId: window.topU.US.pageId, //当前页面id
             },
           },
         ],

+ 36 - 36
src/components/noTerminal/studyStudent.vue

@@ -5455,7 +5455,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     previewImg(url) {
       this.$hevueImgPreview(url);
@@ -7945,7 +7945,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "NT" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "NT" }, "*");
     },
     nextToolindex(type) {
       if (type == 'last') {
@@ -9578,7 +9578,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -9596,7 +9596,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -9605,7 +9605,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -9649,7 +9649,7 @@ export default {
 
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -9675,7 +9675,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -9685,7 +9685,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -9694,7 +9694,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -9712,7 +9712,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -9748,7 +9748,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -9757,7 +9757,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -9766,7 +9766,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -9798,41 +9798,41 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 57) {
-        window.parent.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage({ tools: "57" }, "*");
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -9909,7 +9909,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -10172,7 +10172,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + 'teacher',
             cid: this.id,
@@ -10966,11 +10966,11 @@ export default {
   },
   mounted() {
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 1 - 1
src/components/scoreList/commpont/course.vue

@@ -154,7 +154,7 @@ export default {
             }, 500);
         },
         openCourse() {
-            top.postMessage({ cid: this.checkJson.answer2, screenType: "3" }, "*");
+            window.topU.postMessage({ cid: this.checkJson.answer2, screenType: "3" }, "*");
         },
         getCourse(id) {
             this.isloading = true

+ 29 - 29
src/components/student/studyStudent.vue

@@ -2204,7 +2204,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     previewImg(url) {
       this.$hevueImgPreview(url);
@@ -2502,7 +2502,7 @@ export default {
         });
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "s" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "s" }, "*");
     },
     refreshCourse() {
       this.navList = [];
@@ -3271,7 +3271,7 @@ export default {
       // this.taskCount = index;
       this.toolindex = i;
       if (t == 1) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1s",
             cid: this.id,
@@ -3289,9 +3289,9 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3s",
             cid: this.id,
@@ -3332,7 +3332,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -3358,7 +3358,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -3368,9 +3368,9 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6s",
             cid: this.id,
@@ -3388,7 +3388,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -3415,7 +3415,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -3424,7 +3424,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -3433,7 +3433,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -3460,29 +3460,29 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -3559,7 +3559,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       }
     },
     addCourseState(type) {
@@ -4124,11 +4124,11 @@ export default {
   },
   mounted() {
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 + "s" }, "*");
+      window.topU.postMessage({ allScreen: 4 + "s" }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     if (this.tType == 5) {
       this.psDialog = true;

+ 29 - 29
src/components/student/studyStudentJiu.vue

@@ -1305,7 +1305,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     previewImg(url) {
       this.$hevueImgPreview(url);
@@ -1601,7 +1601,7 @@ export default {
         });
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "s" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "s" }, "*");
     },
     refreshCourse(){
       this.navList = [];
@@ -2331,7 +2331,7 @@ export default {
       // this.taskCount = index;
       this.toolindex = i;
       if (t == 1) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1s",
             cid: this.id,
@@ -2349,9 +2349,9 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3s",
             cid: this.id,
@@ -2392,7 +2392,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -2418,7 +2418,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -2428,9 +2428,9 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6s",
             cid: this.id,
@@ -2448,7 +2448,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -2475,7 +2475,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -2484,7 +2484,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -2493,7 +2493,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -2520,29 +2520,29 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -2619,7 +2619,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       }
     },
     addCourseState(type) {
@@ -3130,11 +3130,11 @@ export default {
   },
   mounted() {
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 + "s" }, "*");
+      window.topU.postMessage({ allScreen: 4 + "s" }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     if (this.tType == 5) {
       this.psDialog = true;

+ 29 - 29
src/components/studio/studyStudent.vue

@@ -1291,7 +1291,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     previewImg(url) {
       this.$hevueImgPreview(url);
@@ -1587,7 +1587,7 @@ export default {
         });
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType+"studio" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType+"studio" }, "*");
     },
     refreshCourse(){
       this.navList = [];
@@ -2308,7 +2308,7 @@ export default {
       // this.taskCount = index;
       this.toolindex = i;
       if (t == 1) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1s",
             cid: this.id,
@@ -2326,9 +2326,9 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3s",
             cid: this.id,
@@ -2369,7 +2369,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -2395,7 +2395,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -2405,9 +2405,9 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6s",
             cid: this.id,
@@ -2425,7 +2425,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -2452,7 +2452,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -2461,7 +2461,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -2470,7 +2470,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -2497,29 +2497,29 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -2596,7 +2596,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       }
     },
     addCourseState(type) {
@@ -2932,11 +2932,11 @@ export default {
   },
   mounted() {
     // if (this.screenType == 2) {
-    //   window.parent.postMessage({ allScreen: 4 + "s" }, "*");
+    //   window.topU.postMessage({ allScreen: 4 + "s" }, "*");
     // } else if (this.screenType == 3) {
-    //   window.parent.postMessage({ allScreen: 5 }, "*");
+    //   window.topU.postMessage({ allScreen: 5 }, "*");
     // } else if (this.screenType == 1) {
-    //   window.parent.postMessage({ allScreen: 6 }, "*");
+    //   window.topU.postMessage({ allScreen: 6 }, "*");
     // }
     if (this.tType == 5) {
       this.psDialog = true;

+ 20 - 20
src/components/study.vue

@@ -4443,7 +4443,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       // this.showType = 0;
@@ -5258,7 +5258,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t, jdIndex);
         }
-        // window.parent.postMessage(
+        // window.topU.postMessage(
         //   {
         //     tools: "1",
         //     cid: this.id,
@@ -5276,7 +5276,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t, jdIndex);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t, jdIndex);
@@ -5285,7 +5285,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t, jdIndex, jdIndex);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -5326,7 +5326,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t, jdIndex);
@@ -5336,7 +5336,7 @@ export default {
           this.toolsCount(a, t, jdIndex);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t, jdIndex);
@@ -5345,7 +5345,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t, jdIndex);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -5363,7 +5363,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t, jdIndex);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -5390,7 +5390,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t, jdIndex);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t, jdIndex);
@@ -5399,7 +5399,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t, jdIndex);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t, jdIndex);
@@ -5408,7 +5408,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t, jdIndex);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t, jdIndex);
@@ -5435,15 +5435,15 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -5529,7 +5529,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       }
     },
     addSelectAnswer() {
@@ -5721,11 +5721,11 @@ export default {
   },
   created() {
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.selectEva();
     this.getCourseDetail();

+ 43 - 43
src/components/studyStudent.vue

@@ -13340,7 +13340,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -16657,7 +16657,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       if (this.IsFollow && this.tType == 2) {
@@ -18674,7 +18674,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -18692,7 +18692,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -18701,7 +18701,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -18750,7 +18750,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -18776,7 +18776,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -18786,7 +18786,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -18795,7 +18795,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -18813,7 +18813,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -18858,7 +18858,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -18867,7 +18867,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -18876,7 +18876,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -18908,36 +18908,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -18948,21 +18948,21 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 71) {
         // if(this.org == '16ace517-b5c7-4168-a9bb-a9e0035df840'){
         //   this.$message.error("该工具不可使用");
         //   return
         // }
-        window.parent.postMessage({ tools: "71" }, "*");
+        window.topU.postMessage({ tools: "71" }, "*");
       } else if (t == 72) {
         let item = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].appJson
@@ -18979,7 +18979,7 @@ export default {
         this.$refs.appStoreC.getData(item.url,this.userid) 
 
         // window.open(item.url, "_blank");
-        // window.parent.postMessage({ tools: "72", data: item }, "*");
+        // window.topU.postMessage({ tools: "72", data: item }, "*");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
           for (var k = 0; k < this.worksStudent[i].length; k++) {
@@ -19038,7 +19038,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -19115,7 +19115,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -19406,7 +19406,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -19431,7 +19431,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -21344,11 +21344,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 42 - 42
src/components/studyStudentJiu.vue

@@ -12636,7 +12636,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15835,7 +15835,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       if (this.IsFollow && this.tType == 2) {
@@ -17755,7 +17755,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -17773,7 +17773,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -17782,7 +17782,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -17831,7 +17831,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -17857,7 +17857,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -17867,7 +17867,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -17876,7 +17876,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17894,7 +17894,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17939,7 +17939,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17948,7 +17948,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17957,7 +17957,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17989,36 +17989,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -18029,17 +18029,17 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 71) {
-        window.parent.postMessage({ tools: "71" }, "*");
+        window.topU.postMessage({ tools: "71" }, "*");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
           for (var k = 0; k < this.worksStudent[i].length; k++) {
@@ -18098,7 +18098,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -18175,7 +18175,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -18465,7 +18465,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -18484,7 +18484,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -19953,11 +19953,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 1 - 1
src/components/studySutdentClass/commpont/markDialog.vue

@@ -1410,7 +1410,7 @@ export default {
         student: uname
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.cid,

+ 41 - 41
src/components/studySutdentClass/studyStudent jiu.vue

@@ -12539,7 +12539,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15179,7 +15179,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "NT" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "NT" }, "*");
     },
     nextToolindex(type) {
       if (type == "last") {
@@ -16870,7 +16870,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -16888,7 +16888,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -16897,7 +16897,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -16941,7 +16941,7 @@ export default {
 
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -16967,7 +16967,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -16977,7 +16977,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -16986,7 +16986,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17004,7 +17004,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17045,7 +17045,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17054,7 +17054,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17063,7 +17063,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17095,36 +17095,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17135,15 +17135,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 65) {
         if (this.tType == 2) {
           this.$message.error("不支持学生使用");
@@ -17158,7 +17158,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17235,7 +17235,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -17521,7 +17521,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -17540,7 +17540,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -18814,11 +18814,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 43 - 43
src/components/studySutdentClass/studyStudent.vue

@@ -17205,7 +17205,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -20579,7 +20579,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       if (this.IsFollow && this.tType == 2) {
@@ -22664,7 +22664,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -22682,7 +22682,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -22691,7 +22691,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -22740,7 +22740,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -22766,7 +22766,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -22776,7 +22776,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -22785,7 +22785,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -22803,7 +22803,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -22848,7 +22848,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -22857,7 +22857,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -22866,7 +22866,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -22898,36 +22898,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -22938,21 +22938,21 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 71) {
         // if(this.org == '16ace517-b5c7-4168-a9bb-a9e0035df840'){
         //   this.$message.error("该工具不可使用");
         //   return
         // }
-        window.parent.postMessage({ tools: "71" }, "*");
+        window.topU.postMessage({ tools: "71" }, "*");
       } else if (t == 72) {
         let item = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].appJson
@@ -22969,7 +22969,7 @@ export default {
         this.$refs.appStoreC.getData(item.url,this.userid) 
 
 
-        // window.parent.postMessage({ tools: "72", data: item }, "*");
+        // window.topU.postMessage({ tools: "72", data: item }, "*");
         // window.open(item.url, "_blank");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
@@ -23029,7 +23029,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -23106,7 +23106,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -23397,7 +23397,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -23422,7 +23422,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -25343,11 +25343,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 41 - 41
src/components/trainCourse/easy2/studyStudent.vue

@@ -12301,7 +12301,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15421,7 +15421,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       if (this.IsFollow && this.tType == 2) {
@@ -17319,7 +17319,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -17337,7 +17337,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -17346,7 +17346,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -17395,7 +17395,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -17421,7 +17421,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -17431,7 +17431,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -17440,7 +17440,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17458,7 +17458,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17503,7 +17503,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17512,7 +17512,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17521,7 +17521,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17553,36 +17553,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17593,15 +17593,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
           for (var k = 0; k < this.worksStudent[i].length; k++) {
@@ -17638,7 +17638,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17715,7 +17715,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -18003,7 +18003,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -18022,7 +18022,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -19466,11 +19466,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 41 - 41
src/components/trainCourse/easy3/studyStudent.vue

@@ -12290,7 +12290,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15411,7 +15411,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       if (this.IsFollow && this.tType == 2) {
@@ -17313,7 +17313,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -17331,7 +17331,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -17340,7 +17340,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -17389,7 +17389,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -17415,7 +17415,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -17425,7 +17425,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -17434,7 +17434,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17452,7 +17452,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17497,7 +17497,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17506,7 +17506,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17515,7 +17515,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17547,36 +17547,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17587,15 +17587,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
           for (var k = 0; k < this.worksStudent[i].length; k++) {
@@ -17632,7 +17632,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17709,7 +17709,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -17997,7 +17997,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -18016,7 +18016,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -19458,11 +19458,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 41 - 41
src/components/trainCourse/studyStudent.vue

@@ -12272,7 +12272,7 @@ export default {
       this.$forceUpdate();
     },
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15392,7 +15392,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType }, "*");
+      window.topU.postMessage({ allScreen: this.screenType }, "*");
     },
     nextOrpreSteps(t) {
       if (this.IsFollow && this.tType == 2) {
@@ -17295,7 +17295,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -17313,7 +17313,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -17322,7 +17322,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -17371,7 +17371,7 @@ export default {
         }
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -17397,7 +17397,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -17407,7 +17407,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -17416,7 +17416,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17434,7 +17434,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17479,7 +17479,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17488,7 +17488,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17497,7 +17497,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17529,36 +17529,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17569,15 +17569,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 69) {
         if (this.worksStudent[i].length) {
           for (var k = 0; k < this.worksStudent[i].length; k++) {
@@ -17614,7 +17614,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17691,7 +17691,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -17979,7 +17979,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -17998,7 +17998,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -19432,11 +19432,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 41 - 41
src/components/横板极简和任务模式/easy2/studyStudent.vue

@@ -12519,7 +12519,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15159,7 +15159,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "NT" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "NT" }, "*");
     },
     nextToolindex(type) {
       if (type == "last") {
@@ -16980,7 +16980,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -16998,7 +16998,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -17007,7 +17007,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -17051,7 +17051,7 @@ export default {
 
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -17077,7 +17077,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -17087,7 +17087,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -17096,7 +17096,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17114,7 +17114,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17155,7 +17155,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17164,7 +17164,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17173,7 +17173,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17205,36 +17205,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17245,15 +17245,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 65) {
         if (this.tType == 2) {
           this.$message.error("不支持学生使用");
@@ -17268,7 +17268,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17345,7 +17345,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -17631,7 +17631,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -17650,7 +17650,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -18924,11 +18924,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();

+ 41 - 41
src/components/横板极简和任务模式/easy3/studyStudent.vue

@@ -12539,7 +12539,7 @@ export default {
   },
   methods: {
     jump() {
-      window.parent.postMessage({ tools: "43" }, "*");
+      window.topU.postMessage({ tools: "43" }, "*");
     },
     getUpdateMore(f, checkboxList, searchTN, index) {
       this.dialogVisibleMember = f;
@@ -15179,7 +15179,7 @@ export default {
       }
     },
     allScrell() {
-      window.parent.postMessage({ allScreen: this.screenType + "NT" }, "*");
+      window.topU.postMessage({ allScreen: this.screenType + "NT" }, "*");
     },
     nextToolindex(type) {
       if (type == "last") {
@@ -16870,7 +16870,7 @@ export default {
           a = this.wbCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "1",
             cid: this.id,
@@ -16888,7 +16888,7 @@ export default {
           a = this.wordCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "2" }, "*");
+        window.topU.postMessage({ tools: "2" }, "*");
       } else if (t == 3) {
         if (this.mindCount > 0) {
           this.updateCount(this.mindCount, t);
@@ -16897,7 +16897,7 @@ export default {
           a = this.mindCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "3",
             cid: this.id,
@@ -16941,7 +16941,7 @@ export default {
 
         this.dialogVisible5 = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 45) {
         this.noteName = "";
         this.radio = [];
@@ -16967,7 +16967,7 @@ export default {
 
         this.dialogVisibleChoice = true;
 
-        // window.parent.postMessage({ tools: "4" }, "*");
+        // window.topU.postMessage({ tools: "4" }, "*");
       } else if (t == 5) {
         if (this.scoreCount > 0) {
           this.updateCount(this.scoreCount, t);
@@ -16977,7 +16977,7 @@ export default {
           this.toolsCount(a, t);
         }
         this.dialogVisible4 = true;
-        // window.parent.postMessage({ tools: "5" }, "*");
+        // window.topU.postMessage({ tools: "5" }, "*");
       } else if (t == 6) {
         if (this.noteCount > 0) {
           this.updateCount(this.noteCount, t);
@@ -16986,7 +16986,7 @@ export default {
           a = this.noteCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "6",
             cid: this.id,
@@ -17004,7 +17004,7 @@ export default {
           a = this.mindNetWorkCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "7",
             cid: this.id,
@@ -17045,7 +17045,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "8" }, "*");
+        window.topU.postMessage({ tools: "8" }, "*");
       } else if (t == 17) {
         if (this.libraryCount > 0) {
           this.updateCount(this.libraryCount, t);
@@ -17054,7 +17054,7 @@ export default {
           a = this.libraryCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "17" }, "*");
+        window.topU.postMessage({ tools: "17" }, "*");
       } else if (t == 18) {
         if (this.trainCount > 0) {
           this.updateCount(this.trainCount, t);
@@ -17063,7 +17063,7 @@ export default {
           a = this.trainCount;
           this.toolsCount(a, t);
         }
-        window.parent.postMessage({ tools: "18" }, "*");
+        window.topU.postMessage({ tools: "18" }, "*");
       } else if (t == 10) {
         if (this.timeCount > 0) {
           this.updateCount(this.timeCount, t);
@@ -17095,36 +17095,36 @@ export default {
           : "";
         this.answerDialogVisible = true;
       } else if (t == 21) {
-        window.parent.postMessage({ tools: "21" }, "*");
+        window.topU.postMessage({ tools: "21" }, "*");
       } else if (t == 22) {
-        window.parent.postMessage({ tools: "22" }, "*");
+        window.topU.postMessage({ tools: "22" }, "*");
       } else if (t == 23) {
-        window.parent.postMessage({ tools: "23" }, "*");
+        window.topU.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
-        window.parent.postMessage({ tools: "24" }, "*");
+        window.topU.postMessage({ tools: "24" }, "*");
       } else if (t == 25) {
-        window.parent.postMessage({ tools: "25" }, "*");
+        window.topU.postMessage({ tools: "25" }, "*");
       } else if (t == 31) {
-        window.parent.postMessage({ tools: "31" }, "*");
+        window.topU.postMessage({ tools: "31" }, "*");
       } else if (t == 28) {
-        window.parent.postMessage({ tools: "28" }, "*");
+        window.topU.postMessage({ tools: "28" }, "*");
       } else if (t == 37) {
-        window.parent.postMessage({ tools: "37" }, "*");
+        window.topU.postMessage({ tools: "37" }, "*");
       } else if (t == 38) {
-        window.parent.postMessage({ tools: "38" }, "*");
+        window.topU.postMessage({ tools: "38" }, "*");
       } else if (t == 39) {
-        window.parent.postMessage({ tools: "39" }, "*");
+        window.topU.postMessage({ tools: "39" }, "*");
       } else if (t == 32) {
-        window.parent.postMessage({ tools: "32" }, "*");
+        window.topU.postMessage({ tools: "32" }, "*");
       } else if (t == 66) {
-        window.parent.postMessage({ tools: "66" }, "*");
+        window.topU.postMessage({ tools: "66" }, "*");
       } else if (t == 67) {
-        window.parent.postMessage({ tools: "67" }, "*");
+        window.topU.postMessage({ tools: "67" }, "*");
       } else if (t == 68) {
-        window.parent.postMessage({ tools: "68" }, "*");
+        window.topU.postMessage({ tools: "68" }, "*");
       } else if (t == 57) {
-        // window.parent.postMessage({ tools: "57" }, "*");
-        window.parent.postMessage(
+        // window.topU.postMessage({ tools: "57" }, "*");
+        window.topU.postMessage(
           {
             tools: "57u",
             cid: this.id,
@@ -17135,15 +17135,15 @@ export default {
           "*"
         );
       } else if (t == 58) {
-        window.parent.postMessage({ tools: "58" }, "*");
+        window.topU.postMessage({ tools: "58" }, "*");
       } else if (t == 59) {
-        window.parent.postMessage({ tools: "59" }, "*");
+        window.topU.postMessage({ tools: "59" }, "*");
       } else if (t == 60) {
-        window.parent.postMessage({ tools: "60" }, "*");
+        window.topU.postMessage({ tools: "60" }, "*");
       } else if (t == 61) {
-        window.parent.postMessage({ tools: "61" }, "*");
+        window.topU.postMessage({ tools: "61" }, "*");
       } else if (t == 63) {
-        window.parent.postMessage({ tools: "63" }, "*");
+        window.topU.postMessage({ tools: "63" }, "*");
       } else if (t == 65) {
         if (this.tType == 2) {
           this.$message.error("不支持学生使用");
@@ -17158,7 +17158,7 @@ export default {
         }
         this.selectPickStudent();
       } else if (t == 26) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: "26",
             cid: this.id,
@@ -17235,7 +17235,7 @@ export default {
         this.isSelect = false;
         this.dialogVisibleSelect = true;
       } else if (t == 44) {
-        window.parent.postMessage({ tools: "44" }, "*");
+        window.topU.postMessage({ tools: "44" }, "*");
       } else if (t == 47) {
         this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
           .taskJson[index].toolChoose[i].sentenceList
@@ -17521,7 +17521,7 @@ export default {
         this.isStar = false;
         this.studentEvalDialogVisibleTeacher = true;
       } else if (t == 3 || t == 1 || t == 7 || t == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: t + "teacher",
             cid: this.id,
@@ -17540,7 +17540,7 @@ export default {
         student: uname,
       };
       if (tool == 57) {
-        window.parent.postMessage(
+        window.topU.postMessage(
           {
             tools: tool + "teacher",
             cid: this.id,
@@ -18814,11 +18814,11 @@ export default {
       }
     });
     if (this.screenType == 2) {
-      window.parent.postMessage({ allScreen: 4 }, "*");
+      window.topU.postMessage({ allScreen: 4 }, "*");
     } else if (this.screenType == 3) {
-      window.parent.postMessage({ allScreen: 5 }, "*");
+      window.topU.postMessage({ allScreen: 5 }, "*");
     } else if (this.screenType == 1) {
-      window.parent.postMessage({ allScreen: 6 }, "*");
+      window.topU.postMessage({ allScreen: 6 }, "*");
     }
     this.setOperationTime();
     this.selectEva();