@@ -522,119 +497,5 @@ function onPay() {
margin: 0;
}
}
-
- // 成功结果态
- &__result {
- flex: 1;
- min-height: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 32px 24px calc(24px + env(safe-area-inset-bottom, 0px));
- text-align: center;
- animation: code-pay-result-up 0.45s ease-out;
- }
-
- &__result-icon {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 80px;
- height: 80px;
- border-radius: 50%;
- margin-bottom: 20px;
- background: rgb(7 193 96 / 10%);
- animation: code-pay-result-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
- }
-
- &__result-title {
- font-size: 22px;
- font-weight: 600;
- color: var(--h5-text-primary);
- margin-bottom: 12px;
- }
-
- &__result-amount {
- font-size: 36px;
- font-weight: 600;
- color: var(--h5-text-primary);
- line-height: 1.2;
- margin-bottom: 24px;
- }
-
- &__result-currency {
- font-size: 20px;
- margin-right: 4px;
- font-weight: 500;
- }
-
- &__result-card {
- width: 100%;
- max-width: 320px;
- margin-bottom: 28px;
- padding: 16px 20px;
- background: var(--h5-bg-card);
- border-radius: 12px;
- box-shadow: var(--h5-shadow-card);
- text-align: left;
- }
-
- &__result-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 12px;
- font-size: 13px;
- margin-bottom: 10px;
-
- &:last-child {
- margin-bottom: 0;
- }
-
- span:first-child {
- flex-shrink: 0;
- color: var(--h5-text-secondary);
- }
-
- span:last-child {
- flex: 1;
- min-width: 0;
- color: var(--h5-text-primary);
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
-
- &__result-btn {
- width: 100%;
- max-width: 320px;
- }
-}
-
-@keyframes code-pay-result-up {
- from {
- opacity: 0;
- transform: translateY(16px);
- }
-
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-@keyframes code-pay-result-pop {
- from {
- opacity: 0;
- transform: scale(0.6);
- }
-
- to {
- opacity: 1;
- transform: scale(1);
- }
}
diff --git a/src/shared/locales/en-US/codePay.json b/src/shared/locales/en-US/codePay.json
index 0945ba8..4b2400e 100644
--- a/src/shared/locales/en-US/codePay.json
+++ b/src/shared/locales/en-US/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "Merchant",
"payToMerchant": "Pay to {name}",
"paySuccess": "Payment successful",
+ "paidTip": "Payment completed. Thank you",
"payFail": "Payment failed, please retry",
"payLaunched": "Payment launched",
"payPending": "Order created, please complete payment",
diff --git a/src/shared/locales/id-ID/codePay.json b/src/shared/locales/id-ID/codePay.json
index 59b7049..1343821 100644
--- a/src/shared/locales/id-ID/codePay.json
+++ b/src/shared/locales/id-ID/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "Merchant",
"payToMerchant": "Bayar ke {name}",
"paySuccess": "Pembayaran berhasil",
+ "paidTip": "Pembayaran selesai. Terima kasih",
"payFail": "Pembayaran gagal, coba lagi",
"payLaunched": "Pembayaran diluncurkan",
"payPending": "Pesanan dibuat, selesaikan pembayaran",
diff --git a/src/shared/locales/ja-JP/codePay.json b/src/shared/locales/ja-JP/codePay.json
index ac26e3b..71a74a7 100644
--- a/src/shared/locales/ja-JP/codePay.json
+++ b/src/shared/locales/ja-JP/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "加盟店",
"payToMerchant": "{name} へ支払い",
"paySuccess": "支払い成功",
+ "paidTip": "支払いが完了しました。ありがとうございます",
"payFail": "支払いに失敗しました。再試行してください",
"payLaunched": "支払いを開始しました",
"payPending": "注文が作成されました。支払いを完了してください",
diff --git a/src/shared/locales/ko-KR/codePay.json b/src/shared/locales/ko-KR/codePay.json
index 0fde8d7..53d43aa 100644
--- a/src/shared/locales/ko-KR/codePay.json
+++ b/src/shared/locales/ko-KR/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "가맹점",
"payToMerchant": "{name}에 결제",
"paySuccess": "결제 성공",
+ "paidTip": "결제가 완료되었습니다. 감사합니다",
"payFail": "결제 실패, 다시 시도하세요",
"payLaunched": "결제가 시작되었습니다",
"payPending": "주문이 생성되었습니다. 결제를 완료하세요",
diff --git a/src/shared/locales/ms-MY/codePay.json b/src/shared/locales/ms-MY/codePay.json
index fc016c1..bd1b74a 100644
--- a/src/shared/locales/ms-MY/codePay.json
+++ b/src/shared/locales/ms-MY/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "Pedagang",
"payToMerchant": "Bayar kepada {name}",
"paySuccess": "Pembayaran berjaya",
+ "paidTip": "Pembayaran selesai. Terima kasih",
"payFail": "Pembayaran gagal, cuba lagi",
"payLaunched": "Pembayaran dilancarkan",
"payPending": "Pesanan dicipta, sila lengkapkan pembayaran",
diff --git a/src/shared/locales/th-TH/codePay.json b/src/shared/locales/th-TH/codePay.json
index c866aa7..0fa62fe 100644
--- a/src/shared/locales/th-TH/codePay.json
+++ b/src/shared/locales/th-TH/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "ร้านค้า",
"payToMerchant": "ชำระให้ {name}",
"paySuccess": "ชำระเงินสำเร็จ",
+ "paidTip": "ชำระเงินสำเร็จ ขอบคุณที่ใช้บริการ",
"payFail": "ชำระเงินไม่สำเร็จ โปรดลองอีกครั้ง",
"payLaunched": "เปิดการชำระเงินแล้ว",
"payPending": "สร้างคำสั่งซื้อแล้ว โปรดชำระเงินให้เสร็จ",
diff --git a/src/shared/locales/vi-VN/codePay.json b/src/shared/locales/vi-VN/codePay.json
index f639ce1..7032f18 100644
--- a/src/shared/locales/vi-VN/codePay.json
+++ b/src/shared/locales/vi-VN/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "Merchant",
"payToMerchant": "Thanh toán cho {name}",
"paySuccess": "Thanh toán thành công",
+ "paidTip": "Thanh toán hoàn tất. Cảm ơn bạn",
"payFail": "Thanh toán thất bại, vui lòng thử lại",
"payLaunched": "Đã mở thanh toán",
"payPending": "Đơn đã tạo, vui lòng hoàn tất thanh toán",
diff --git a/src/shared/locales/zh-CN/codePay.json b/src/shared/locales/zh-CN/codePay.json
index 6c53174..06e7a5b 100644
--- a/src/shared/locales/zh-CN/codePay.json
+++ b/src/shared/locales/zh-CN/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "收款商户",
"payToMerchant": "向{name}付款",
"paySuccess": "支付成功",
+ "paidTip": "支付已完成,感谢使用",
"payFail": "支付失败, 请重试",
"payLaunched": "支付已拉起",
"payPending": "订单已创建, 请完成支付",
diff --git a/src/shared/locales/zh-HK/codePay.json b/src/shared/locales/zh-HK/codePay.json
index 764fcdf..19b763a 100644
--- a/src/shared/locales/zh-HK/codePay.json
+++ b/src/shared/locales/zh-HK/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "收款商戶",
"payToMerchant": "向{name}付款",
"paySuccess": "支付成功",
+ "paidTip": "支付已完成,感謝使用",
"payFail": "支付失敗,請重試",
"payLaunched": "支付已拉起",
"payPending": "訂單已建立,請完成支付",
diff --git a/src/shared/locales/zh-TW/codePay.json b/src/shared/locales/zh-TW/codePay.json
index 764fcdf..19b763a 100644
--- a/src/shared/locales/zh-TW/codePay.json
+++ b/src/shared/locales/zh-TW/codePay.json
@@ -13,6 +13,7 @@
"merchantDefault": "收款商戶",
"payToMerchant": "向{name}付款",
"paySuccess": "支付成功",
+ "paidTip": "支付已完成,感謝使用",
"payFail": "支付失敗,請重試",
"payLaunched": "支付已拉起",
"payPending": "訂單已建立,請完成支付",