Browse Source

BUG修改

JutarryWu 3 months ago
parent
commit
8b81b49ec6
1 changed files with 21 additions and 22 deletions
  1. 21 22
      src/views/CognitiveAbilityTask/imageAssociation.vue

+ 21 - 22
src/views/CognitiveAbilityTask/imageAssociation.vue

@@ -18,7 +18,7 @@
         <img src="../../assets/small-big.png" alt="" />
       </div>
     </div>
-    <div :class="{
+    <div class="top-title-area" :class="{
             glass: !(
                 (!flag1 && !flag2 && isDelay == false && isok == false) ||
                 (!flag1 && !flag2 && isDelay == true && isok == true) ||
@@ -31,26 +31,13 @@
           <h3 class="bTitle">4.图片联想</h3>
         </el-col>
         <el-col :span="12" style="text-align: right">
-          <div style="
-              background: rgba(0, 0, 0, 0.39);
-              border-radius: 24px;
-              font-size: 28px;
-              color: #ffffff;
-              padding: 4px 8px;
-              margin-right: 100px;
-                text-align: center;
-            " id="t1" v-if="flag2 || (!flag1 && !flag2)" v-bind:text-content.prop="time1 + '(用时)'">
+          <div id="t1" class="flex-center" v-if="flag2 || (!flag1 && !flag2)" v-bind:text-content.prop="time1 + '(用时)'">
             用时
           </div>
         </el-col>
       </el-row>
 
-      <el-card style="
-          margin-top: 20px;
-          background-color: #f4f4f5;
-          width: 80%;
-          margin-left: 10%;
-        ">
+      <el-card class="top-card">
         <p style="text-align: left">
           注释:包括15对动物-水果图片,需要被试记住每个动物或是水果相对应的另一个动物或是水果,图片对将会展现两次,每个图片对各展示10秒,展示结束后进行即时回忆测查/即时再认测查,需要被试在看到图片后,大声迅速的报告与之对应的动物或者水果图片名称;再认测查会先出现动物图片,随后出现4张水果图片,其中1张为正确答案。30分钟后可进行延迟回忆测查/延迟再认测查。
         </p>
@@ -2303,7 +2290,7 @@ export default {
       this.timer = setInterval(() => {
         _this.flag++;
         this.changeImage(_this.flag);
-      }, 10000); //这个定时器的时间需要改,方便测试,现在为一秒
+      }, 100); //这个定时器的时间需要改,方便测试,现在为一秒
     },
     isOk() {
       console.log("执行了吗");
@@ -2531,11 +2518,22 @@ export default {
 }
 
 #t1 {
-  font-size: 20px;
   margin-top: 30px;
   display: inline-block;
-  /* margin-left: 78%; */
-  width: 220px;
+  background: rgba(0, 0, 0, 0.39);
+  border-radius: 24px;
+  font-size: 28px;
+  color: #ffffff;
+  padding: 4px 8px;
+  margin-right: 100px;
+  text-align: center;
+}
+
+.top-card {
+  margin-top: 20px;
+  background-color: #f4f4f5;
+  width: 80%;
+  margin-left: 10%;
 }
 
 #table {
@@ -2566,13 +2564,13 @@ export default {
 #body3 {
   width: 80%;
   margin-left: 10%;
-  height: calc(100% - 160px);
+  height: calc(100% - 188px);
   overflow: hidden;
 }
 
 .item-area {
   width: 100%;
-  height: calc(100% - 90px);
+  height: calc(100% - 120px);
   overflow-y: auto;
 }
 
@@ -2774,6 +2772,7 @@ export default {
 .saveCll {
   width: 100px;
   height: 38px;
+  margin-top: 10px;
   background: rgb(87, 172, 187);
   border: 2px solid rgba(255, 255, 255, 0.8);
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);