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);