/* ============ v2 第一批 + 补充注入 ============ */ /* [红点体系v1 2026-10-29] 未读红点统一系统:群红点数字+收件箱红点+已读回执+催一下+系统通知中心真实化(主人 13:02/13:03/13:05/13:12 亲令,导演裁决催一下A方案) */ /* ============================================================ * Fix11(r5f19):v55b43r15 守卫 —— 主人 11:41-11:45 六条反馈 * ① 剧场页面间隔抖动(零点几秒,间隔性)→ Fix11a 同步同帧强压 grid * 根因:fixGrid43b(v55b24Fix A2, MO+setInterval900 设 grid-auto-rows=402px+卡片height:100%) * vs Fix10(setInterval400 改回 auto/241px) 拉锯;Fix10 的 MO 回调 setTimeout(sweepFix10,0) * 是宏任务跨渲染帧 → 用户看到 402px 帧 → 间隔抖动(与早先底栏闪烁同类,主人判断正确) * 修复:后注册 attributes MO(微任务,同帧) + setInterval(250) 兜底,同步设回 auto/241px * ② 播放页进入时右侧点赞排抖动 → Fix11b 同步定位右侧排 * 根因:Fix5 redSide43 创建 d55SideActRed43 初始 top:50% translateY(-50%)(屏幕中间), * Fix4 sidePos45 在 80ms 宏任务后才改 bottom:60px → 中间渲染帧 → 进入时跳位抖动 * 修复:后注册 MO(微任务) 监听播放层 childList,red 插入时同步设最终位置 + interval(250) 兜底 * ③ 上下滑动不能切换剧集 → Fix11d document 捕获层抢回垂直滑动切集 * 根因:v55b30 全局 body capture touch 监听在播放页垂直滑动时调用 nextDrama/prevDrama * (切整部剧)并 stopPropagation,抢走 v55b9 layer touchend 的切集逻辑; * 列表无法定位/已是最后一部时只 toast,用户感觉"上下滑不能切集" * 修复:document capture 后注册 touchstart/touchend,播放页可见且垂直滑≥60px → 执行切集 * + stopImmediatePropagation(document 捕获先于 body 捕获,v55b30 收不到) * + 复用 __v55b30Suppress 防误触 click * ④ 分类霸总起页面不一样 → 非乱码,是分类数据缺失(17 个分类 0 部),数据方案另议(Fix11c) * 铁律:只增不覆盖;r5f18 完整内容必须为 r5f19 前缀,diff removed=0 * ============================================================ */ (function(){ try{ if(window.__v55b43Fix11)return; window.__v55b43Fix11=1; var $=function(id){return document.getElementById(id);}; function setImp(el,prop,val){ try{ if(el.style.getPropertyValue(prop)!==val||el.style.getPropertyPriority(prop)!=='important'){ el.style.setProperty(prop,val,'important'); } }catch(e){} } var diag=null; try{diag=window.__d55Fix11Diag={grid:0,red:0,swipe:0,err:null};}catch(e){} /* ===== ② 右侧点赞排同步定位:修复 red 创建 top:50% → sidePos45 80ms 后 bottom:60px 跳位 ===== */ function posRed11b(){ try{ var red=$('d55SideActRed43'); if(!red) return; setImp(red,'top','auto'); setImp(red,'bottom','60px'); setImp(red,'transform','none'); setImp(red,'gap','22px'); var kids=red.children; for(var i=0;i0&&Number(pl.ep)1){ try{if(V&&V.dramaPlayEp)V.dramaPlayEp(pl.did,Number(pl.ep)-1,pl.title||'');}catch(e){} done=true; }else{ try{window.d55Toast&&d55Toast('已经是第一集啦');}catch(e){} done=true; } } if(done){ try{window.__v55b30Suppress=Date.now()+350;}catch(e){} /* 复用 v55b30 guardClick 防误触播放/暂停 */ try{e.stopImmediatePropagation();}catch(e){} /* 阻止 v55b30 handleEnd 切整部剧 + layer touchend 重复切集 */ try{e.stopPropagation();}catch(e){} try{e.preventDefault();}catch(e){} if(diag)diag.swipe++; } }catch(e){} } try{ /* 后注册在 document 捕获阶段:捕获传播 document→body,先于 v55b30(body capture) 执行 */ document.addEventListener('touchstart',start11d,{passive:true,capture:true}); document.addEventListener('touchend',end11d,{passive:true,capture:true}); }catch(e){} }catch(e){} })();