完成订单详情

This commit is contained in:
wwz
2025-03-13 09:15:51 +08:00
parent 7dde4ed754
commit e6ca187e5a
14 changed files with 219 additions and 176 deletions

View File

@@ -723,7 +723,7 @@
//获取多规格数据
const clickspecifications = async (item, index, indexs, type) => {
console.log(item, index, indexs, type)
// console.log(item, index, indexs, type)
// 数量清零
shopCartNumber.value = 0
// 初始化
@@ -883,7 +883,7 @@
// 购物车数据更新从新请求
if (Message.type == 'product') {
isDataLoaded.value = false;
await productqueryProduct()
uni.$u.debounce(productqueryProduct(), 500)
// 数据可以更新
}
@@ -1110,6 +1110,7 @@
})
onMounted(async () => {
await proxy.$onLaunched;
// 获取当前页面栈
const pages = getCurrentPages();
// 获取当前页面实例
@@ -1119,6 +1120,7 @@
// #ifdef MP-WEIXIN
if (options.q) {
console.log(options.q)
const store = productStore();
await store.scanCodeactions(options.q)
}