Feat:旅居礼品下单
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="price-wrap">
|
||||
<view class="price-wrap" v-if="!(isGroupBuy && isPayOk)">
|
||||
<view class="v12-font-28 v12-dark-text v12-font-bold">价格明细</view>
|
||||
<view class="v12-justify-between v12-align-center v12-font-28 v12-mt-1">
|
||||
<view class="v12-font-24 v12-dark-text">商品总价:</view>
|
||||
@@ -141,7 +141,7 @@
|
||||
<view class="btn-wrap v12-mt-12 v12-justify-center" v-if="!isPayOk">
|
||||
<view class="gift-submit" @click="showPayPicker = true">付款并赠送</view>
|
||||
</view>
|
||||
<view class="btn-wrap v12-mt-14 v12-justify-center" v-if="isPayOk">
|
||||
<view class="btn-wrap v12-mt-14 v12-justify-center" v-if="isPayOk && !isGroupBuy">
|
||||
<view class="gift-submit" @click="makeAgain">再送一份</view>
|
||||
</view>
|
||||
<view class="tip-wrap v12-justify-center">
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user