feat: 优化确认提示信息格式,简化兑换、转账和提现页面的消息展示

This commit is contained in:
2026-01-19 01:11:14 +07:00
parent 2c16893e87
commit 8d0e5fbb29
3 changed files with 3 additions and 22 deletions

View File

@@ -151,13 +151,7 @@ async function handleSubmit() {
const alert = await alertController.create({
header: "确认兑换",
message: `
<div style="text-align: left; padding: 12px 0;">
<p style="margin: 8px 0;"><strong>兑换金额:</strong>¥${amount.toFixed(2)}</p>
<p style="margin: 8px 0;"><strong>转出钱包:</strong>${fromWallet.value.walletType.name}</p>
<p style="margin: 8px 0;"><strong>转入钱包:</strong>${toWallet.value.walletType.name}</p>
</div>
`,
message: `兑换金额:¥${amount.toFixed(2)}\n转出钱包${fromWallet.value.walletType.name}\n转入钱包${toWallet.value.walletType.name}`,
buttons: [
{
text: "取消",