优化展示逻辑

This commit is contained in:
李瑞
2025-10-13 00:07:31 +08:00
parent 12600ebdfb
commit 99671667f3
5 changed files with 10 additions and 31 deletions

View File

@@ -58,6 +58,7 @@ const ListPage = () => {
distanceQuickFilter,
isShowInputCustomerNavBar,
pageOption,
isShowNoData,
} = listPageState || {};
// 防抖的滚动处理函数
@@ -376,6 +377,7 @@ const ListPage = () => {
data={matches}
recommendList={recommendList}
loading={loading}
isShowNoData={isShowNoData}
error={error}
reload={refreshMatches}
loadMoreMatches={loadMoreMatches}

View File

@@ -35,6 +35,7 @@ const SearchResult = () => {
recommendList,
filterCount,
filterOptions,
isShowNoData,
} = searchPageState || {};
const { statusNavbarHeightInfo } = useGlobalState() || {};
const { totalHeight } = statusNavbarHeightInfo || {};
@@ -166,6 +167,7 @@ const SearchResult = () => {
data={data}
recommendList={recommendList}
loading={loading}
isShowNoData={isShowNoData}
error={error}
reload={refreshMatches}
loadMoreMatches={loadMoreMatches}