From e1e51991ad91c14fa00c5cf46f95e514f676ac4d Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Fri, 19 Sep 2025 18:58:56 +0800
Subject: [PATCH] 1
---
src/views/order/order-submit.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/order/order-submit.vue b/src/views/order/order-submit.vue
index 551c883..ff31e71 100644
--- a/src/views/order/order-submit.vue
+++ b/src/views/order/order-submit.vue
@@ -11,7 +11,7 @@
<div class="order-top">
<div class="title">{{ $t('orderGenerated') }}</div>
<div class="text mt-2">{{ $t('pleaseAt') }} <span>{{ msgTitle }}</span> {{ $t('paymentSeller')
- }}{{ payInfo.direction == 'recharge' ? $t('买家') : $t('卖家') }}</div>
+ }}{{ payInfo.direction == 'recharge' ? $t('买家') : $t('卖家') }}</div>
<div class="customer mt-5" @click="onRoute">
<div class="flex">
<div class="flex flex-1 service">
@@ -29,7 +29,8 @@
<div class="flex step mt-5">
<img class="success mr-1" src="@/assets/image/order/success.png" alt="" />
<!-- {{ $t('Payconfidence') }} -->
- {{ payInfo.direction == 'recharge' ? $t('买家') : $t('卖家') }} {{ payInfo.currency }} {{ $t('已存入交易所账户,请放心付款') }}
+ {{ payInfo.direction == 'recharge' ? $t('买家') : $t('卖家') }} {{ payInfo.currency }} {{ $t('已存入交易所账户,请放心付款')
+ }}
</div>
<div class="flex mt-5">
<div class="flex step flex-1">
@@ -111,6 +112,7 @@
showToast
} from 'vant';
import useClipboard from "vue-clipboard3";
+import { customerServiceUrl } from '@/config'
import { useI18n } from "vue-i18n";
const { toClipboard } = useClipboard();
const { t } = useI18n()
@@ -119,8 +121,11 @@
const showPopup = ref(false)
const orderNo = ref(null)
const onRoute = () => {
- // router.push('/order/success')
- router.push('/customerService?order_no=' + orderNo.value)
+ if (customerServiceUrl) {
+ window.location.href = customerServiceUrl;
+ } else {
+ router.push('/customerService?order_no=' + orderNo.value)
+ }
}
const onClickLeft = () => {
// router.push('/exchange/channel-in')
--
Gitblit v1.9.3