Просмотр исходного кода

style: 修复ios筛选滚动问题

cuiyalong 11 месяцев назад
Родитель
Сommit
1ae3a82374
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      apps/mobile/src/components/selector/zhima-three-sidebar/popup.vue

+ 2 - 0
apps/mobile/src/components/selector/zhima-three-sidebar/popup.vue

@@ -104,6 +104,8 @@ export default {
   ::v-deep {
     .default-sidebar-height {
       height: calc(72vh - 162px - 2px);
+      height: calc(72vh - 162px - 2px - constant(safe-area-inset-bottom));
+      height: calc(72vh - 162px - 2px - env(safe-area-inset-bottom));
     }
 
     .header-nav {