From 45b8ef63bd57a4ba89f071cf178c43968673f7fb Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Tue, 11 Jun 2024 15:58:53 +0800 Subject: [PATCH] add --- components/goodPopup.vue | 2 ++ config/app.js | 4 ++-- pages/index/index.vue | 4 +++- pagesOrder/order/component/good.vue | 36 +++++++++++++++++++++-------- pagesOrder/settle/settle.vue | 1 - 5 files changed, 33 insertions(+), 14 deletions(-) diff --git a/components/goodPopup.vue b/components/goodPopup.vue index 9e1307c..576c9e7 100644 --- a/components/goodPopup.vue +++ b/components/goodPopup.vue @@ -70,6 +70,8 @@ cart_num: '' }); const setData = (e) => { + console.log(datas.value) + datas.value = e; } diff --git a/config/app.js b/config/app.js index 85facca..ab2ac5f 100644 --- a/config/app.js +++ b/config/app.js @@ -1,8 +1,8 @@ let BASE_URL import store from "@/store/user.js" // 环境 -// let env = "dev" -let env = "prod" +let env = "dev" +// let env = "prod" // let env = "liu"; switch (env) { diff --git a/pages/index/index.vue b/pages/index/index.vue index f24929d..c2382d1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -332,7 +332,7 @@ pid: pid, page_no: page_no, page_size: 30, - three: three, + leve: three, store_id: STORE_INFO.id || '' // 店铺id,用于获取店铺分类列表,如果为空则获取全部分类列表,否则获取店铺分类列表。 }).then(res => { if (pid == 0) { // 加载一级分类时设置全部分类 @@ -428,6 +428,8 @@ }) } + // uni.setStorageSync() + // 选择商品相关 const showGoodPopup = ref(false); const goodRef = ref(null); diff --git a/pagesOrder/order/component/good.vue b/pagesOrder/order/component/good.vue index 8285294..a81b19a 100644 --- a/pagesOrder/order/component/good.vue +++ b/pagesOrder/order/component/good.vue @@ -53,9 +53,8 @@ @click="rePay">立即支付 - - + 核销码 再次购买 申请售后 - + + + + + + + + 核销码 {{datas.verify_code}} + + + + +