|
|
|
@ -1,12 +1,60 @@ |
|
|
|
/* pages/seller/index.wxss */ |
|
|
|
/* 隐藏页面滚动条 */ |
|
|
|
/* 隐藏页面滚动条 - 完整强制解决方案 */ |
|
|
|
/* 全局滚动条隐藏 - 强制覆盖所有元素 */ |
|
|
|
::-webkit-scrollbar { |
|
|
|
display: none; |
|
|
|
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; |
|
|
|
scrollbar-width: none; |
|
|
|
-webkit-scrollbar: none !important; |
|
|
|
scrollbar-width: none !important; |
|
|
|
overflow-scrolling: touch; |
|
|
|
/* 确保滚动区域不显示滚动条 */ |
|
|
|
overflow: auto !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 容器元素滚动条隐藏 */ |
|
|
|
.container { |
|
|
|
-webkit-scrollbar: none !important; |
|
|
|
scrollbar-width: none !important; |
|
|
|
overflow-x: hidden !important; |
|
|
|
overflow-y: auto !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 确保常用滚动容器隐藏滚动条 */ |
|
|
|
.scrollable-container { |
|
|
|
-webkit-scrollbar: none !important; |
|
|
|
scrollbar-width: none !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 强制页面根元素不显示滚动条 */ |
|
|
|
page { |
|
|
|
-webkit-scrollbar: none !important; |
|
|
|
scrollbar-width: none !important; |
|
|
|
overflow-x: hidden !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 为所有可能滚动的元素添加滚动条隐藏 */ |
|
|
|
.view, text, image, button, input, textarea, swiper, navigator, picker, slider, switch { |
|
|
|
-webkit-scrollbar: none !important; |
|
|
|
scrollbar-width: none !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 重置默认样式,确保不继承父类样式 */ |
|
|
|
|