diff --git a/supply.html b/supply.html index 4a28720..faafff8 100644 --- a/supply.html +++ b/supply.html @@ -461,8 +461,13 @@ flex-direction: column; z-index: 1000; overflow: hidden; - /* 防止iOS滚动穿透 */ + /* 防止iOS滚动穿透和模态框拖动 */ touch-action: none; + /* 防止拖动 */ + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; } .modal.active { @@ -485,6 +490,11 @@ overscroll-behavior: contain; /* 允许触摸操作 */ touch-action: auto; + /* 允许内容选择 */ + user-select: auto; + -webkit-user-select: auto; + -moz-user-select: auto; + -ms-user-select: auto; } .modal-body {