Merge branch master into feature/juguohong/20250816

This commit is contained in:
李瑞
2025-09-30 15:58:59 +08:00
190 changed files with 14267 additions and 2085 deletions

View File

@@ -13,6 +13,7 @@ import DistanceQuickFilter from "@/components/DistanceQuickFilter";
import { withAuth } from "@/components";
import { updateUserLocation } from "@/services/userService";
// import ShareCardCanvas from "@/components/ShareCardCanvas";
import { useDictionaryStore } from "@/store/dictionaryStore";
const ListPage = () => {
@@ -163,11 +164,11 @@ const ListPage = () => {
Taro.stopPullDownRefresh();
// 显示刷新成功提示
Taro.showToast({
title: "刷新成功",
icon: "success",
duration: 1000,
});
// Taro.showToast({
// title: "刷新成功",
// icon: "success",
// duration: 1000,
// });
} catch (error) {
// 刷新失败时也停止动画
Taro.stopPullDownRefresh();
@@ -269,6 +270,19 @@ const ListPage = () => {
// imageUrl: shareImagePath || ''
// }
// })
// 初始化字典数据
const initDictionaryData = async () => {
try {
const { fetchDictionary } = useDictionaryStore.getState();
await fetchDictionary();
} catch (error) {
console.error("初始化字典数据失败:", error);
}
}
useEffect(() => {
initDictionaryData()
}, []);
return (
<>