Feat:旅居礼包收礼
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
:card="giftCard"
|
||||
:isTravelGroup="isTravelGroup"
|
||||
:addr="giftChooseAddress"
|
||||
@receive="getGiftCard($event)" />
|
||||
@receive="onReceive($event)" />
|
||||
<view v-else>
|
||||
<view class="no-img-wrap">
|
||||
<view class="wrap-box" >
|
||||
@@ -58,6 +58,13 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onReceive(code) {
|
||||
if(this.isTravelGroup) {
|
||||
this.getSojoumGroupBuyGiftDetail(code)
|
||||
} else {
|
||||
this.getGiftCard(code)
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 获取旅居团购礼品卡订单详情
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user