zengyicheng 1 year ago
parent
commit
2a611c2cf7

+ 28 - 19
src/components/easy2/studyStudent.vue

@@ -1361,7 +1361,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1548,7 +1548,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div
                       class="worksDetailBox"
@@ -1622,7 +1622,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div
                       class="worksDetailBox"
@@ -1705,7 +1705,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1776,7 +1776,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1815,7 +1815,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1903,7 +1903,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1978,7 +1978,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2053,7 +2053,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2128,7 +2128,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2203,7 +2203,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -3132,7 +3132,7 @@
                         worksStudent[toolIndex].length > 0
                       "
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <div
                         class="corOpen"
                         @click="contract(toolIndex)"
@@ -5348,7 +5348,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5518,7 +5518,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5615,7 +5615,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5905,7 +5905,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -6132,7 +6132,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -6236,7 +6236,7 @@
                         worksStudent[toolIndex].length > 0
                       "
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div>
                       <div
@@ -18450,6 +18450,7 @@ export default {
   .addToolCss {
     right: 0 !important;
     width: 100% !important;
+    min-width: unset !important;
   }
 
   /* .textTitle >>> .el-form-item__label {
@@ -21740,6 +21741,7 @@ ol {
 .group_box {
   padding-bottom: 20px;
   border-bottom: 2px solid #f0f0f0;
+  margin-top: 10px;
 }
 
 .group_title {
@@ -22036,7 +22038,14 @@ ol {
   align-items: flex-end;
 }
 
-.worksTop::before{
+.worksTitle{
+  display: flex;
+  flex-direction: row;
+  flex-wrap: nowrap;
+  align-items: center;
+}
+
+.worksTitle::before,.worksTop::before{
   content: '';
   display: block;
   width: 3px;

+ 28 - 20
src/components/easy3/studyStudent.vue

@@ -1348,7 +1348,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1535,7 +1535,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div
                       class="worksDetailBox"
@@ -1609,7 +1609,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div
                       class="worksDetailBox"
@@ -1692,7 +1692,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1763,7 +1763,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1802,7 +1802,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1890,7 +1890,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1965,7 +1965,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2040,7 +2040,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2115,7 +2115,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2190,7 +2190,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -3119,7 +3119,7 @@
                         worksStudent[toolIndex].length > 0
                       "
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <div
                         class="corOpen"
                         @click="contract(toolIndex)"
@@ -5335,7 +5335,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5505,7 +5505,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5602,7 +5602,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5892,7 +5892,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -6119,7 +6119,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -6223,7 +6223,7 @@
                         worksStudent[toolIndex].length > 0
                       "
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div>
                       <div
@@ -18436,6 +18436,7 @@ export default {
   .addToolCss {
     right: 0 !important;
     width: 100% !important;
+    min-width: unset !important;
   }
 
   /* .textTitle >>> .el-form-item__label {
@@ -21726,6 +21727,7 @@ ol {
 .group_box {
   padding-bottom: 20px;
   border-bottom: 2px solid #f0f0f0;
+  margin-top: 10px;
 }
 
 .group_title {
@@ -22022,7 +22024,14 @@ ol {
   align-items: flex-end;
 }
 
-.worksTop::before{
+.worksTitle{
+  display: flex;
+  flex-direction: row;
+  flex-wrap: nowrap;
+  align-items: center;
+}
+
+.worksTitle::before,.worksTop::before{
   content: '';
   display: block;
   width: 3px;
@@ -22031,7 +22040,6 @@ ol {
   border-radius: 3px;
   margin: 0 5px 0 0;
 }
-
 .corOpen {
   margin: 0 0 0 10px;
   font-size: 14px;

+ 28 - 19
src/components/studyStudent.vue

@@ -1355,7 +1355,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1542,7 +1542,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div
                       class="worksDetailBox"
@@ -1616,7 +1616,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div
                       class="worksDetailBox"
@@ -1699,7 +1699,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1770,7 +1770,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1809,7 +1809,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1897,7 +1897,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -1972,7 +1972,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2047,7 +2047,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2122,7 +2122,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -2197,7 +2197,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -3126,7 +3126,7 @@
                         worksStudent[toolIndex].length > 0
                       "
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <div
                         class="corOpen"
                         @click="contract(toolIndex)"
@@ -5342,7 +5342,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5512,7 +5512,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5609,7 +5609,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -5899,7 +5899,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -6126,7 +6126,7 @@
                       class="zuoyeYulan"
                       v-if="workStudent[toolIndex].length > 0"
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                       <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
                     </div>
                     <div
@@ -6230,7 +6230,7 @@
                         worksStudent[toolIndex].length > 0
                       "
                     >
-                      <span>作业预览</span>
+                      <span class="worksTitle">作业预览</span>
                     </div>
                     <div>
                       <div
@@ -18416,6 +18416,7 @@ export default {
   .addToolCss {
     right: 0 !important;
     width: 100% !important;
+    min-width: unset !important;
   }
 
   /* .textTitle >>> .el-form-item__label {
@@ -21706,6 +21707,7 @@ ol {
 .group_box {
   padding-bottom: 20px;
   border-bottom: 2px solid #f0f0f0;
+  margin-top: 10px;
 }
 
 .group_title {
@@ -22002,7 +22004,14 @@ ol {
   align-items: flex-end;
 }
 
-.worksTop::before{
+.worksTitle{
+  display: flex;
+  flex-direction: row;
+  flex-wrap: nowrap;
+  align-items: center;
+}
+
+.worksTitle::before,.worksTop::before{
   content: '';
   display: block;
   width: 3px;