{expired ? (
{t('订单已过期,请重新下单')}
) : (
<>
{/* 二维码 */}
{qrCodeUrl ? (

) : (
)}
{/* 支付信息 */}
{orderData && (
{t('订单号:')}
{orderData.trade_no}
{t('支付金额:')}
{formatCurrency(orderData.amount)}
{t('获得额度:')}
{renderQuota(orderData.quota)}
)}
{/* 提示文字 */}
{polling
? `🔄 ${t('正在等待支付...')}`
: t('请使用微信扫码支付')}
{/* 操作按钮 */}
} onClick={handleRefresh}>
{t('刷新二维码')}
} onClick={handleClose}>
{t('取消支付')}
>
)}