|
@@ -49,7 +49,8 @@ const payMethod = ref('paypal')
|
|
|
const countryCode = ref('US')
|
|
|
const postCode = ref('')
|
|
|
const paypalLoading = ref(true)
|
|
|
-const paddleShow = ref(true)
|
|
|
+// const paddleShow = ref(true)
|
|
|
+const paddleShow = ref(false)
|
|
|
const paymentID = ref(null)
|
|
|
|
|
|
// 回到上一级
|
|
@@ -110,17 +111,17 @@ let useTeamDiscount = computed(() => {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-watch(productNum, () => {
|
|
|
- if (productNum.value > 100 && paddleShow.value) {
|
|
|
- paddleShow.value = false
|
|
|
- if (payMethod.value === 'paddle') {
|
|
|
- payMethod.value = 'paypal'
|
|
|
- }
|
|
|
- }
|
|
|
- if (productNum.value <= 100 && !paddleShow.value) {
|
|
|
- paddleShow.value = true
|
|
|
- }
|
|
|
-})
|
|
|
+// watch(productNum, () => {
|
|
|
+// if (productNum.value > 100 && paddleShow.value) {
|
|
|
+// paddleShow.value = false
|
|
|
+// if (payMethod.value === 'paddle') {
|
|
|
+// payMethod.value = 'paypal'
|
|
|
+// }
|
|
|
+// }
|
|
|
+// if (productNum.value <= 100 && !paddleShow.value) {
|
|
|
+// paddleShow.value = true
|
|
|
+// }
|
|
|
+// })
|
|
|
|
|
|
// 查询支付状态
|
|
|
const getState = (trade_no, payMethod) => {
|