充值单号:{{ 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;