收口个人中心扫码支付面板

迁移 Native 支付二维码确认面板到 PlatformSubpanel

保留二维码生成展示和确认支付流程

补充扫码支付面板公共子面板断言并更新文档和 Hermes
This commit is contained in:
2026-06-10 12:28:23 +08:00
parent 2a9514a975
commit 1df16377ce
4 changed files with 19 additions and 3 deletions

View File

@@ -3226,7 +3226,12 @@ function ProfileRechargeModal({
)}
{nativePayment ? (
<div className="platform-subpanel mt-4 rounded-2xl px-4 py-4 text-center">
<PlatformSubpanel
as="div"
radius="sm"
padding="md"
className="mt-4 text-center"
>
<div className="text-sm font-black"></div>
<div className="mx-auto mt-3 flex h-[180px] w-[180px] items-center justify-center rounded-xl bg-white p-2">
{nativeQrImageUrl ? (
@@ -3250,7 +3255,7 @@ function ProfileRechargeModal({
>
{nativePayment.isConfirming ? '确认中' : '我已支付'}
</PlatformActionButton>
</div>
</PlatformSubpanel>
) : null}
</div>
</div>