瀏覽代碼

fix style

Michael Wang 5 年之前
父節點
當前提交
456739676f
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 3 3
      src/features/OnlineExam/CheckComputer.vue
  2. 0 1
      src/mixins/mixins.js

+ 3 - 3
src/features/OnlineExam/CheckComputer.vue

@@ -1,5 +1,5 @@
 <template>
-  <div style="margin: 30px; text-align: left;">
+  <div style="max-width: 800px; margin: 30px auto; ">
     <Steps :current="current" size="small">
       <Step title="时钟"></Step>
       <Step title="网速"></Step>
@@ -61,7 +61,7 @@
       </div>
     </div>
 
-    <div v-show="current === 2" class="section" style="text-align: center">
+    <div v-show="current === 2" class="section">
       <div>
         <div style="display: flex;">
           <video
@@ -174,7 +174,7 @@
 
         <div
           class="audio-answer audio-answer-line-height"
-          style="margin-top: 20px ;"
+          style="margin-top: 20px; text-align: left;"
         >
           <span class="audio-answer-line-height">答案:</span>
           <audio

+ 0 - 1
src/mixins/mixins.js

@@ -41,7 +41,6 @@ Vue.mixin({
           examingRes = await this.$http.get(
             "/api/ecs_oe_student/examControl/checkExamInProgress"
           );
-          console.log(examingRes);
           if (examingRes.data.code === "S-101000") {
             await new Promise(resolve => setTimeout(() => resolve(), 2000));
             continue;