提交 去掉paypal

This commit is contained in:
2025-02-24 13:50:00 +08:00
parent 202b63322d
commit 9e02df8f96

View File

@@ -66,7 +66,7 @@
</div>
<div class="SettlementInstallmentOptionArea">
<div class="optionArea">
<div
<!-- <div
class="installmentOption"
:class="selectedPaymentMethod == 'PayPal' ? 'isSelect' : ''"
@click="selectPaymentMethod('PayPal')"
@@ -92,7 +92,7 @@
</div>
<div v-if="selectedPaymentMethod === 'PayPal'" class="checkmark"></div>
</div>
</div>
</div> -->
<div
class="installmentOption"
:class="selectedPaymentMethod == 'Paystation' ? 'isSelect' : ''"
@@ -184,7 +184,8 @@ export default {
articleInfo: {},
journalInfo: {},
total: '',
selectedPaymentMethod: 'PayPal', // 默认选中 PayPal
// selectedPaymentMethod: 'PayPal', // 默认选中 PayPal
selectedPaymentMethod: 'Paystation', // 默认选中 PayPal
articleId: this.$route.query.id,
urlList: {
detail: 'api/Order/preOrderDetail',
@@ -239,10 +240,12 @@ export default {
.then((res) => {
console.log('res at line 222:', res);
if (res.code == 0) {
window.location.href = res.data.paystation.payme_url; loading.close();
this.$router.push(res.data.paystation.payment_url)
// window.location.href = res.data.paystation.payment_url;
loading.close();
} else {
this.$message.error(res.data.msg);
loading.close()
}
});
},