diff --git a/html/wallet/css/recharge.css b/html/wallet/css/recharge.css index 3603dc8..346e813 100644 --- a/html/wallet/css/recharge.css +++ b/html/wallet/css/recharge.css @@ -50,4 +50,14 @@ width: 100%; color: #999999; } -/*# sourceMappingURL=recharge.css.map */ +.btn-recharge { + width: 100%; + height: .86rem; + background: linear-gradient(90deg, #ff9d00 0%, #ffcd34 100%); + position: fixed; + bottom: 0; + line-height: .86rem; + color: #FFFFFF; + text-align: center; + border: 1px solid #FFCD34; + z-index: 99; } diff --git a/html/wallet/css/recharge.scss b/html/wallet/css/recharge.scss index 90ebc26..8b5559f 100644 --- a/html/wallet/css/recharge.scss +++ b/html/wallet/css/recharge.scss @@ -65,4 +65,17 @@ width: 100%; color: #999999; } -} \ No newline at end of file +} + +.btn-recharge{ + width:100%; + height:.86rem; + background:linear-gradient(90deg,rgba(255,157,0,1) 0%,rgba(255,205,52,1) 100%); + position: fixed; + bottom: 0; + line-height: .86rem; + color: #FFFFFF; + text-align: center; + border: 1px solid #FFCD34; + z-index: 99; +} diff --git a/html/wallet/html/assets.html b/html/wallet/html/assets.html index 9ab0ca7..73332db 100644 --- a/html/wallet/html/assets.html +++ b/html/wallet/html/assets.html @@ -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) { diff --git a/html/wallet/html/recharge.html b/html/wallet/html/recharge.html index 9472273..d845e78 100644 --- a/html/wallet/html/recharge.html +++ b/html/wallet/html/recharge.html @@ -50,6 +50,7 @@
{{langue.attention | filtVal(coin.tokenSymbol)}}