浏览代码

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