lsc 1 year ago
parent
commit
c7146c8808

+ 1 - 1
dist/index.html

@@ -18,7 +18,7 @@
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.195ff3702ee6f8193e42f0db94863605.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.99a913bcc02dad4e392a.js></script><script type=text/javascript src=./static/js/app.8ff301ceaa037893f910.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.569821b03e3e9854a2def2839905e90a.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.99a913bcc02dad4e392a.js></script><script type=text/javascript src=./static/js/app.6406b3c1f6177933a563.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.195ff3702ee6f8193e42f0db94863605.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.569821b03e3e9854a2def2839905e90a.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.569821b03e3e9854a2def2839905e90a.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.6406b3c1f6177933a563.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.6406b3c1f6177933a563.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.8ff301ceaa037893f910.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


BIN
src/assets/icon/newIcon/icon-slide.png


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

@@ -7404,7 +7404,7 @@
                 "
               >
                 <!-- <div class="question" style="width: 30px">
-                  <img src="../../assets/icon/toolIcon.png" alt />
+                  <img src="../assets/icon/toolIcon.png" alt />
                 </div>
                 <div class="queTitle">
                   <div>工具</div>
@@ -7412,7 +7412,7 @@
                 评一评
               </div>
               <div class="evaCss" :class="{ evaCssMax: Stbodywidth < 974 }">
-                <div class="elist_input">
+                <div class="elist_input" :style="{width:evalua ? chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'45%':'calc(100% - 180px)' : '100%'}">
                   <el-table
                     :data="
                       chapInfoList[courseType].chapterInfo[0].taskJson[
@@ -7427,7 +7427,6 @@
                   >
                     <el-table-column
                       label="评价名称"
-                      width="180"
                       align="center"
                     >
                       <template slot-scope="scope"
@@ -7436,7 +7435,6 @@
                     </el-table-column>
                     <el-table-column
                       label="评价描述"
-                      width="180"
                       align="center"
                     >
                       <template slot-scope="scope"
@@ -7510,12 +7508,14 @@
                     margin-top: 20px;
                     box-shadow: 3px 1px 15px 3px #e0e0e0;
                   "
+                  :style="{width:chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'100%':'116px'}" 
                 >
                   <div class="e_add_top">
-                    <div class="e_add_title">
+                    <div class="e_add_title" style="width: 100%">
                       <!-- <span>目标管理名称</span> -->
-                      <span>{{ eTitle }}</span>
+                      <span  v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2">{{ eTitle }}</span>
                       <img
+                        v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2"
                         src="../../assets/line.png"
                         class="cru_line"
                         style="
@@ -7530,9 +7530,11 @@
                         placeholder="请输入名称"
                         @change="setMindData"
                       ></el-input>-->
+                      <div v-show="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" class="show_taskD show" style="margin:0 0 0 auto" @click="foldEva()"><img src="../../assets/icon/newIcon/icon-slide.png" />收起目标</div>
+                      <div v-show="!chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" style="margin:0 0 0 auto" class="show_taskD" @click="foldEva()"><img src="../../assets/icon/newIcon/icon-slide.png" />展开目标</div>
                     </div>
                   </div>
-                  <div class="e_add_content">
+                  <div class="e_add_content"  v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" >
                     <div class="e_add_list_pbox">
                       <div class="e_add_list_pbox_title">
                         <!-- <span class="type_title">切换模式</span> -->
@@ -7547,14 +7549,14 @@
                             @click="typeMode = 2"
                             >目标罗盘</span
                           >
-                          <span
+                          <!-- <span
                             :class="{ active: typeMode == 3 }"
                             @click="typeMode = 3"
                             >目标看板</span
-                          >
+                          > -->
                         </div>
                       </div>
-                      <div class="e_add_list_pbox_content">
+                      <div class="e_add_list_pbox_content" style="min-height: 200px;">
                         <Mind
                           :showBar="false"
                           :mindData="data"
@@ -19088,6 +19090,21 @@ export default {
           console.error(err);
         });
     },
