Browse Source

修改样式问题

zengyicheng 2 years ago
parent
commit
cdf2194e30
2 changed files with 6 additions and 13 deletions
  1. 3 7
      src/components/student/studyStudent.vue
  2. 3 6
      src/components/studyStudent.vue

+ 3 - 7
src/components/student/studyStudent.vue

@@ -136,7 +136,7 @@
               <div class="check" style="font-size: 25px" :id="
                 chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].id
               ">
-                课程基本信息
+                任务名称
               </div>
             </div>
             <div class="student_head">
@@ -230,8 +230,6 @@
                       <el-form-item class="textTitle">
                         <div style="
                               font-size: 22px;
-                              max-height: 100px;
-                              overflow: auto;
                             ">
                           {{ chapterlist[chapterIndex].name }}
                         </div>
@@ -301,7 +299,7 @@
                     padding: 15px 0 15px 30px;
                     font-weight: bold;
                   ">
-                课程方案
+                实施方案
               </div>
               <div class="toolHeng2" style="position: relative">
                 <div class="filebox" style="flex-wrap: nowrap; margin: 0 20px" v-for="(tool, toolIndex) in chapInfoList[courseType]
@@ -538,8 +536,6 @@
                             <el-form-item class="textTitle">
                               <div style="
                               font-size: 22px;
-                              max-height: 100px;
-                              overflow: auto;
                             ">
                                 {{ tool.toolData[tool.sourceIndex].name }}
                               </div>
@@ -719,7 +715,7 @@
           </div>
           <el-form class="textBox" style="height: 90%">
             <el-form-item class="textTitle">
-              <div style="font-size: 22px; max-height: 100px; overflow: auto">
+              <div style="font-size: 22px;">
                 {{ fullUrl.name }}
               </div>
             </el-form-item>

+ 3 - 6
src/components/studyStudent.vue

@@ -279,8 +279,6 @@
                         <div
                           style="
                             font-size: 22px;
-                            max-height: 100px;
-                            overflow: auto;
                           "
                         >
                           {{ text.name }}
@@ -5880,7 +5878,7 @@
           </div>
           <el-form class="textBox" style="height: 90%">
             <el-form-item class="textTitle">
-              <div style="font-size: 22px; max-height: 100px; overflow: auto">
+              <div style="font-size: 22px;">
                 {{ fullUrl.name }}
               </div>
             </el-form-item>
@@ -13528,15 +13526,14 @@ export default {
   flex-direction: column;
   align-items: center;
   margin: 20px auto 0;
+  max-height: 500px;
+  overflow: auto;
 }
 
 .textContent {
   font-size: 18px;
-  height: 450px;
   width: 95%;
   max-width: 95%;
-  overflow: auto;
-  line-height: 30px;
 }
 
 .answerBg {