From 5e4ba70939a5c223dc3185acfed567844c63dac6 Mon Sep 17 00:00:00 2001 From: Default User Date: Fri, 27 Feb 2026 17:21:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E6=B7=BB=E5=8A=A0=E8=A7=84=E6=A0=BC=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E5=92=8C=E9=AB=98=E4=BA=AE=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2=E7=8A=B6=E6=80=81=E5=9C=A8?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=97=B6=E9=87=8D=E7=BD=AE=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply.html | 121 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 113 insertions(+), 8 deletions(-) diff --git a/supply.html b/supply.html index 28b78c8..5e8a607 100644 --- a/supply.html +++ b/supply.html @@ -608,6 +608,25 @@ overscroll-behavior: contain; /* 只允许垂直触摸操作 */ touch-action: pan-y; + padding-bottom: 20px; + } + + /* 响应式调整 - 手机端 */ + @media (max-width: 768px) { + .modal-body { + padding: 15px; + padding-bottom: 30px; + } + + .form-group { + margin-bottom: 15px; + } + + .form-input, + .form-select { + padding: 10px 14px; + font-size: 13px; + } } /* iOS滚动穿透修复 */ @@ -1410,8 +1429,9 @@ background-color: rgba(0, 0, 0, 0.5); display: none; justify-content: center; - align-items: center; + align-items: flex-start; z-index: 1500; + padding-top: 20px; } .select-modal.active { @@ -1422,13 +1442,30 @@ background-color: white; width: 90%; max-width: 600px; - max-height: 70vh; + max-height: 80vh; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); display: flex; flex-direction: column; } + /* 响应式调整 - 手机端 */ + @media (max-width: 768px) { + .select-modal { + align-items: flex-start; + padding-top: 10px; + } + + .select-content { + width: 95%; + max-height: 85vh; + } + + .select-body { + max-height: 60vh; + } + } + .select-header { padding: 20px; border-bottom: 1px solid #f0f0f0; @@ -1442,6 +1479,14 @@ overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; + max-height: 50vh; + } + + /* 响应式调整 - 手机端 */ + @media (max-width: 768px) { + .select-body { + max-height: 40vh; + } } .select-search { @@ -1686,7 +1731,7 @@
@@ -2139,12 +2184,25 @@
当前选择: 未选择
-
+
-
+
+ + +