diff --git a/supply.html b/supply.html index 591ca99..44dcf09 100644 --- a/supply.html +++ b/supply.html @@ -338,19 +338,18 @@ color: white; } - /* 模态框 */ + /* 模态框 - 改为全屏样式 */ .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; - background-color: rgba(0, 0, 0, 0.5); + background-color: white; display: none; - justify-content: center; - align-items: flex-start; - padding-top: 50px; + flex-direction: column; z-index: 1000; + overflow: hidden; } .modal.active { @@ -359,12 +358,15 @@ .modal-content { background-color: white; - width: 90%; - max-width: 600px; - max-height: 85vh; - border-radius: 12px; + width: 100%; + height: 100%; + max-width: none; + max-height: none; + border-radius: 0; overflow: hidden; - box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); + box-shadow: none; + display: flex; + flex-direction: column; } .modal-header { @@ -398,8 +400,9 @@ .modal-body { padding: 20px; - max-height: 65vh; overflow-y: auto; + max-height: none; + flex: 1; } /* 修复select下拉框向上显示问题 */ @@ -1588,14 +1591,14 @@