zengyicheng преди 1 година
родител
ревизия
69690fc548
променени са 3 файла, в които са добавени 31 реда и са изтрити 35 реда
  1. 11 11
      src/components/easy2/studyStudent.vue
  2. 10 11
      src/components/easy3/studyStudent.vue
  3. 10 13
      src/components/studyStudent.vue

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

@@ -14781,13 +14781,13 @@ export default {
       this.$forceUpdate();
     },
     jumpGj(i, j, k) {
-      for (var z = 0; z < this.navList.length; z++) {
-        for (var q = 0; q < this.navList[z].task.length; q++) {
-          for (var w = 0; w < this.navList[z].task[q].tool.length; w++) {
-            this.navList[z].task[q].tool[w].isTool = false;
-          }
-        }
-      }
+      // for (var z = 0; z < this.navList.length; z++) {
+      //   for (var q = 0; q < this.navList[z].task.length; q++) {
+      //     for (var w = 0; w < this.navList[z].task[q].tool.length; w++) {
+      //       this.navList[z].task[q].tool[w].isTool = false;
+      //     }
+      //   }
+      // }
       this.navList[i].task[j].tool[k].isTool =
         !this.navList[i].task[j].tool[k].isTool;
       // var a = document.getElementsByClassName("study_top")[0];
@@ -22167,9 +22167,6 @@ ol {
   padding: 15px 0;
   box-sizing: border-box;
   font-size: 14px;
-}
-
-.gjCss > div:last-child {
   cursor: pointer;
 }
 
@@ -22222,7 +22219,6 @@ ol {
 .navItemList > div {
   font-size: 16px;
   font-weight: 400;
-  color: #0e1e33;
 }
 
 .navItemList > div:first-child {
@@ -22247,6 +22243,10 @@ ol {
   color: #fff;
 } */
 
+.isItemList{
+  color: #0061ff !important;
+}
+
 .navListItem {
   width: 280px;
   height: 50px;

+ 10 - 11
src/components/easy3/studyStudent.vue

@@ -14770,13 +14770,13 @@ export default {
       this.$forceUpdate();
     },
     jumpGj(i, j, k) {
-      for (var z = 0; z < this.navList.length; z++) {
-        for (var q = 0; q < this.navList[z].task.length; q++) {
-          for (var w = 0; w < this.navList[z].task[q].tool.length; w++) {
-            this.navList[z].task[q].tool[w].isTool = false;
-          }
-        }
-      }
+      // for (var z = 0; z < this.navList.length; z++) {
+      //   for (var q = 0; q < this.navList[z].task.length; q++) {
+      //     for (var w = 0; w < this.navList[z].task[q].tool.length; w++) {
+      //       this.navList[z].task[q].tool[w].isTool = false;
+      //     }
+      //   }
+      // }
       this.navList[i].task[j].tool[k].isTool =
         !this.navList[i].task[j].tool[k].isTool;
       // var a = document.getElementsByClassName("study_top")[0];
@@ -22016,9 +22016,6 @@ ol {
   padding: 15px 0;
   box-sizing: border-box;
   font-size: 14px;
-}
-
-.gjCss > div:last-child {
   cursor: pointer;
 }
 
@@ -22069,7 +22066,6 @@ ol {
 .navItemList > div {
   font-size: 16px;
   font-weight: 400;
-  color: #0e1e33;
 }
 .navItemList > div:first-child {
   min-width: 60px;
@@ -22090,6 +22086,9 @@ ol {
   color: #fff;
 } */
 
+.isItemList{
+  color: #0061ff !important;
+}
 .navListItem {
   width: 280px;
   height: 50px;

+ 10 - 13
src/components/studyStudent.vue

@@ -54,7 +54,7 @@
               </div>
             </el-tooltip>
           </div>
-          <div class="inviteBox" v-if="tcid && inviteCode">
+          <div class="inviteBox" v-if="tcid && inviteCode" style="padding: 0 0 15px 0">
             <div>
               <span>随机码:{{ inviteCode }}</span>
             </div>
@@ -10870,15 +10870,15 @@ export default {
       }, 500);
     },
     jumpGj(i, j, k) {
-      for (var z = 0; z < this.navList.length; z++) {
-        for (var q = 0; q < this.navList[z].task.length; q++) {
-          for (var w = 0; w < this.navList[z].task[q].tool.length; w++) {
-            this.navList[z].task[q].tool[w].isTool = false;
-          }
-        }
-      }
-      this.navList[i].task[j].tool[k].isTool =
-        !this.navList[i].task[j].tool[k].isTool;
+      // for (var z = 0; z < this.navList.length; z++) {
+      //   for (var q = 0; q < this.navList[z].task.length; q++) {
+      //     for (var w = 0; w < this.navList[z].task[q].tool.length; w++) {
+      //       this.navList[z].task[q].tool[w].isTool = false;
+      //     }
+      //   }
+      // }
+        this.navList[i].task[j].tool[k].isTool = !this.navList[i].task[j].tool[k].isTool;
+      
       var a = document.getElementsByClassName("study_top")[0];
       var b = this.$refs["bz" + k][0];
       a.scrollTop = b.offsetTop;
@@ -21182,9 +21182,6 @@ ol {
   padding: 15px 0;
   box-sizing: border-box;
   font-size: 14px;
-}
-
-.gjCss > div:last-child {
   cursor: pointer;
 }