lsc il y a 22 heures
Parent
commit
5238de8e44
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. 10 0
      src/components/pages/workPage/setIndex.vue

+ 10 - 0
src/components/pages/workPage/setIndex.vue

@@ -1,5 +1,11 @@
 <template>
 <template>
   <div class="setWorkPage">
   <div class="setWorkPage">
+    <div style="
+        height: 100vh;
+        width: 100%;
+        position: fixed;
+        z-index: 999;
+    " v-if="isSet == '2'"></div>
     <!-- 选择题设置 -->
     <!-- 选择题设置 -->
     <setChoiceQuestion :workData="workData" v-if="workData.type == 45" @setTestJson="setTestJson" @save="saveTest"/>
     <setChoiceQuestion :workData="workData" v-if="workData.type == 45" @setTestJson="setTestJson" @save="saveTest"/>
     <setQuestionsAndAnswers :workData="workData" v-if="workData.type == 15" @setTestJson="setTestJson" @save="saveTest"/>
     <setQuestionsAndAnswers :workData="workData" v-if="workData.type == 15" @setTestJson="setTestJson" @save="saveTest"/>
@@ -42,6 +48,7 @@ export default {
       stage: this.$route.query.stage,
       stage: this.$route.query.stage,
       task: this.$route.query.task,
       task: this.$route.query.task,
       tool: this.$route.query.tool,
       tool: this.$route.query.tool,
+      isSet: this.$route.query.isSet,
       type: "",
       type: "",
       cid: this.$route.query.cid,
       cid: this.$route.query.cid,
       workData: {},
       workData: {},
@@ -122,6 +129,9 @@ export default {
   },
   },
   mounted() {
   mounted() {
     this.getWorkData();
     this.getWorkData();
+    if(this.isSet == '2'){
+      document.querySelector('html').style.fontSize = '10px'
+    }
   }
   }
 }
 }
 </script>
 </script>