diff --git a/components/PaymentPopup.vue b/components/PaymentPopup.vue index 81a4521..70d244e 100644 --- a/components/PaymentPopup.vue +++ b/components/PaymentPopup.vue @@ -70,9 +70,12 @@ range-key="name" @change="onCouponChange" :value="couponIndex" - :disabled="!coupons || coupons.length === 0" + :disabled="(!coupons || coupons.length === 0) || useGamePass" > - + + + 多次卡不可与优惠券同享 + {{ selectedCoupon.name }} (-¥{{ effectiveCouponDiscount.toFixed(2) }}) (最高抵扣50%) @@ -216,6 +219,10 @@ watch(() => props.visible, (newVal) => { function toggleGamePass() { useGamePass.value = !useGamePass.value + // Mutually Exclusive: If Game Pass is ON, clear Coupon. + if (useGamePass.value) { + couponIndex.value = -1 + } } const selectedCoupon = computed(() => {