优化
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user