James 4 年之前
父节点
当前提交
386593dd0a
共有 2 个文件被更改,包括 15 次插入5 次删除
  1. 11 4
      src/components/question/datiing.vue
  2. 4 1
      src/components/question/prize.vue

+ 11 - 4
src/components/question/datiing.vue

@@ -76,7 +76,7 @@
       </div>
     </div>
     <!-- 移动端 -->
-    <div class="datiing" v-if="isMobile">
+    <div class="datiing" v-if="isMobile" :class="{'scroll':status == '答题完成'}">
       <div class="jishi">
         <div class="bar">
           <div
@@ -472,6 +472,13 @@ export default {
     justify-items: center;
   }
 }
+
+// 答题完成时 添加类scroll 整体可以滑动
+.scroll {
+  overflow-y: auto!important;
+  overflow-x: hidden;
+}
+// 移动端
 .qmobile .datiing {
   width: 95%;
   top: 40px;
@@ -544,10 +551,10 @@ export default {
     display: block;
     width: 100%;
     margin-top:34px;
-    max-height: 30%;
+    // max-height: 30%;
     padding: 10px 0;
-    overflow-y: auto;
-    overflow-x:hidden;
+    // overflow-y: auto;
+    // overflow-x:hidden;
     >.qbtn {
       width: 286px;
       height: 55px;

+ 4 - 1
src/components/question/prize.vue

@@ -362,8 +362,11 @@ export default {
   }
   .lw {
     width: 88% !important;
+    height: auto;
     > canvas {
-      width: 200% !important;
+      width: 100% !important;
+      height: auto!important;
+      transform:none;
     }
   }
   .bubble {