From bc02f4d84479e7f68139d290ee40a35bea7c9dda Mon Sep 17 00:00:00 2001 From: Gao xiaosong <704041637@qq.com> Date: Sat, 19 Dec 2020 13:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E9=80=89=E6=8B=A9=E4=B8=8D?= =?UTF-8?q?=E5=90=8C=E8=A7=84=E6=A0=BC=EF=BC=8C=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E4=B8=8A=E7=9A=84=E4=BB=B7=E6=A0=BC=E5=BA=94?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E8=A7=84=E6=A0=BC=E8=BF=9B=E8=A1=8C=E5=8F=98?= =?UTF-8?q?=E5=8C=96=E8=BE=93=E5=85=A5=E5=9B=BE=E7=89=87=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 9053f07..7e922e5 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -9,8 +9,8 @@ - {{ storeInfo.price }} - ¥{{ storeInfo.vipPrice }} + {{ attr.productSelect.price || storeInfo.price }} + ¥{{ attr.productSelect.vipPrice || storeInfo.vipPrice }} @@ -312,7 +312,7 @@ let url = handleQrCode(); if (!url) { url = handleUrlParam(getCurrentPageUrlWithArgs()) - } + } this.coupons(); if (url && url.id) { this.id = url.id; @@ -593,7 +593,7 @@ page: 1, limit: 20, }; - getCoupon(q).then((res) => { + getCoupon(q).then((res) => { that.$set(that, "couponList", res.data || []); that.$set(that.coupon, "list", res.data); @@ -615,6 +615,7 @@ // 修改了规格 let productSelect = this.productValue[res.value]; + console.log(productSelect) if (productSelect) { this.attr.productAttr[res.indexw].index = res.indexn; this.$set(this.attr.productSelect, "image", productSelect.image);