lsc 1 年之前
父节点
当前提交
456fe6240f

+ 1 - 1
dist/index.html

@@ -18,7 +18,7 @@
       border-radius: 10px;
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.290593b2236c218171d50189d93fe30c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.2ea62301d5bc18e5b15b.js></script><script type=text/javascript src=./static/js/app.a4b255fb20d9445519f6.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.6837b1ffd99146f77aa768f4625da2c2.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.2ea62301d5bc18e5b15b.js></script><script type=text/javascript src=./static/js/app.cf2a7b3b1686eaa5f0e2.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {
     document.documentElement.addEventListener("touchstart", function (event) {

文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.6837b1ffd99146f77aa768f4625da2c2.css


文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.6837b1ffd99146f77aa768f4625da2c2.css.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.cf2a7b3b1686eaa5f0e2.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.cf2a7b3b1686eaa5f0e2.js.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 1 - 1
src/components/checkEnglishVoice/index.vue

@@ -143,7 +143,7 @@ export default {
       this.checkType = 0;
       this.checkType = 0;
       this.work.length = a.array.length;
       this.work.length = a.array.length;
       this.wScore2 = JSON.parse(JSON.stringify(this.wScore));
       this.wScore2 = JSON.parse(JSON.stringify(this.wScore));
-      this.scoreDetail2 = JSON.parse(JSON.stringify(this.scoreDetail2));
+      this.scoreDetail2 = JSON.parse(JSON.stringify(this.scoreDetail));
       let works = JSON.parse(
       let works = JSON.parse(
         JSON.parse(JSON.stringify(this.commentDetail.works))
         JSON.parse(JSON.stringify(this.commentDetail.works))
       );
       );

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

@@ -2923,7 +2923,7 @@
                         :key="wIndex"
                         :key="wIndex"
                         :class="w.type == 1 ? 'isTypeOne' : ''"
                         :class="w.type == 1 ? 'isTypeOne' : ''"
                       >
                       >
-                        <div class="workImg" @click.stop="openScore(w)">
+                        <div class="workImg" @click.stop="openScore(w, toolIndex)">
                           <img :src="word" alt />
                           <img :src="word" alt />
                           <img
                           <img
                             class="deleteImg"
                             class="deleteImg"
@@ -2990,7 +2990,7 @@
                         v-for="(w, wIndex) in workStudent[toolIndex]"
                         v-for="(w, wIndex) in workStudent[toolIndex]"
                         :key="wIndex"
                         :key="wIndex"
                       >
                       >
-                        <div class="workImg" @click.stop="openScore(w)">
+                        <div class="workImg" @click.stop="openScore(w, toolIndex)">
                           <img :src="word" alt />
                           <img :src="word" alt />
                           <img
                           <img
                             class="deleteImg"
                             class="deleteImg"
@@ -13822,11 +13822,7 @@ export default {
         gid: gid,
         gid: gid,
       };
       };
       this.commentDetail = [];
       this.commentDetail = [];
-      if(w.type == 17){
-        this.dialogVisibleENScore = true;
-      }else{
-        this.dialogVisibleScore = true;
-      }
+      this.commentDialogVisible = true;
       this.commentDetail = w;
       this.commentDetail = w;
       if (w.works && w.type == 1) {
       if (w.works && w.type == 1) {
         this.pptImgUrl = "";
         this.pptImgUrl = "";
@@ -13867,23 +13863,18 @@ export default {
           this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
           this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
             this.taskCount
             this.taskCount
           ].toolChoose[toolIndex].wordJson;
           ].toolChoose[toolIndex].wordJson;
-      }else if(w.type == 17){
-        let englishVoiceJson = {}
-        englishVoiceJson = this.chapInfoList[this.courseType].chapterInfo[0]
-          .taskJson[this.taskCount].toolChoose[index].englishVoiceJson
-          ? this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount]
-              .toolChoose[index].englishVoiceJson
-          : {};
-        
-        this.englishVoiceJson = JSON.parse(JSON.stringify(englishVoiceJson));
       }
       }
     },
     },