+    foldEva() {
+      if (this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2) {
+        this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = false;
+      } else {
+        this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = true;
+        setTimeout(() => {
+          this.checkEva();
+          setTimeout(() => {
+            this.checkEva();
+          }, 500);
+        }, 0);
+
+      }
+      this.$forceUpdate();
+    },
   },
   directives: {
     // 使用局部注册指令的方式
@@ -21169,7 +21186,7 @@ export default {
 .e_add_top {
   display: flex;
   justify-content: space-between;
-  padding: 20px 20px 0 20px;
+  padding: 10px 20px;
   border-radius: 3px;
   background: #fff;
 }
@@ -23546,4 +23563,25 @@ ol {
   font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
   color: #838383;
 }
+
+.show_taskD {
+  min-width: fit-content;
+  margin-left: 10px;
+  display: flex;
+  align-items: center;
+  font-size: 14px;
+  cursor: pointer;
+  color: #717c8d;
+}
+
+.show_taskD > img {
+  width: 15px;
+  margin-right: 5px;
+  transition: 0.2s all;
+  transform: rotate(-90deg);
+}
+
+.show_taskD.show > img {
+  transform: rotate(0deg);
+}
 </style>

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

@@ -7391,7 +7391,7 @@
                 "
               >
                 <!-- <div class="question" style="width: 30px">
-                  <img src="../../assets/icon/toolIcon.png" alt />
+                  <img src="../assets/icon/toolIcon.png" alt />
                 </div>
                 <div class="queTitle">
                   <div>工具</div>
@@ -7399,7 +7399,7 @@
                 评一评
               </div>
               <div class="evaCss" :class="{ evaCssMax: Stbodywidth < 974 }">
-                <div class="elist_input">
+                <div class="elist_input" :style="{width:evalua ? chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'45%':'calc(100% - 180px)' : '100%'}">
                   <el-table
                     :data="
                       chapInfoList[courseType].chapterInfo[0].taskJson[
@@ -7414,7 +7414,6 @@
                   >
                     <el-table-column
                       label="评价名称"
-                      width="180"
                       align="center"
                     >
                       <template slot-scope="scope"
@@ -7423,7 +7422,6 @@
                     </el-table-column>
                     <el-table-column
                       label="评价描述"
-                      width="180"
                       align="center"
                     >
                       <template slot-scope="scope"
@@ -7497,12 +7495,14 @@
                     margin-top: 20px;
                     box-shadow: 3px 1px 15px 3px #e0e0e0;
                   "
+                  :style="{width:chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'100%':'116px'}" 
                 >
                   <div class="e_add_top">
-                    <div class="e_add_title">
+                    <div class="e_add_title" style="width: 100%">
                       <!-- <span>目标管理名称</span> -->
-                      <span>{{ eTitle }}</span>
+                      <span  v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2">{{ eTitle }}</span>
                       <img
+                        v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2"
                         src="../../assets/line.png"
                         class="cru_line"
                         style="
@@ -7517,9 +7517,11 @@
                         placeholder="请输入名称"
                         @change="setMindData"
                       ></el-input>-->
+                      <div v-show="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" class="show_taskD show" style="margin:0 0 0 auto" @click="foldEva()"><img src="../../assets/icon/newIcon/icon-slide.png" />收起目标</div>
+                      <div v-show="!chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" style="margin:0 0 0 auto" class="show_taskD" @click="foldEva()"><img src="../../assets/icon/newIcon/icon-slide.png" />展开目标</div>
                     </div>
                   </div>
-                  <div class="e_add_content">
+                  <div class="e_add_content"  v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" >
                     <div class="e_add_list_pbox">
                       <div class="e_add_list_pbox_title">
                         <!-- <span class="type_title">切换模式</span> -->
@@ -7534,14 +7536,14 @@
                             @click="typeMode = 2"
                             >目标罗盘</span
                           >
-                          <span
+                          <!-- <span
                             :class="{ active: typeMode == 3 }"
                             @click="typeMode = 3"
                             >目标看板</span
-                          >
+                          > -->
                         </div>
                       </div>
-                      <div class="e_add_list_pbox_content">
+                      <div class="e_add_list_pbox_content" style="min-height: 200px;">
                         <Mind
                           :showBar="false"
                           :mindData="data"
@@ -19079,6 +19081,21 @@ export default {
           console.error(err);
         });
     },
+    foldEva() {
+      if (this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2) {
+        this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = false;
+      } else {
+        this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = true;
+        setTimeout(() => {
+          this.checkEva();
+          setTimeout(() => {
+            this.checkEva();
+          }, 500);
+        }, 0);
+
+      }
+      this.$forceUpdate();
+    },
   },
   directives: {
     // 使用局部注册指令的方式
@@ -21160,7 +21177,7 @@ export default {
 .e_add_top {
   display: flex;
   justify-content: space-between;
-  padding: 20px 20px 0 20px;
+  padding: 10px 20px;
   border-radius: 3px;
   background: #fff;
 }
@@ -23537,4 +23554,25 @@ ol {
   font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
   color: #838383;
 }
+
+.show_taskD {
+  min-width: fit-content;
+  margin-left: 10px;
+  display: flex;
+  align-items: center;
+  font-size: 14px;
+  cursor: pointer;
+  color: #717c8d;
+}
+
+.show_taskD > img {
+  width: 15px;
+  margin-right: 5px;
+  transition: 0.2s all;
+  transform: rotate(-90deg);
+}
+
+.show_taskD.show > img {
+  transform: rotate(0deg);
+}
 </style>

+ 48 - 8
src/components/studyStudent.vue

@@ -7408,7 +7408,7 @@
                 评一评
               </div>
               <div class="evaCss" :class="{ evaCssMax: Stbodywidth < 974 }">
-                <div class="elist_input">
+                <div class="elist_input" :style="{width:evalua ? chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'45%':'calc(100% - 180px)' : '100%'}">
                   <el-table
                     :data="
                       chapInfoList[courseType].chapterInfo[0].taskJson[
@@ -7423,7 +7423,6 @@
                   >
                     <el-table-column
                       label="评价名称"
-                      width="180"
                       align="center"
                     >
                       <template slot-scope="scope"
@@ -7432,7 +7431,6 @@
                     </el-table-column>
                     <el-table-column
                       label="评价描述"
-                      width="180"
                       align="center"
                     >
                       <template slot-scope="scope"
@@ -7506,12 +7504,14 @@
                     margin-top: 20px;
                     box-shadow: 3px 1px 15px 3px #e0e0e0;
                   "
+                  :style="{width:chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'100%':'116px'}" 
                 >
                   <div class="e_add_top">
-                    <div class="e_add_title">
+                    <div class="e_add_title" style="width: 100%">
                       <!-- <span>目标管理名称</span> -->
-                      <span>{{ eTitle }}</span>
+                      <span  v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2">{{ eTitle }}</span>
                       <img
+                        v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2"
                         src="../assets/line.png"
                         class="cru_line"
                         style="
@@ -7526,9 +7526,11 @@
                         placeholder="请输入名称"
                         @change="setMindData"
                       ></el-input>-->
+                      <div v-show="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" class="show_taskD show" style="margin:0 0 0 auto" @click="foldEva()"><img src="../assets/icon/newIcon/icon-slide.png" />收起目标</div>
+                      <div v-show="!chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" style="margin:0 0 0 auto" class="show_taskD" @click="foldEva()"><img src="../assets/icon/newIcon/icon-slide.png" />展开目标</div>
                     </div>
                   </div>
-                  <div class="e_add_content">
+                  <div class="e_add_content"  v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" >
                     <div class="e_add_list_pbox">
                       <div class="e_add_list_pbox_title">
                         <!-- <span class="type_title">切换模式</span> -->
@@ -7550,7 +7552,7 @@
                           > -->
                         </div>
                       </div>
-                      <div class="e_add_list_pbox_content">
+                      <div class="e_add_list_pbox_content" style="min-height: 200px;">
                         <Mind
                           :showBar="false"
                           :mindData="data"
@@ -19055,6 +19057,21 @@ export default {
           console.error(err);
         });
     },
+    foldEva() {
+      if (this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2) {
+        this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = false;
+      } else {
+        this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = true;
+        setTimeout(() => {
+          this.checkEva();
+          setTimeout(() => {
+            this.checkEva();
+          }, 500);
+        }, 0);
+
+      }
+      this.$forceUpdate();
+    },
   },
   directives: {
     // 使用局部注册指令的方式
@@ -21133,7 +21150,7 @@ export default {
 .e_add_top {
   display: flex;
   justify-content: space-between;
-  padding: 20px 20px 0 20px;
+  padding: 10px 20px;
   border-radius: 3px;
   background: #fff;
 }
@@ -21154,6 +21171,7 @@ export default {
   font-size: 18px;
   position: relative;
   height: 40px;
+  width: 100%;
 }
 
 .e_add_title span {
@@ -23534,4 +23552,26 @@ ol {
   font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
   color: #838383;
 }
+
+.show_taskD {
+  min-width: fit-content;
+  margin-left: 10px;
+  display: flex;
+  align-items: center;
+  font-size: 14px;
+  cursor: pointer;
+  color: #717c8d;
+}
+
+.show_taskD > img {
+  width: 15px;
+  margin-right: 5px;
+  transition: 0.2s all;
+  transform: rotate(-90deg);
+}
+
+.show_taskD.show > img {
+  transform: rotate(0deg);
+}
+
 </style>

Some files were not shown because too many files changed in this diff