bug(custom): 滑动

This commit is contained in:
zhangjing1
2025-09-04 18:21:44 +08:00
parent 6fbd8b7601
commit ce354c4148
2 changed files with 6 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
.sp-page__body {
box-sizing: border-box;
overflow-y: auto;
// overflow-y: auto;
}
.sp-page__footer {

View File

@@ -253,9 +253,11 @@ function Home() {
}
const handleScroll = (e) => {
setState((draft) => {
draft.navigateMantle = e.detail.scrollTop >= 20
})
if(pageData?.base?.isImmersive){
setState((draft) => {
draft.navigateMantle = e.detail.scrollTop >= 20
})
}
}
return (