|
|
|
@ -279,19 +279,6 @@ |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function recharge() { |
|
|
|
|
walletApi.getRecharge({ |
|
|
|
|
walletType: dataInfo.coin.walletType, |
|
|
|
|
moduleType: dataInfo.coin.moduleType, |
|
|
|
|
addr: dataInfo.coin.addr, |
|
|
|
|
tokenId:dataInfo.coin.tokenSymbol |
|
|
|
|
}, |
|
|
|
|
function(data) { |
|
|
|
|
app.toast(data.msg) |
|
|
|
|
console.log(data.msg) |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 记录页面监听 |
|
|
|
|
mui(".transaction-data-record").on("tap", "li", function() { |
|
|
|
@ -320,13 +307,10 @@ |
|
|
|
|
}); |
|
|
|
|
// 充值点击事件 |
|
|
|
|
document.getElementById('btn-recharge').addEventListener('tap', function() { |
|
|
|
|
console.log() |
|
|
|
|
console.log(JSON.stringify(dataInfo.coin)); |
|
|
|
|
recharge(); |
|
|
|
|
// app.openWin('recharge.html', 'recharge.html', '', { |
|
|
|
|
// index: dataInfo.coin.coinIndex, |
|
|
|
|
// coin: dataInfo.coin |
|
|
|
|
// }); |
|
|
|
|
app.openWin('recharge.html', 'recharge.html', '', { |
|
|
|
|
index: dataInfo.coin.coinIndex, |
|
|
|
|
coin: dataInfo.coin |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
// 国际化统一方法 |
|
|
|
|
window.addEventListener('switchLangueData', function(e) { |
|
|
|
|