From bdd6ef679b1a8565fe071d6e4beefe16eec2e40b Mon Sep 17 00:00:00 2001 From: WEP-56 <1484413790@qq.com> Date: Wed, 4 Nov 2026 11:19:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=83=E7=93=9C=E6=94=B9=E7=BD=91?= =?UTF-8?q?=E9=A1=B5=E5=BC=8F=E6=B5=8F=E8=A7=88=20+=20=E9=9F=B3=E9=87=8F?= =?UTF-8?q?=E8=BD=A8=E9=81=93=E5=AF=B9=E9=BD=90=20+=20=E6=A1=8C=E9=9D=A2?= =?UTF-8?q?=E9=97=B2=E7=BD=AE=E9=9A=90=E8=97=8F=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 分类/吃瓜列表点击直接进图文详情页(不再走播放器) - 图文正文按净化后的 HTML 渲染;图片地址补全绝对路径、优先取 data-src,修复图片加载不出 - 桌面播放器闲置 2.8s 淡出控制条/右侧操作栏/信息区,鼠标移动恢复 - 音量:轨道与滑块单独绘制并对齐;换源后重新套用音量/倍速,切集不再丢音量 - 移动端:栈页隐藏底栏(评论抽屉输入框不再被遮挡);横屏视频在首页保持黑边,沉浸模式才旋转横屏 --- src/App.tsx | 7 ++++-- src/components/Feed.tsx | 26 ++++++++++++++++++--- src/components/VideoSurface.tsx | 26 +++++++++++++++++++-- src/html.ts | 40 ++++++++++++++++++++++++++++++--- src/index.css | 30 ++++++++++++++++++++++--- src/pages/Category.tsx | 2 +- src/pages/Posts.tsx | 11 ++++++--- 7 files changed, 125 insertions(+), 17 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 76d02a2..167f4a6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -103,6 +103,9 @@ function AppBody() { const vis = (k: Tab) => (tab === k ? "absolute inset-0" : "absolute inset-0 invisible pointer-events-none"); const pageActive = stack.length === 0 && !loginOpen; const bottomInset = platform === "android" ? (fs ? 0 : 48) : 14; + /* 栈页(从搜索/分类/我的进入的播放页、图文页)不显示底栏: + 底栏会盖住评论抽屉的输入框,且这些页面本身是沉浸的 */ + const stackInset = platform === "android" ? (fs ? 0 : 20) : 14; return (