From 6c085426de941013e9fce49deb429a878ec64bf5 Mon Sep 17 00:00:00 2001 From: li Date: Tue, 31 Mar 2026 10:53:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=90=E6=AC=BE=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B8=81=E7=A7=8D=E9=80=89=E6=8B=A9=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. "Select Coin"改为i18n国际化 2. BTC/ETH使用真实curr_id(3/4)替代静态占位ID 3. 手续费显示统一使用后端返回的process字段 --- pages/index/withdraw.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/index/withdraw.vue b/pages/index/withdraw.vue index 2ff4a67..098ea61 100644 --- a/pages/index/withdraw.vue +++ b/pages/index/withdraw.vue @@ -44,7 +44,7 @@ - Select Coin + {{i18n.withdraw.text1}} {{item.name}} @@ -95,7 +95,7 @@ :style="'background-color: '+theme.fu_bg+';color: '+theme.text"> {{i18n.withdraw.text7}} - {{lian==0?data.erc_process:data.process}} + {{data.process}} {{curr}} @@ -409,13 +409,14 @@ if (res.code == 1) { this.list = res.data // 构建币种选择列表,确保包含 BTC 和 ETH + // BTC curr_id=3, ETH curr_id=4(与后端 app_currency 表对应) let types = [...res.data] let names = types.map(t => t.name.toUpperCase()) if (!names.includes('BTC')) { - types.push({ id: 'btc_static', name: 'BTC' }) + types.push({ id: 3, name: 'BTC' }) } if (!names.includes('ETH')) { - types.push({ id: 'eth_static', name: 'ETH' }) + types.push({ id: 4, name: 'ETH' }) } this.coinTypes = types this.curr = res.data[0].name