This commit is contained in:
李瑞
2025-09-13 18:16:09 +08:00
parent 076c0ed980
commit 171687085b
3 changed files with 7 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ const ListPage = () => {
// 只有当状态需要改变时才更新
if (shouldShowInputNav && !isShowInputCustomerNavBar) {
updateState({ isShowInputCustomerNavBar: true });
} else if (!shouldShowInputNav && isShowInputCustomerNavBar) {
} else {
updateState({ isShowInputCustomerNavBar: false });
}
});
@@ -117,7 +117,7 @@ const ListPage = () => {
Taro.showToast({
title: "刷新成功",
icon: "success",
duration: 1500,
duration: 1000,
});
} catch (error) {
// 刷新失败时也停止动画
@@ -126,7 +126,7 @@ const ListPage = () => {
Taro.showToast({
title: "刷新失败,请重试",
icon: "error",
duration: 1500,
duration: 1000,
});
}
});

View File

@@ -1,5 +1,4 @@
import { View, Image, Text } from "@tarojs/components";
// import { useSearchResultState } from "@/store/searchResultStore";
import { useListStore } from "@/store/listStore";
import { useGlobalState } from "@/store/global";
import ListContainer from "@/container/listContainer";

View File

@@ -224,10 +224,10 @@ class HttpService {
// 显示加载提示
if (showLoading) {
// Taro.showLoading({
// title: loadingText,
// mask: true
// })
Taro.showLoading({
title: loadingText,
mask: true
})
}
try {