From 51ebb5ecc28dfb518db0a99bd55babadee75a781 Mon Sep 17 00:00:00 2001 From: bootx Date: Mon, 20 Jul 2026 23:20:25 +0800 Subject: [PATCH] =?UTF-8?q?refactor(h5/code-pay):=20=E6=8A=BD=E5=8F=96?= =?UTF-8?q?=E7=A0=81=E7=89=8C=E6=88=90=E5=8A=9F=E7=BB=93=E6=9E=9C=E9=A1=B5?= =?UTF-8?q?=E4=B8=BA=E7=8B=AC=E7=AB=8B=E7=BB=84=E4=BB=B6=E5=B9=B6=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=E8=81=9A=E5=90=88=E4=B8=8A=E6=B5=AE=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../code-pay/shared/CodePayResultCard.vue | 288 ++++++++++++++++++ .../views/code-pay/shared/CodePayShell.vue | 167 +--------- src/shared/locales/en-US/codePay.json | 1 + src/shared/locales/id-ID/codePay.json | 1 + src/shared/locales/ja-JP/codePay.json | 1 + src/shared/locales/ko-KR/codePay.json | 1 + src/shared/locales/ms-MY/codePay.json | 1 + src/shared/locales/th-TH/codePay.json | 1 + src/shared/locales/vi-VN/codePay.json | 1 + src/shared/locales/zh-CN/codePay.json | 1 + src/shared/locales/zh-HK/codePay.json | 1 + src/shared/locales/zh-TW/codePay.json | 1 + 12 files changed, 312 insertions(+), 153 deletions(-) create mode 100644 src/mobile/views/code-pay/shared/CodePayResultCard.vue diff --git a/src/mobile/views/code-pay/shared/CodePayResultCard.vue b/src/mobile/views/code-pay/shared/CodePayResultCard.vue new file mode 100644 index 0000000..27991d2 --- /dev/null +++ b/src/mobile/views/code-pay/shared/CodePayResultCard.vue @@ -0,0 +1,288 @@ + + + + + diff --git a/src/mobile/views/code-pay/shared/CodePayShell.vue b/src/mobile/views/code-pay/shared/CodePayShell.vue index b65cde3..9668c93 100644 --- a/src/mobile/views/code-pay/shared/CodePayShell.vue +++ b/src/mobile/views/code-pay/shared/CodePayShell.vue @@ -8,6 +8,7 @@ import { computed, ref, unref } from 'vue' import { useI18n } from 'vue-i18n' import { useDesignSetting } from '@/shared/hooks/setting/useDesignSetting' +import CodePayResultCard from './CodePayResultCard.vue' defineOptions({ name: 'CodePayShell' }) @@ -169,47 +170,21 @@ function onPay() { '--brand-action-text': effectiveActionText, }" > - -
-
- -
- -
- {{ t('codePay.paySuccess') }} -
-
- ¥{{ displayAmount }} -
-
-
- - {{ t('codePay.merchantDefault') }} - {{ merchantName }} -
-
- - {{ t('codePay.orderNo') }} - {{ orderNo }} -
-
- - - {{ t('codePay.closePage') }} - -
+ +
+ + +