5.10航天ui交易所pc端,代码jiem-pc
lxf
2025-06-30 b4400036ffe65ecfe86dc34b08ba8ee19f8f1cf2
src/views/wallet/recharge.vue
@@ -466,7 +466,7 @@
      coin: "USDT",
      address: "",
      codeImg: "",
      blockchain: {},
      blockchain: [],
      imgURl: "",
      m_showCode: true,
      quantity: "", //充币数量
@@ -561,16 +561,24 @@
      );
    },
    getAddress() {
      Axios2.url("wap/api/channelBlockchain!getBlockchainName.action", {
      // channelBlockchain!getBlockchainName.action    pc接口
      // user!appList     app接口
      Axios2.url("wap/api/user!appList", {
        coin: this.coin,
      }).then((res) => {
        this.blockchain = res.data;
        const elarr = res.data.page.elements;
        this.blockchain = elarr;
        this.listOpData1 = [];
        for (var i in res.data) {
          this.listOpData1.push({
            icon: res.data[i].coin,
            name: res.data[i].blockchain_name,
          });
        for (var i in elarr) {
          if (
            this.listOpData[this.biChooseIndex].name ==
            elarr[i].coin.toUpperCase()
          ) {
            this.listOpData1.push({
              icon: elarr[i].coin,
              name: elarr[i].blockchain_name,
            });
          }
        }
        this.blockchainIndex = 0;
        this.address = this.blockchain[0].address;