zengyicheng преди 1 година
родител
ревизия
a0b04e22c6

+ 19 - 2
src/components/components/askStatic.vue

@@ -10,8 +10,24 @@
         :key="index"
       >
         <div class="a_add_head">
-          <div>
-            <span>{{ index + 1 + "、" + item.askstitle }}</span>
+          <div style="width: calc(100% - 120px)">
+            <el-tooltip
+              effect="light"
+              :content="item.askstitle"
+              placement="top"
+            >
+              <span
+                style="
+                  width: auto;
+                  display: block;
+                  white-space: nowrap;
+                  overflow: hidden;
+                  text-overflow: ellipsis;
+                  word-break: break-word;
+                "
+                >{{ index + 1 + "、" + item.askstitle }}</span
+              >
+            </el-tooltip>
           </div>
           <el-button
             type="primary"
@@ -192,6 +208,7 @@ export default {
   justify-content: space-between;
   margin: 10px 0;
   font-size: 18px;
+  width: 100%;
 }
 
 .a_add_head .a_add_head_input {

+ 28 - 3
src/components/components/askStatic2.vue

@@ -10,8 +10,24 @@
         :key="index"
       >
         <div class="a_add_head">
-          <div>
-            <span>{{ index + 1 + "、" + item.teststitle }}</span>
+          <div style="width: calc(100% - 120px)">
+            <el-tooltip
+              effect="light"
+              :content="item.teststitle"
+              placement="top"
+            >
+              <span
+                style="
+                  width: auto;
+                  display: block;
+                  white-space: nowrap;
+                  overflow: hidden;
+                  text-overflow: ellipsis;
+                  word-break: break-word;
+                "
+                >{{ index + 1 + "、" + item.teststitle }}</span
+              >
+            </el-tooltip>
             <div
               class="timuImgBox"
               v-if="
@@ -71,7 +87,15 @@
                   </div>
                   <span
                     v-else
-                    style="max-width: calc(100% - 40px); width: auto"
+                    style="
+                      max-width: calc(100% - 40px);
+                      white-space: nowrap;
+                      overflow: hidden;
+                      text-overflow: ellipsis;
+                      word-break: break-word;
+                      width: auto;
+                      display: block;
+                    "
                     v-html="item.checkList[checkIndex]"
                   ></span>
                 </span>
@@ -223,6 +247,7 @@ export default {
   justify-content: space-between;
   margin: 10px 0;
   font-size: 18px;
+  width: 100%;
 }
 
 .a_add_head .a_add_head_input {

+ 3 - 5
src/components/easy2/studyStudent.vue

@@ -649,10 +649,7 @@
               (chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
                 .toolChoose[0].tool &&
                 chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
-                  .toolChoose[0].tool.length > 0) ||
-              courseDetail.userid == userid ||
-              (courseDetail.course_teacher &&
-                courseDetail.course_teacher.indexOf(userid) != -1)
+                  .toolChoose[0].tool.length > 0)
             "
           >
             
@@ -666,7 +663,7 @@
                 chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
                   .toolChoose[0].tool.length > 0
               "
-              style="padding: 0 37px"
+              style="padding: 0 37px;border-radius: 20px 20px 0 0;"
             >
               <div
                 class="queTop"
@@ -5468,6 +5465,7 @@
             </div>
             <div
               class="vedioBox"
+              style="border-radius: 0 0 20px 20px;"
               v-if="
                 arrayToArray(tool.tool, isWorkTool).length &&
                 (noWorksS[toolIndex].length || worksStudent[toolIndex].length)

+ 1 - 4
src/components/easy3/studyStudent.vue

@@ -605,10 +605,7 @@
                 chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
                   .toolChoose[0].tool.length > 0) ||
               chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
-                .taskDetail != '' ||
-              courseDetail.userid == userid ||
-              (courseDetail.course_teacher &&
-                courseDetail.course_teacher.indexOf(userid) != -1)
+                .taskDetail != ''
             "
           >
             <div

+ 2 - 5
src/components/studyStudent.vue

@@ -671,10 +671,7 @@
                 (chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
                   .toolChoose[0].tool &&
                   chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
-                    .toolChoose[0].tool.length > 0) ||
-                courseDetail.userid == userid ||
-                (courseDetail.course_teacher &&
-                  courseDetail.course_teacher.indexOf(userid) != -1)
+                    .toolChoose[0].tool.length > 0)
               "
             >
               <div
@@ -20996,7 +20993,7 @@ ol {
   height: 20px;
   position: absolute;
   right: 0;
-  top: 17px;
+  top: 7px;
 }
 .lockTaskIcon > img {
   width: 100%;