gx
queenwuli
2022-03-25 89a8db4b2d92087b588e7b57cce5b3b339ba2057
gx
19 files deleted
5 files modified
94 ■■■■ changed files
dist/css/app.51719eb1.css 1 ●●●● patch | view | raw | blame | history
dist/css/chunk-vendors.673a53be.css 1 ●●●● patch | view | raw | blame | history
dist/favicon.ico patch | view | raw | blame | history
dist/img/banner.4eb4f6c3.png patch | view | raw | blame | history
dist/img/icon7.b4968d52.png patch | view | raw | blame | history
dist/img/img1.d1d00702.png patch | view | raw | blame | history
dist/img/img2.96ce2ee5.png patch | view | raw | blame | history
dist/img/img3.53099b4f.png patch | view | raw | blame | history
dist/img/img4.9c4730d5.png patch | view | raw | blame | history
dist/img/img5.9cb62c6e.png patch | view | raw | blame | history
dist/img/img6.e1023e8c.png patch | view | raw | blame | history
dist/img/img7.46b55a63.png patch | view | raw | blame | history
dist/img/img8.fe0dd4a9.png patch | view | raw | blame | history
dist/img/img9.56132f25.png patch | view | raw | blame | history
dist/index.html 1 ●●●● patch | view | raw | blame | history
dist/js/app.6c8c946a.js 2 ●●●●● patch | view | raw | blame | history
dist/js/app.6c8c946a.js.map 1 ●●●● patch | view | raw | blame | history
dist/js/chunk-vendors.504210b0.js 68 ●●●●● patch | view | raw | blame | history
dist/js/chunk-vendors.504210b0.js.map 1 ●●●● patch | view | raw | blame | history
src/assets/i18n/en.js 2 ●●● patch | view | raw | blame | history
src/assets/i18n/zh.js 2 ●●● patch | view | raw | blame | history
src/main.js 4 ●●●● patch | view | raw | blame | history
src/pages/index/account.vue 9 ●●●● patch | view | raw | blame | history
src/pages/index/index.vue 2 ●●● patch | view | raw | blame | history
dist/css/app.51719eb1.css
File was deleted
dist/css/chunk-vendors.673a53be.css
File was deleted
dist/favicon.ico
Binary files differ
dist/img/banner.4eb4f6c3.png
Binary files differ
dist/img/icon7.b4968d52.png
Binary files differ
dist/img/img1.d1d00702.png
Binary files differ
dist/img/img2.96ce2ee5.png
Binary files differ
dist/img/img3.53099b4f.png
Binary files differ
dist/img/img4.9c4730d5.png
Binary files differ
dist/img/img5.9cb62c6e.png
Binary files differ
dist/img/img6.e1023e8c.png
Binary files differ
dist/img/img7.46b55a63.png
Binary files differ
dist/img/img8.fe0dd4a9.png
Binary files differ
dist/img/img9.56132f25.png
Binary files differ
dist/index.html
File was deleted
dist/js/app.6c8c946a.js
File was deleted
dist/js/app.6c8c946a.js.map
File was deleted
dist/js/chunk-vendors.504210b0.js
File was deleted
dist/js/chunk-vendors.504210b0.js.map
File was deleted
src/assets/i18n/en.js
@@ -48,7 +48,7 @@
      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",
src/assets/i18n/zh.js
@@ -48,7 +48,7 @@
      RedeemAll: "全部兑换",
      Price: "价格", 
      Withdraw: "提现",
      WithdrawalAmount: "提现金额",
      WithdrawalAll: "全部提现",
      TotalBalance: "总金额",
      Confirm: "确认",
      Tip1: "从0.1分开始,将您挖掘的ETH硬币转换为USDT",
src/main.js
@@ -23,7 +23,7 @@
app.config.globalProperties.$axios = axios;
import Vconsole from 'vconsole'
const vConsole = new Vconsole()
// import Vconsole from 'vconsole'
// const vConsole = new Vconsole()
app.mount('#app')
src/pages/index/account.vue
@@ -59,7 +59,7 @@
                                    <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>
@@ -194,6 +194,12 @@
            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');
@@ -275,6 +281,7 @@
        getWalletInfo,
        allExchange,
        submitExchange,
        allWithdraw,
        submitWithdraw,
        onClickTab,
        isRequesting
src/pages/index/index.vue
@@ -123,7 +123,7 @@
      });
      await provider.enable();
      provider.on("accountsChanged", (accounts) => {
        alert(accounts[0]+'换啦')
        console.log(accounts[0]+'换啦')
      });
      provider.on("disconnect", (code, reason) => {
        sessionStorage.setItem('address', '');