diff --git a/pkg_user/views/gift/gift.vue b/pkg_user/views/gift/gift.vue index 75fb084..0e0946a 100644 --- a/pkg_user/views/gift/gift.vue +++ b/pkg_user/views/gift/gift.vue @@ -87,7 +87,7 @@ - + 价格明细 商品总价: @@ -141,7 +141,7 @@ 付款并赠送 - + 再送一份 @@ -460,6 +460,7 @@ export default { templateId: this.templateId, message : this.message || '礼笺轻启,礼藏心意', canTransfer: this.canTransfer ? 1 : 0, + passwordPay: this.payPassword || '', payType: this.payType, } : { orderKey: this.orderKey, @@ -572,11 +573,13 @@ export default { } createGroupBuyGift(params).then(res => { if (res.status === 200) { - this.coverList = res.data.giftCardGiftNotice || [] + this.coverList = res.data.giftCardTemplates || [] + this.giftNotice = res.data.giftCardGiftNotice + this.templateId = res.data.giftCardTemplates[0].id || '' this.orderKey = res.data.orderKey + this.giftImage = res.data.giftCardTemplates[0].id this.goodsInfo = { ...res.data.travelGroupProduct, - } this.giftNotice = res.data.giftCardGiftNotice }