SanHQin 1 week ago
parent
commit
25e2324719

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 1 - 1
dist/report.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-17dd91de.e8978c2d.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-43b60aa0.46dcc3a9.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.f36392b8.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-17dd91de.e4afe44a.js


+ 1 - 1
src/views/testDetail/components/choice.vue

@@ -20,7 +20,7 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
       <div class="choices">
         <div class="choice" v-for="(item, index) in checkJson.array" :key="index">

+ 4 - 3
src/views/testDetail/components/course.vue

@@ -9,7 +9,7 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
       <div class="choices" v-if="checkJson.courses.length">
         <div class="course" @click="openCourse()">
@@ -51,7 +51,8 @@
             <span>{{ page + 1 }}</span
             ><span>/</span><span>{{ checkJson.courses.length }}</span>
           </div>
-          <el-button type="primary" size="mini" :disabled="page == checkJson.courses.length - 1" @click="setPage('1')"
+          <el-button type="primary" size="mini"
+:disabled="page == checkJson.courses.length - 1" @click="setPage('1')"
             >下一个</el-button
           >
         </div>
@@ -168,7 +169,7 @@ export default {
     getCourse(id) {
       // console.log('999999999999999');
       this.isloading = true
-      let params = {
+      const params = {
         cid: id
       }
       getCourseInfoTest(params)

+ 1 - 1
src/views/testDetail/components/course2.vue

@@ -9,7 +9,7 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
       <div class="choices">
         <el-button type="primary" size="small" @click="openCourseD">选择课程</el-button>

+ 3 - 2
src/views/testDetail/components/eva.vue

@@ -9,7 +9,7 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
       <div class="choices">
         <div
@@ -128,11 +128,12 @@ export default {
 
 .choice_box > .choices {
   margin-top: 10px;
-  display: flex;
+  display: grid;
   flex-wrap: wrap;
   justify-content: center;
   width: 90%;
   margin: 0 auto;
+  grid-template-columns: repeat(5, 1fr);
 }
 
 .choices > .score {

+ 1 - 1
src/views/testDetail/components/file.vue

@@ -23,7 +23,7 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
       <div class="choices">
         <div class="file_box" v-if="checkJson.mobanFile && checkJson.mobanFile.length" v-loading="loading">

+ 5 - 4
src/views/testDetail/components/gap.vue

@@ -6,9 +6,10 @@
       <!-- <div class="title"><div>{{ `(${option[checkJson.type].name})` }}</div><div v-html="checkJson.title"></div></div> -->
       <div class="c_title">
         <div class="title">
-          {{ tindex + 1 + '、' + `(${option[checkJson.type].name})` + checkJson.title }}<span
-            v-if="see"
-            style="color: #efa030"
+          {{ tindex + 1 + '、' + `(${option[checkJson.type].name})` + checkJson.title
+          }}<span
+v-if="see"
+style="color: #efa030"
             >({{ checkJson.answer ? '参考答案:' + checkJson.answer : '暂无参考答案' }}
             {{ cJson.score ? '分值:' + cJson.score + '分' : '' }})</span
           >
@@ -29,7 +30,7 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
       <div class="choices">
         <textarea

+ 26 - 21
src/views/testDetail/components/number.vue

@@ -9,12 +9,17 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
 
       <div class="choices">
-        <el-input-number :controls="false" v-model="checkJson.answer2" :precision="numberTypePrecision" :placeholder="numberTypePlaceholder[checkJson.type]"></el-input-number>
-        <span v-if="checkJson.type=='4'">%</span>
+        <el-input-number
+          :controls="false"
+          v-model="checkJson.answer2"
+          :precision="numberTypePrecision"
+          :placeholder="numberTypePlaceholder[checkJson.type]"
+        ></el-input-number>
+        <span v-if="checkJson.type == '4'">%</span>
       </div>
     </div>
   </div>
@@ -45,15 +50,15 @@ export default {
       },
       userid: this.$route.query.userid,
       checkJson: {
-				title:"",
-				detail:""
-			},
-      numberTypePlaceholder:{
-            "1":"请输入整数",
-            "2":"请输入数字并保留一位小数",
-            "3":"请输入数字并保留两位小数",
-            "4":"请输入百分比"
-          },
+        title: '',
+        detail: ''
+      },
+      numberTypePlaceholder: {
+        '1': '请输入整数',
+        '2': '请输入数字并保留一位小数',
+        '3': '请输入数字并保留两位小数',
+        '4': '请输入百分比'
+      }
     }
   },
   watch: {
@@ -64,16 +69,16 @@ export default {
       deep: true
     }
   },
-  computed:{
-    numberTypePrecision(){
-      let _result = 0;
-      if(this.checkJson.type=='1'){
+  computed: {
+    numberTypePrecision() {
+      let _result = 0
+      if (this.checkJson.type == '1') {
         _result = 0
-      }else if(this.checkJson.type=='2'){
+      } else if (this.checkJson.type == '2') {
         _result = 1
-      }else if(this.checkJson.type=='3'){
+      } else if (this.checkJson.type == '3') {
         _result = 2
-      }else if(this.checkJson.type=='4'){
+      } else if (this.checkJson.type == '4') {
         _result = 0
       }
 
@@ -83,7 +88,7 @@ export default {
   methods: {
     depthCopy(s) {
       return JSON.parse(JSON.stringify(s))
-    },
+    }
   },
   mounted() {
     this.checkJson = this.cJson ? this.depthCopy(this.cJson) : undefined
@@ -126,7 +131,7 @@ export default {
   align-items: center;
 }
 
-.choices>span{
+.choices > span {
   font-size: 20px;
 }
 

+ 2 - 2
src/views/testDetail/components/punchQRcode.vue

@@ -9,14 +9,14 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
 
       <div
         class="detail"
         v-if="checkJson.answer2 && typeof checkJson.answer2 == 'string'"
         v-html="checkJson.answer2"
-        style="color: #000000;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
 
       <div class="choices">

+ 2 - 2
src/views/testDetail/components/sweep.vue

@@ -9,14 +9,14 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
 
       <div
         class="detail"
         v-if="checkJson.answer2 && typeof checkJson.answer2 == 'string'"
         v-html="checkJson.answer2"
-        style="color: #000000;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
 
       <div class="choices">

+ 3 - 3
src/views/testDetail/components/time.vue

@@ -9,7 +9,7 @@
         class="detail"
         v-if="checkJson.detail"
         v-html="checkJson.detail"
-        style="color: #00000099;margin-top: 5px;"
+        style="color: rgba(0, 0, 0,0.6);margin-top: 5px;font-size: 16px;"
       ></div>
 
       <div style="margin-top: 10px;">
@@ -17,7 +17,7 @@
           :readonly="checktype == 2"
           v-model="checkJson.answer2"
           type="date"
-					:editable="false"
+          :editable="false"
           format="yyyy 年 MM 月 dd 日"
           value-format="yyyy年MM月dd日"
           placeholder="年/月/日"
@@ -72,7 +72,7 @@ export default {
   },
   methods: {
     depthCopy(s) {
-      let t = JSON.parse(JSON.stringify(s))
+      const t = JSON.parse(JSON.stringify(s))
       if (!t.answer2.length) {
         t.answer2 = ''
       }

Some files were not shown because too many files changed in this diff