Browse Source

新增选择题显示单选多选

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

+ 6 - 3
src/components/studyStudent.vue

@@ -5022,6 +5022,8 @@
             <div class="a_add_head">
               <div style="display: flex">
                 {{ index1 + 1 + "、" }}
+                <div v-if="testJson.testJson[index1].type == '1'" style="margin-right:5px;">(单选题)</div>
+              <div v-if="testJson.testJson[index1].type == '2'" style="margin-right:5px;">(多选题)</div>
                 <div>题目:{{ testJson.testJson[index1].teststitle }}</div>
               </div>
               <img
@@ -12697,7 +12699,8 @@ export default {
   align-items: flex-start;
   /* justify-content: space-between; */
   flex-direction: column;
-  margin: 10px 0;
+  /* flex-direction: row; */
+  margin: 10px 0 20px 0;
   font-size: 18px;
   width: 100%;
 }
@@ -14903,10 +14906,10 @@ ol {
   margin: 10px 0 0 10px;
 }
 
-.radioBox >>> .el-radio__input,
+/* .radioBox >>> .el-radio__input,
 .radioBox >>> .el-checkbox__inner {
   margin-left: 10px;
-}
+} */
 
 .radioBox >>> .el-radio__label,
 .radioBox >>> .el-checkbox__label {