|
|
@@ -21,12 +21,7 @@
|
|
|
<div class="text1">GAS费用</div>
|
|
|
<div class="text2">¥{{ gas }}</div>
|
|
|
</div>
|
|
|
- <div
|
|
|
- v-if="couponList.length > 0"
|
|
|
- class="info"
|
|
|
- :class="{ not: !couponInfo }"
|
|
|
- @click="$router.push('/couponList?collectionId=' + info.id)"
|
|
|
- >
|
|
|
+ <div v-if="couponList.length > 0" class="info" :class="{ not: !couponInfo }" @click="goCoupon">
|
|
|
<div class="text1">藏品兑换券</div>
|
|
|
<div class="text2">{{ couponInfo ? '已选择兑换券' : '请选择' }}</div>
|
|
|
<img class="inter" src="../assets/icon_inter.png" alt="" />
|
|
|
@@ -281,6 +276,11 @@ export default {
|
|
|
this.$toast(e.error);
|
|
|
}
|
|
|
});
|
|
|
+ },
|
|
|
+ goCoupon() {
|
|
|
+ if (!this.orderId) {
|
|
|
+ this.$router.push('/couponList?collectionId=' + this.info.id);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|