소스 검색

feat: 修复低版本IOS高度塌陷

zhangyuhan 3 년 전
부모
커밋
d6e4b81e07
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      src/web/staticres/common-module/portraitRecord/css/index.css

+ 5 - 2
src/web/staticres/common-module/portraitRecord/css/index.css

@@ -14,7 +14,7 @@
 }
 .portraited {
     width: 100%;
-    
+
 }
 .portraited .t-bg {
     width: 100%;
@@ -26,6 +26,7 @@
 .portraited .t-bg {
     flex-direction: column;
     padding: .46rem 0;
+    flex-shrink: 0;
 }
 .portraited .btns {
     flex-direction: column;
@@ -53,8 +54,10 @@
     margin: .24rem 0;
 }
 .portraited .t-bg .btns .van-button {
+    flex-shrink: 0;
     width: 3.3rem;
     height: .8rem;
+    min-height: .8rem;
     background: #2ABED1;
     border-color: #2ABED1;
 }
@@ -373,4 +376,4 @@
 
 .van-loading {
     margin-top: 1.2rem;
-}
+}