diff --git a/frontend/src/features/orders/views/MobileOrderDetailView.css b/frontend/src/features/orders/views/MobileOrderDetailView.css index 47b9eb0..7b156bf 100644 --- a/frontend/src/features/orders/views/MobileOrderDetailView.css +++ b/frontend/src/features/orders/views/MobileOrderDetailView.css @@ -216,16 +216,22 @@ /* ========== Popups ========== */ .mobile-popup-form { - max-height: 85%; - padding-bottom: env(safe-area-inset-bottom); + display: flex !important; + flex-direction: column !important; + max-height: 85vh; + max-height: 85dvh; + overflow: hidden !important; + box-sizing: border-box; } .popup-header { + flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #edf2f7; + background: #fff; } .popup-header h3 { @@ -243,8 +249,25 @@ } .popup-body { + flex: 1 1 auto; + min-height: 0; padding: 16px; overflow-y: auto; + -webkit-overflow-scrolling: touch; + overscroll-behavior: contain; +} + +.popup-footer { + flex-shrink: 0; + padding: 10px 16px; + padding-bottom: calc(10px + env(safe-area-inset-bottom)); + background: #fff; + border-top: 1px solid #edf2f7; + box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05); +} + +.popup-submit { + margin: 0; } .form-hint-info { @@ -260,6 +283,15 @@ margin-bottom: 12px; } +/* iOS Safari:font-size < 16px 时聚焦会自动放大整个页面 */ +.mobile-popup-form input, +.mobile-popup-form textarea, +.popup-field :deep(.van-field__control), +.custom-inline-input, +.custom-select { + font-size: 16px !important; +} + .evidence-upload-row { display: flex; justify-content: space-between; @@ -269,10 +301,6 @@ margin-bottom: 16px; } -.popup-submit { - margin-top: 10px; -} - .custom-select { border: none; background: transparent; diff --git a/frontend/src/features/orders/views/MobileOrderDetailView.vue b/frontend/src/features/orders/views/MobileOrderDetailView.vue index df28a3c..2d1c0dd 100644 --- a/frontend/src/features/orders/views/MobileOrderDetailView.vue +++ b/frontend/src/features/orders/views/MobileOrderDetailView.vue @@ -601,6 +601,8 @@ async function copyListingCode() { 上传新证据截图: + + @@ -634,6 +636,8 @@ async function copyListingCode() { placeholder="请详细叙述拒绝号主扣款的理由,这些信息将被客服作为判定依据" class="popup-field" /> + + @@ -690,6 +694,8 @@ async function copyListingCode() { 上传证据截图: + +