소스 검색

浏览器适配修改

Zhangbw 2 달 전
부모
커밋
21243ad50e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/pages/pool/pool.vue

+ 3 - 0
src/pages/pool/pool.vue

@@ -440,6 +440,7 @@ onUnmounted(() => {
 .scroll-view {
   flex: 1;
   height: 0;
+  -webkit-overflow-scrolling: touch;
 }
 
 .content-wrapper {
@@ -653,5 +654,7 @@ onUnmounted(() => {
 
 .bottom-safe-area {
   height: 80rpx;
+  padding-bottom: constant(safe-area-inset-bottom);
+  padding-bottom: env(safe-area-inset-bottom);
 }
 </style>