This commit is contained in:
1154079537 2024-06-14 17:52:32 +08:00
parent 068c8c258d
commit 2e346ce90e
1 changed files with 8 additions and 1 deletions

View File

@ -358,6 +358,12 @@
}).then(res => { }).then(res => {
if (loadmore) goodList.value.push(...res.data.lists); if (loadmore) goodList.value.push(...res.data.lists);
else goodList.value = res.data.lists; else goodList.value = res.data.lists;
//
if (!STORE_INFO.value.name || !STORE_INFO.value.detailed_address) {
STORE_INFO.value.name = res.data.store.name;
STORE_INFO.value.detailed_address = res.data.store.detailed_address;
}
}) })
} }
@ -540,7 +546,7 @@
top: 0, top: 0,
bottom: 0, bottom: 0,
left: 0 left: 0
}) });
onLoad(async (opt) => { onLoad(async (opt) => {
// id // id
@ -561,6 +567,7 @@
getgoodClassList(0); getgoodClassList(0);
getGoodList(); getGoodList();
//
btns.value = uni.getMenuButtonBoundingClientRect(); btns.value = uni.getMenuButtonBoundingClientRect();
}) })