diff --git a/src/project/fengdu/AppRedemptionPoints/placeOrder.vue b/src/project/fengdu/AppRedemptionPoints/placeOrder.vue index aeba23c..1bc120d 100644 --- a/src/project/fengdu/AppRedemptionPoints/placeOrder.vue +++ b/src/project/fengdu/AppRedemptionPoints/placeOrder.vue @@ -105,7 +105,7 @@ export default { }, toSuccess() { var integralPrice = this.goodsNum*this.goodsInfo.integralPrice - uni.navigateTo({url: `./successOrder?isFree=${this.goodsInfo.type}&integralPrice=${integralPrice}&backLevel=${this.backLevel}&goodsJdUrl=${this.goodsInfo.jdUrl}&shopGoodsId=${this.goodsInfo.shopGoodsId}`}) + uni.navigateTo({url: `./successOrder?integralPrice=${integralPrice}&backLevel=${this.backLevel}&shopGoodsId=${this.goodsInfo.shopGoodsId}`}) } }, } diff --git a/src/project/fengdu/AppRedemptionPoints/successOrder.vue b/src/project/fengdu/AppRedemptionPoints/successOrder.vue index acac937..1f4ebbe 100644 --- a/src/project/fengdu/AppRedemptionPoints/successOrder.vue +++ b/src/project/fengdu/AppRedemptionPoints/successOrder.vue @@ -3,7 +3,7 @@ -
+

提交成功

提交「免费兑」订单成功,扣减 {{integralPrice}}积分

@@ -29,10 +29,8 @@ export default { appName: '提交订单', data() { return { - isFree: 0, // 0免费 1京东 integralPrice: 0, backLevel: 1, - goodsJdUrl: '', shopGoodsId: '', goodsInfo: {} } @@ -41,10 +39,9 @@ export default { ...mapState(['user']), }, onLoad(option) { - this.isFree = option.isFree + console.log(option) this.integralPrice = option.integralPrice this.backLevel = option.backLevel - this.goodsJdUrl = option.goodsJdUrl this.shopGoodsId = option.shopGoodsId this.getDetail() }, @@ -58,7 +55,7 @@ export default { }, openJd() { if(this.goodsInfo.type == 1) { - uni.navigateTo({url: `./jdH5?goodsJdUrl=${this.goodsJdUrl}`}) + uni.navigateTo({url: `./jdH5?goodsJdUrl=${this.goodsInfo.jdUrl}`}) }else { uni.navigateToMiniProgram({ appId: this.goodsInfo.jdAppid,