1
Showing
2 changed files
with
4 additions
and
8 deletions
| ... | @@ -80,7 +80,6 @@ const payment = reactive({ | ... | @@ -80,7 +80,6 @@ const payment = reactive({ |
| 80 | ), | 80 | ), |
| 81 | }); | 81 | }); |
| 82 | } | 82 | } |
| 83 | if (language.value == 0) { | ||
| 84 | payOrder({ | 83 | payOrder({ |
| 85 | contactPhone: payment.form.phone, | 84 | contactPhone: payment.form.phone, |
| 86 | customerIds: payment.form.viewers, | 85 | customerIds: payment.form.viewers, |
| ... | @@ -97,11 +96,10 @@ const payment = reactive({ | ... | @@ -97,11 +96,10 @@ const payment = reactive({ |
| 97 | }); | 96 | }); |
| 98 | payment.showCodeDialog = true; | 97 | payment.showCodeDialog = true; |
| 99 | startCheckSuccessListener(res.data.orderSn, props.activityId); | 98 | startCheckSuccessListener(res.data.orderSn, props.activityId); |
| 100 | } | ||
| 101 | }); | ||
| 102 | } else { | 99 | } else { |
| 103 | // 这里是英文环境支付 | 100 | // TODO:这里是英文环境支付 |
| 104 | } | 101 | } |
| 102 | }); | ||
| 105 | }, | 103 | }, |
| 106 | handleCloce() { | 104 | handleCloce() { |
| 107 | payment.showCodeDialog = false; | 105 | payment.showCodeDialog = false; | ... | ... |
| ... | @@ -126,7 +126,6 @@ const detail = reactive({ | ... | @@ -126,7 +126,6 @@ const detail = reactive({ |
| 126 | payment() { | 126 | payment() { |
| 127 | if (detail.pay_loading) return; | 127 | if (detail.pay_loading) return; |
| 128 | detail.pay_loading = true; | 128 | detail.pay_loading = true; |
| 129 | if (language.value == 0) { | ||
| 130 | // 中文支付 | 129 | // 中文支付 |
| 131 | immediatePay({ orderSn: detail.data.orderSn, payType: 1 }) | 130 | immediatePay({ orderSn: detail.data.orderSn, payType: 1 }) |
| 132 | .then((res) => { | 131 | .then((res) => { |
| ... | @@ -139,12 +138,11 @@ const detail = reactive({ | ... | @@ -139,12 +138,11 @@ const detail = reactive({ |
| 139 | }); | 138 | }); |
| 140 | detail.showCodeDialog = true; | 139 | detail.showCodeDialog = true; |
| 141 | startCheckSuccessListener(detail.data.orderSn); | 140 | startCheckSuccessListener(detail.data.orderSn); |
| 141 | } else { | ||
| 142 | // TODO:这里是英文环境支付 | ||
| 142 | } | 143 | } |
| 143 | }) | 144 | }) |
| 144 | .finally(() => (detail.pay_loading = false)); | 145 | .finally(() => (detail.pay_loading = false)); |
| 145 | } else { | ||
| 146 | // TODO: 这里是英文支付 | ||
| 147 | } | ||
| 148 | }, | 146 | }, |
| 149 | handleClose() { | 147 | handleClose() { |
| 150 | detail.showCodeDialog = false; | 148 | detail.showCodeDialog = false; | ... | ... |
-
Please register or sign in to post a comment