Merge branch 'feature/juguohong/20250816'
This commit is contained in:
@@ -51,7 +51,7 @@ const ListPage = () => {
|
|||||||
// 只有当状态需要改变时才更新
|
// 只有当状态需要改变时才更新
|
||||||
if (shouldShowInputNav && !isShowInputCustomerNavBar) {
|
if (shouldShowInputNav && !isShowInputCustomerNavBar) {
|
||||||
updateState({ isShowInputCustomerNavBar: true });
|
updateState({ isShowInputCustomerNavBar: true });
|
||||||
} else if (!shouldShowInputNav && isShowInputCustomerNavBar) {
|
} else {
|
||||||
updateState({ isShowInputCustomerNavBar: false });
|
updateState({ isShowInputCustomerNavBar: false });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -117,7 +117,7 @@ const ListPage = () => {
|
|||||||
Taro.showToast({
|
Taro.showToast({
|
||||||
title: "刷新成功",
|
title: "刷新成功",
|
||||||
icon: "success",
|
icon: "success",
|
||||||
duration: 1500,
|
duration: 1000,
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// 刷新失败时也停止动画
|
// 刷新失败时也停止动画
|
||||||
@@ -126,7 +126,7 @@ const ListPage = () => {
|
|||||||
Taro.showToast({
|
Taro.showToast({
|
||||||
title: "刷新失败,请重试",
|
title: "刷新失败,请重试",
|
||||||
icon: "error",
|
icon: "error",
|
||||||
duration: 1500,
|
duration: 1000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import { View, Image, Text } from "@tarojs/components";
|
import { View, Image, Text } from "@tarojs/components";
|
||||||
// import { useSearchResultState } from "@/store/searchResultStore";
|
|
||||||
import { useListStore } from "@/store/listStore";
|
import { useListStore } from "@/store/listStore";
|
||||||
import { useGlobalState } from "@/store/global";
|
import { useGlobalState } from "@/store/global";
|
||||||
import ListContainer from "@/container/listContainer";
|
import ListContainer from "@/container/listContainer";
|
||||||
|
|||||||
@@ -224,10 +224,10 @@ class HttpService {
|
|||||||
|
|
||||||
// 显示加载提示
|
// 显示加载提示
|
||||||
if (showLoading) {
|
if (showLoading) {
|
||||||
// Taro.showLoading({
|
Taro.showLoading({
|
||||||
// title: loadingText,
|
title: loadingText,
|
||||||
// mask: true
|
mask: true
|
||||||
// })
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user