Quellcode durchsuchen

解决部分IOS手机 预案和培训 按钮遮挡的问题

zhulu vor 1 Jahr
Ursprung
Commit
4da264709b

+ 4 - 1
src/components/peopleList/index.vue

@@ -203,9 +203,12 @@ export default {
   position: absolute;
   margin-top: 20px;
   z-index: 2000;
+  padding-bottom:calc(0 + env(safe-area-inset-bottom));
 }
 .rowclss {
-  height: 1050px;
+  // height: 1050px;
+  height: calc(100vh - 180px);
+  // height: calc(100vh - 490px);
   overflow: scroll;
   
 }

+ 4 - 3
src/views/menu/rehearsalTask/components/dialog.vue

@@ -40,7 +40,7 @@
         <van-col span="24">
           <van-button class="btns" size="large" type="info" @click="submitHandler">确定</van-button>
         </van-col>
-      </van-row>
+      </van-row>      
     </van-action-sheet>
   </div>
 </template>
@@ -199,6 +199,7 @@ export default {
   position: absolute;
   margin-top: 20px;
   z-index: 2000;
+  padding-bottom:calc(0 + env(safe-area-inset-bottom));
 }
 .bigsheetbox {
   height: calc(100vh - 100px);
@@ -210,8 +211,8 @@ export default {
 }
 .rowclss {
   // margin-bottom: 100px;
-  // height: calc(90vh - 200px);
-  height: 1050px;
+  height: calc(100vh - 180px);
+  // height: 1050px;
   overflow: scroll;
 }
 .lddq {

+ 3 - 2
src/views/menu/training/components/selectData.vue

@@ -204,10 +204,11 @@ export default {
   position: absolute;
   margin-top: 20px;
   z-index: 2000;
-
+  padding-bottom:calc(0 + env(safe-area-inset-bottom));
 }
 .rowclss{
-  height: 1050px;
+  // height: 1050px;
+  height: calc(100vh - 180px);
   overflow: scroll;
 }
 .bigsheetbox {