增加网络波动加载中,增加会员信息扫码充值

This commit is contained in:
wwz
2025-03-26 17:58:52 +08:00
parent 3a6fa55234
commit 98ce8b5544
18 changed files with 1018 additions and 128 deletions

View File

@@ -127,7 +127,7 @@
<up-loadmore :status="formhomelist.status" fontSize="14" color="#999" iconSize="14" />
</view>
</view>
<indexs v-if="showindex == 'shopIndex'"></indexs>
<indexs v-if="showindex == 'shopIndex'" :shopExtend='orderVIP.shopExtendList'></indexs>
</view>
</template>
@@ -139,7 +139,8 @@
reactive,
onBeforeUnmount,
watch,
getCurrentInstance
getCurrentInstance,
nextTick
} from "vue";
import {
onLoad,
@@ -235,7 +236,7 @@
size: 10, //页容量
status: 'loadmore',
name: '1',
list:[]
list: []
})
// 使用 reactive 创建响应式对象
const timeData = ref({});
@@ -287,7 +288,7 @@
formhomelist.status = 'loading';
}
}
} catch (e) {}
}
// /筛选数据处理
@@ -307,6 +308,10 @@
onLoadhome()
}
const orderVIP = ref({
shopExtendList:''
})
// 弹出层处理
const showproductlist = ref(false);
// 定义方法
@@ -393,7 +398,9 @@
await proxy.$onLaunched;
if (uni.cache.get('shopId')) {
showindex.value = 'shopIndex'
await storeuser.actionsAPIuser()
await storeuser.actionsproductqueryProduct()
await nextTick()
orderVIP.value = uni.cache.get('orderVIP')
} else {
showindex.value = 'index'
hometop()