This commit is contained in:
gyq
2025-09-28 19:27:18 +08:00
parent 7895455b97
commit 3243f16cff
5 changed files with 639 additions and 513 deletions

View File

@@ -125,7 +125,7 @@
<up-loadmore :status="formhomelist.status" fontSize="14" color="#999" iconSize="14" />
</view> -->
</view>
<indexs v-if="showindex == 'shopIndex'" :shopExtend="orderVIP.shopExtendList"></indexs>
<indexs ref="indexsRef" v-if="showindex == 'shopIndex'" :shopExtend="orderVIP.shopExtendList"></indexs>
<!-- <CouponModal></CouponModal> -->
</view>
</template>
@@ -319,6 +319,9 @@ onPageScroll((res) => {
isSticky.value = res.scrollTop > elementTop.value ? true : false;
uni.$u.debounce((store.scrollTop = res.scrollTop), 500);
});
const indexsRef = ref(null);
onShow(async () => {
try {
uni.getLocation({
@@ -343,6 +346,8 @@ onShow(async () => {
}
}
});
indexsRef.value.getVipConfig();
} catch (error) {
try {
let successres = await APIgeocodelocation({