19 files deleted
5 files modified
| | |
| | | RedeemAll: "Redeem all", |
| | | Price: "Price", |
| | | Withdraw: "Withdraw", |
| | | WithdrawalAmount: 'Withdrawal amount', |
| | | WithdrawalAll: 'Withdraw all', |
| | | TotalBalance: "Total balance", |
| | | Confirm: "Confirm", |
| | | Tip1: "Convert the ETH coins you dug into USDT, starting at 0.1ETH", |
| | |
| | | RedeemAll: "全部兑换", |
| | | Price: "价格", |
| | | Withdraw: "提现", |
| | | WithdrawalAmount: "提现金额", |
| | | WithdrawalAll: "全部提现", |
| | | TotalBalance: "总金额", |
| | | Confirm: "确认", |
| | | Tip1: "从0.1分开始,将您挖掘的ETH硬币转换为USDT", |
| | |
| | | |
| | | app.config.globalProperties.$axios = axios; |
| | | |
| | | import Vconsole from 'vconsole' |
| | | const vConsole = new Vconsole() |
| | | // import Vconsole from 'vconsole' |
| | | // const vConsole = new Vconsole() |
| | | |
| | | app.mount('#app') |
| | |
| | | <span>USDT</span> |
| | | </div> |
| | | <input placeholder="0.000" type="number" v-model.number="usdtAmount"/> |
| | | <span class="all">{{$t("message.WithdrawalAmount")}}</span> |
| | | <span class="all" style="color: #3D8AF2" @click="allWithdraw">{{$t("message.WithdrawalAll")}}</span> |
| | | </div> |
| | | <div class="item flex-1 flex align-end flex-v"> |
| | | <div> |
| | |
| | | proxy.isRequesting = false; |
| | | }) |
| | | } |
| | | function allWithdraw () { |
| | | if(!proxy.myAccountInfo.availableWallet) { |
| | | return; |
| | | } |
| | | usdtAmount.value = proxy.myAccountInfo.availableWallet |
| | | } |
| | | function submitWithdraw () { |
| | | if(Number(usdtAmount.value) < 100) { |
| | | this.$toast(this.$t('message.MinWithdrawCount') + '100USDT'); |
| | |
| | | getWalletInfo, |
| | | allExchange, |
| | | submitExchange, |
| | | allWithdraw, |
| | | submitWithdraw, |
| | | onClickTab, |
| | | isRequesting |
| | |
| | | }); |
| | | await provider.enable(); |
| | | provider.on("accountsChanged", (accounts) => { |
| | | alert(accounts[0]+'换啦') |
| | | console.log(accounts[0]+'换啦') |
| | | }); |
| | | provider.on("disconnect", (code, reason) => { |
| | | sessionStorage.setItem('address', ''); |