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 @@