diff --git a/src/container/listContainer/index.scss b/src/container/listContainer/index.scss index 04bf2f4..89520f9 100644 --- a/src/container/listContainer/index.scss +++ b/src/container/listContainer/index.scss @@ -4,7 +4,7 @@ display: flex; flex-direction: column; gap: 5px; - padding-bottom: 34px; + padding-bottom: 80px; // min-height: 100vh; .recommendTextWrapper { diff --git a/src/container/listCustomNavbar/index.scss b/src/container/listCustomNavbar/index.scss index 77fb979..d95d1a0 100644 --- a/src/container/listCustomNavbar/index.scss +++ b/src/container/listCustomNavbar/index.scss @@ -142,10 +142,12 @@ .hidden { opacity: 0; transform: translateY(-5px); + pointer-events: none; } /* 可见状态 */ .visible { opacity: 1; transform: translateY(0); + pointer-events: auto; } \ No newline at end of file diff --git a/src/store/listStore.ts b/src/store/listStore.ts index dbdfefc..20dd2a4 100644 --- a/src/store/listStore.ts +++ b/src/store/listStore.ts @@ -463,12 +463,14 @@ export const useListStore = create()((set, get) => ({ searchPageState: { ...searchPageStateDefaultValue }, + loading: true, }); } else { set({ listPageState: { ...listPageStateDefaultValue }, + loading: true, }); } if (!isSearchData) {