This commit is contained in:
parent
068c8c258d
commit
2e346ce90e
|
@ -358,6 +358,12 @@
|
|||
}).then(res => {
|
||||
if (loadmore) goodList.value.push(...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,
|
||||
bottom: 0,
|
||||
left: 0
|
||||
})
|
||||
});
|
||||
|
||||
onLoad(async (opt) => {
|
||||
// 店铺id
|
||||
|
@ -561,6 +567,7 @@
|
|||
getgoodClassList(0);
|
||||
getGoodList();
|
||||
|
||||
// 胶囊布局信息
|
||||
btns.value = uni.getMenuButtonBoundingClientRect();
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue