y595705120 3 yıl önce
ebeveyn
işleme
22bcc6595c

+ 12 - 2
src/containers/center/exam/index.css

@@ -13,6 +13,16 @@
 .answer-item {
   padding: 8px;
 }
+
+.answer-title{
+  font-size: 15px;
+  word-wrap:break-word;
+  word-break:normal;
+  white-space:normal;
+  white-space: normal;
+}
+
+
 .el-radio, .el-radio__input{
   word-wrap:break-word;
   word-break:normal;
@@ -40,7 +50,7 @@
 
 .exam-content {
   margin: 0 auto;
-  font-size: 18px;
+  font-size: 17px;
   margin-top: 40px;
 }
 
@@ -48,7 +58,7 @@
   position: relative;
   padding: 10px;
   margin: 10px;
-  min-height: 560px;
+  min-height: 660px;
 }
 
 .page-ctrl{

+ 9 - 3
src/containers/center/exam/index.vue

@@ -24,21 +24,27 @@
 
                   <div class="answer" v-if="currentQuestion.type==1">
                     <div class="answer-item" v-for="(item,index) in currentQuestion.choice" :key="index">
-                      <el-radio v-model="radio" :label="index+1">{{transformChar[index]+'、 '+item}}</el-radio>
+                      <el-radio v-model="radio" :label="index+1">
+                        <span class="answer-title">{{transformChar[index]+'、 '+item}}</span>
+                      </el-radio>
                     </div>
                   </div>
 
                   <!-- 当选题 -->
                   <div class="answer" v-if="currentQuestion.type==2">
                     <div class="answer-item" v-for="(item,index) in currentQuestion.choice" :key="index">
-                      <el-radio v-model="radio" :label="index+1">{{transformChar[index]+'、 '+item}}</el-radio>
+                      <el-radio v-model="radio" :label="index+1">
+                        <span class="answer-title">{{transformChar[index]+'、 '+item}}</span>
+                      </el-radio>
                     </div>
                   </div>
 
                   <!-- 多选题 -->
                   <div class="answer" v-if="currentQuestion.type==3">
                     <div class="answer-item" v-for="(item,index) in currentQuestion.choice" :key="index">
-                       <el-checkbox  v-model="checked[index]" :label="index+1">{{item}}</el-checkbox>
+                       <el-checkbox  v-model="checked[index]" :label="index+1">
+                          <span class="answer-title">{{transformChar[index]+'、 '+item}}</span>
+                       </el-checkbox>
                     </div>
                   </div>