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