فهرست منبع

兼容性修改

Zhangbw 1 ماه پیش
والد
کامیت
4ec5ef4fec
1فایلهای تغییر یافته به همراه7 افزوده شده و 3 حذف شده
  1. 7 3
      src/components/DateSelector.vue

+ 7 - 3
src/components/DateSelector.vue

@@ -251,17 +251,21 @@ const clearDate = () => {
   bottom: 0;
   background: rgba(0, 0, 0, 0.5);
   display: flex;
-  align-items: center;
+  align-items: flex-end;
   justify-content: center;
   z-index: 99999;
+  padding-bottom: env(safe-area-inset-bottom);
 }
 
 .date-picker-popup {
-  width: 90%;
+  width: 100%;
   max-width: 600rpx;
+  max-height: 80vh;
   background: #ffffff;
-  border-radius: 24rpx;
+  border-radius: 24rpx 24rpx 0 0;
   padding: 32rpx;
+  padding-bottom: calc(32rpx + env(safe-area-inset-bottom));
+  overflow-y: auto;
 }
 
 .picker-header {