diff --git a/index.html b/index.html index 949455d..e39e270 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + @@ -2089,5 +2089,32 @@ + + diff --git a/js/app.js b/js/app.js index e0a6cf8..11bcce3 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26101011'; + var VER = '26101012'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); diff --git a/mama-box.css b/mama-box.css index 3c5ab7f..ffc4aa4 100644 --- a/mama-box.css +++ b/mama-box.css @@ -96,6 +96,10 @@ button,a,input,textarea,select,summary,[tabindex]{transition:box-shadow .15s eas :focus{outline:none} :focus-visible{outline:3px solid rgba(244,89,60,.55);outline-offset:2px;border-radius:6px} .modal,.sheet,.search-layer,.scrim{overscroll-behavior:contain} +/* 禁止下拉回弹(2026-10-11 统一规则):iOS 微信里滑到顶再下拉会把整页拖下来露出「网页由 … 提供」。 + 外壳 .phone 固定一屏、滚动都在内部容器里,所以锁 html/body 不影响内容滚动;第二层触摸拦截在 index.html 前。 */ +html,body{overflow:hidden;overscroll-behavior:none} +.screen,.detail-body,.sheet-scroll,.modal,#appsGrid,.bx-reveal,.whp-scroll,.whd-panel,.fb-modal,.zd-modal{overscroll-behavior-y:contain} a.skip{position:absolute;left:-9999px;top:auto;z-index:2000;background:var(--brand);color:#fff;padding:10px 16px;border-radius:10px;font-weight:700} a.skip:focus{left:16px;top:16px} /* 橙渐变上的白字:加深对比 + 轻微投影提可读性 */