From 8650b490d7b008923d99a5565336eb752ecedeff Mon Sep 17 00:00:00 2001 From: luo Date: Mon, 10 Aug 2026 15:57:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=AB=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/finance/agent-recharge/index.vue | 47 ++++++++++++++++++---- 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/src/views/finance/agent-recharge/index.vue b/src/views/finance/agent-recharge/index.vue index 124ed6d..f18fca9 100644 --- a/src/views/finance/agent-recharge/index.vue +++ b/src/views/finance/agent-recharge/index.vue @@ -160,13 +160,27 @@ @closed="handleQrDialogClosed" >
- +
充值单号:{{ onlineQrRecharge.recharge_no || '-' }}
@@ -552,9 +566,15 @@ paymentMethodsLoading.value || (createMode.value === 'online' && onlinePaymentMethods.value.length === 0) ) + const onlinePaymentMethodLabel = computed(() => { + const method = onlineQrRecharge.value?.payment_method + if (method === 'wechat') return '微信支付' + if (method === 'alipay') return '支付宝' + return '' + }) const onlinePaymentStatusMessage = computed(() => { const status = onlinePaymentStatus.value?.status ?? onlineQrRecharge.value?.status - if (status === 1) return '请使用对应支付方式扫码完成支付' + if (status === 1) return `请使用${onlinePaymentMethodLabel.value || '对应支付方式'}扫码完成支付` if (status === 2) return '支付已成功,钱包正在入账,请稍候' if (status === 3) return '充值成功,钱包已到账' if (status === 4) return '充值订单已关闭,请重新发起充值' @@ -1357,6 +1377,17 @@ align-items: center; gap: 16px; + &__code-surface { + display: flex; + padding: 20px; + background: #fff; + border-radius: 8px; + } + + &__method { + font-weight: 600; + } + &__summary { display: flex; flex-direction: column;