From 17f47b15ec91c9fd986e80981ceab1ac704a43f8 Mon Sep 17 00:00:00 2001 From: long <452591453@qq.com> Date: Sat, 31 Oct 2026 11:56:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(tongji):=20=E8=A1=80=E7=B3=96=E9=A1=B5?= =?UTF-8?q?=E7=A6=81=E6=AD=A2=E6=95=B4=E9=A1=B5=E5=B7=A6=E5=8F=B3=E6=BB=91?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 页面根节点裁掉横向溢出(overflow-x: clip,旧内核回退 hidden), 任何子元素超宽都不会再撑出横向滚动。 --- TUICallKit-Vue3/tongji/styles/weekly-stitch.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TUICallKit-Vue3/tongji/styles/weekly-stitch.scss b/TUICallKit-Vue3/tongji/styles/weekly-stitch.scss index ce1da2cb1..5ed4d09c8 100644 --- a/TUICallKit-Vue3/tongji/styles/weekly-stitch.scss +++ b/TUICallKit-Vue3/tongji/styles/weekly-stitch.scss @@ -8,6 +8,10 @@ --st-shadow-float: 0 16rpx 64rpx rgba(0, 108, 73, 0.15); --tab-dock-full-offset: calc(220rpx + env(safe-area-inset-bottom)); padding-bottom: var(--tab-dock-full-offset); + // 页面宽度固定:子元素横向超出一律裁掉,整页不能左右滑动。 + // clip 不会生成滚动容器;不支持 clip 的旧内核忽略第二条,回退到 hidden + overflow-x: hidden; + overflow-x: clip; } /* ===== Header ===== */