下拉刷新空状态处理

This commit is contained in:
李瑞
2025-09-30 18:04:35 +08:00
parent e740d37b6d
commit bacef525ae
3 changed files with 5 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
display: flex;
flex-direction: column;
gap: 5px;
padding-bottom: 34px;
padding-bottom: 80px;
// min-height: 100vh;
.recommendTextWrapper {

View File

@@ -142,10 +142,12 @@
.hidden {
opacity: 0;
transform: translateY(-5px);
pointer-events: none;
}
/* 可见状态 */
.visible {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}

View File

@@ -463,12 +463,14 @@ export const useListStore = create<TennisStore>()((set, get) => ({
searchPageState: {
...searchPageStateDefaultValue
},
loading: true,
});
} else {
set({
listPageState: {
...listPageStateDefaultValue
},
loading: true,
});
}
if (!isSearchData) {