fix(首页): 禁止双指缩放和双击放大,页面固定 (v26100105)

viewport 加 user-scalable=no / maximum-scale=1;iOS 微信忽略该设置,
JS 再拦 gesture 事件与多指 touchmove;html 也加 touch-action:manipulation

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 02:40:34 +00:00
parent 15dabcea5f
commit 1fa565ff2f
3 changed files with 10 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ em{font-style:normal}
/* ---------- 无障碍 / 触控 / 动效(WK 审计补齐) ---------- */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body,button,a,input,textarea,select{-webkit-touch-callout:none;touch-action:manipulation}
html,body,button,a,input,textarea,select{-webkit-touch-callout:none;touch-action:manipulation}
button,a,input,textarea,select,summary,[tabindex]{transition:box-shadow .15s ease}
:focus{outline:none}
:focus-visible{outline:3px solid rgba(244,89,60,.55);outline-offset:2px;border-radius:6px}