-    openScore(w) {
+    openScore(w, index) {
       this.wScore = 0;
       this.wScore = 0;
       this.wScore = w.score ? JSON.parse(w.score).wScore : 0;
       this.wScore = w.score ? JSON.parse(w.score).wScore : 0;
       this.scoreDetail = w.score ? JSON.parse(w.score).detail : "";
       this.scoreDetail = w.score ? JSON.parse(w.score).detail : "";
       this.commentDetail = [];
       this.commentDetail = [];
-      this.dialogVisibleScore = true;
+      if(w.type == 17){
+        this.dialogVisibleENScore = true;
+      }else{
+        this.dialogVisibleScore = true;
+      }
       this.commentDetail = w;
       this.commentDetail = w;
 
 
       if (w.works && w.type == 1) {
       if (w.works && w.type == 1) {
@@ -13911,6 +13902,15 @@ export default {
         this.videoDetail = {};
         this.videoDetail = {};
         this.playerOptions1.sources[0].src = w.works;
         this.playerOptions1.sources[0].src = w.works;
         this.videoDetail = this.playerOptions1;
         this.videoDetail = this.playerOptions1;
+      }else if(w.type == 17){
+        let englishVoiceJson = {}
+        englishVoiceJson = this.chapInfoList[this.courseType].chapterInfo[0]
+          .taskJson[this.taskCount].toolChoose[index].englishVoiceJson
+          ? this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount]
+              .toolChoose[index].englishVoiceJson
+          : {};
+        
+        this.englishVoiceJson = JSON.parse(JSON.stringify(englishVoiceJson));
       }
       }
     },
     },
     addComment(wid, uid, t) {
     addComment(wid, uid, t) {

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

@@ -212,7 +212,7 @@
                       <div v-if="t.tool == 67">分子结构</div>
                       <div v-if="t.tool == 67">分子结构</div>
                       <div v-if="t.tool == 68">时间轴</div>
                       <div v-if="t.tool == 68">时间轴</div>
                       <div v-if="t.tool == 69">英语写作</div>
                       <div v-if="t.tool == 69">英语写作</div>
-                      <div v-if="t.tool == 69">英语口语</div>
+                      <div v-if="t.tool == 70">英语口语</div>
                       <div v-if="t.tool == 25">目标管理</div>
                       <div v-if="t.tool == 25">目标管理</div>
                       <div v-if="t.tool == 26">课程设计</div>
                       <div v-if="t.tool == 26">课程设计</div>
                       <div v-if="t.tool == 62">交互视频</div>
                       <div v-if="t.tool == 62">交互视频</div>
@@ -2910,7 +2910,7 @@
                         :key="wIndex"
                         :key="wIndex"
                         :class="w.type == 1 ? 'isTypeOne' : ''"
                         :class="w.type == 1 ? 'isTypeOne' : ''"
                       >
                       >
-                        <div class="workImg" @click.stop="openScore(w)">
+                        <div class="workImg" @click.stop="openScore(w, toolIndex)">
                           <img :src="word" alt />
                           <img :src="word" alt />
                           <img
                           <img
                             class="deleteImg"
                             class="deleteImg"
@@ -2977,7 +2977,7 @@
                         v-for="(w, wIndex) in workStudent[toolIndex]"
                         v-for="(w, wIndex) in workStudent[toolIndex]"
                         :key="wIndex"
                         :key="wIndex"
                       >
                       >
-                        <div class="workImg" @click.stop="openScore(w)">
+                        <div class="workImg" @click.stop="openScore(w, toolIndex)">
                           <img :src="word" alt />
                           <img :src="word" alt />
                           <img
                           <img
                             class="deleteImg"
                             class="deleteImg"
@@ -13812,11 +13812,7 @@ export default {
         gid: gid,
         gid: gid,
       };
       };
       this.commentDetail = [];
       this.commentDetail = [];
-      if(w.type == 17){
-        this.dialogVisibleENScore = true;
-      }else{
-        this.dialogVisibleScore = true;
-      }
+      this.commentDialogVisible = true;
       this.commentDetail = w;
       this.commentDetail = w;
       if (w.works && w.type == 1) {
       if (w.works && w.type == 1) {
         this.pptImgUrl = "";
         this.pptImgUrl = "";
@@ -13857,23 +13853,18 @@ export default {
           this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
           this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
             this.taskCount
             this.taskCount
           ].toolChoose[toolIndex].wordJson;
           ].toolChoose[toolIndex].wordJson;
-      }else if(w.type == 17){
-        let englishVoiceJson = {}
-        englishVoiceJson = this.chapInfoList[this.courseType].chapterInfo[0]
-          .taskJson[this.taskCount].toolChoose[index].englishVoiceJson
-          ? this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount]
-              .toolChoose[index].englishVoiceJson
-          : {};
-        
-        this.englishVoiceJson = JSON.parse(JSON.stringify(englishVoiceJson));
       }
       }
     },
     },
-    openScore(w) {
+    openScore(w, index) {
       this.wScore = 0;
       this.wScore = 0;
       this.wScore = w.score ? JSON.parse(w.score).wScore : 0;
       this.wScore = w.score ? JSON.parse(w.score).wScore : 0;
       this.scoreDetail = w.score ? JSON.parse(w.score).detail : "";
       this.scoreDetail = w.score ? JSON.parse(w.score).detail : "";
       this.commentDetail = [];
       this.commentDetail = [];
-      this.dialogVisibleScore = true;
+      if(w.type == 17){
+        this.dialogVisibleENScore = true;
+      }else{
+        this.dialogVisibleScore = true;
+      }
       this.commentDetail = w;
       this.commentDetail = w;
 
 
       if (w.works && w.type == 1) {
       if (w.works && w.type == 1) {
@@ -13901,6 +13892,15 @@ export default {
         this.videoDetail = {};
         this.videoDetail = {};
         this.playerOptions1.sources[0].src = w.works;
         this.playerOptions1.sources[0].src = w.works;
         this.videoDetail = this.playerOptions1;
         this.videoDetail = this.playerOptions1;
+      }else if(w.type == 17){
+        let englishVoiceJson = {}
+        englishVoiceJson = this.chapInfoList[this.courseType].chapterInfo[0]
+          .taskJson[this.taskCount].toolChoose[index].englishVoiceJson
+          ? this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount]
+              .toolChoose[index].englishVoiceJson
+          : {};
+        
+        this.englishVoiceJson = JSON.parse(JSON.stringify(englishVoiceJson));
       }
       }
     },
     },
     addComment(wid, uid, t) {
     addComment(wid, uid, t) {

部分文件因为文件数量过多而无法显示