From 1f8f7505b319ea16167971df741de22469868aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?= <15778543+xufeiyang6017@user.noreply.gitee.com> Date: Sat, 6 Dec 2025 15:25:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=88=B6=E9=9A=90=E8=97=8F=E6=89=80?= =?UTF-8?q?=E6=9C=89=E9=A1=B5=E9=9D=A2=E5=92=8C=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.wxss | 35 ++++++++++++++++++++++++++ pages/seller/index.wxml | 6 ++--- pages/seller/index.wxss | 56 ++++++++++++++++++++++++++++++++++++++--- 3 files changed, 90 insertions(+), 7 deletions(-) diff --git a/app.wxss b/app.wxss index 770f3de..07e56dd 100644 --- a/app.wxss +++ b/app.wxss @@ -1,4 +1,39 @@ /**app.wxss**/ +/* 全局滚动条隐藏 - 强制覆盖所有页面 */ +::-webkit-scrollbar { + display: none !important; + width: 0 !important; + height: 0 !important; + opacity: 0 !important; + -webkit-appearance: none !important; +} + +::-webkit-scrollbar-track { + display: none !important; + width: 0 !important; + height: 0 !important; +} + +::-webkit-scrollbar-thumb { + display: none !important; + width: 0 !important; + height: 0 !important; +} + +/* 针对微信小程序scroll-view组件的强制滚动条隐藏 */ +scroll-view { + -webkit-scrollbar: none !important; + scrollbar-width: none !important; + overflow-scrolling: touch; + overflow: auto !important; +} + +/* 强制页面根元素不显示滚动条 */ +page { + -webkit-scrollbar: none !important; + scrollbar-width: none !important; + overflow-x: hidden !important; +} .container { display: flex; flex-direction: column; diff --git a/pages/seller/index.wxml b/pages/seller/index.wxml index 830641d..aad530c 100644 --- a/pages/seller/index.wxml +++ b/pages/seller/index.wxml @@ -545,7 +545,7 @@ 提交 - + @@ -713,7 +713,7 @@