dcc
2024-06-07 d5381ec06ab5f549fade867c3a874de613bdd5d4
src/page/recharge/rechargePage.vue
@@ -31,7 +31,7 @@
          {{ $t("复制地址") }}
        </div>
      </div>
      <!-- <div>
       <div>
        <div class="font-26 textColor">{{ $t("转出地址(选填)") }}</div>
        <div style="position: relative" class="mt-26 mb-60">
          <input
@@ -53,8 +53,8 @@
            {{ $t("粘贴") }}
          </div>
        </div>
      </div> -->
      <!-- <div class="mb-60">
      </div>
       <div class="mb-60">
        <div class="font-26 textColor">{{ $t("充币数量") }}</div>
        <div>
          <input
@@ -63,8 +63,8 @@
            :placeholder="$t('请输入充币数量')"
          />
        </div>
      </div> -->
      <!-- <div>
      </div>
       <div>
                <div class="font-26 textColor">{{ $t('链名称') }}</div>
                <div class="flex ">
                    <div :class="blockchainIndex == index ? 'borderMain colorMain' : 'border-solid-dark-grey border-r-grey'"
@@ -72,8 +72,8 @@
                        v-for="(item, index) in chainList" :key="index" @click="changeBlockchain(index)">{{
                            item.blockchain_name }}</div>
                </div>
            </div> -->
      <!-- <div>
            </div>
       <div>
        <div class="font-26 textColor">
          {{ $t("付款凭证(上传支付详情截图)") }}
        </div>
@@ -88,9 +88,9 @@
            :after-read="afterRead"
          />
        </div>
      </div> -->
      </div>
    </div>
    <!-- <div class="hint-box">
     <div class="hint-box">
      <div class="pl-30 pr-30">
        <div class="font-26 mb-27 textColor">{{ $t("重要提示") }}</div>
        <div class="font-28 text-grey" v-html="tip"></div>
@@ -101,7 +101,7 @@
          {{ $t("下一步") }}
        </button>
      </div>
    </div> -->
    </div>
  </div>
</template>
@@ -196,13 +196,15 @@
  },
  methods: {
    getData() {
      Axios.getBlock({
        coin: this.coin,
      Axios.appList({
        coin_para: this.coin,
      }).then((res) => {
        console.log(res);
        this.address = res.address;
        // this.blockchain_name = res.data[0].blockchain_name;
        this.getQRCode();
        if (res.code == "0") {
          this.chainList = res.data.page.elements;
          this.address = this.chainList[0].address;
          this.blockchain_name = this.chainList[0].blockchain_name;
          this.getQRCode();
        }
      });
    },
    changeBlockchain(index) {