5.10航天ui交易所pc端,代码jiem-pc
lxf
2025-06-30 b4400036ffe65ecfe86dc34b08ba8ee19f8f1cf2
style 充值接口替换
4 files modified
37 ■■■■ changed files
src/api/my.js 6 ●●●●● patch | view | raw | blame | history
src/utils/index.js 3 ●●●● patch | view | raw | blame | history
src/views/my/center.vue 4 ●●●● patch | view | raw | blame | history
src/views/wallet/recharge.vue 24 ●●●●● patch | view | raw | blame | history
src/api/my.js
@@ -81,6 +81,12 @@
//用户信息
function getUserInfo(data) {
  return Axios.fetch("wap/api/localuser!get.action", data);
  // return Axios.fetch("wap/api/kyc!get.action", data);
}
// 认证信息
export const _getIdentify = () => {
  return Axios.fetch("wap/api/kyc!get.action");
}
export default {
src/utils/index.js
@@ -23,7 +23,8 @@
    newName === "usd" ||
    newName === "usdcusdt" ||
    newName === "usdthb" ||
    newName === "usdtwd"
    newName === "usdtwd" ||
    newName === "usdc"
  ) {
    url = "/symbol/" + newName + ".png"; //不用过滤
  } else {
src/views/my/center.vue
@@ -282,6 +282,7 @@
// 获取用户信息
let users = ref({});
// let statusVal = ref("");
// ("0已申请未审核=未绑定 ,1审核中 ,2 审核通过,3审核未通过")
const statusMap = ref([
  "weibangding",
@@ -290,6 +291,9 @@
  "shenheweitongguo",
]);
const getUserInfo = () => {
  // Axios2._getIdentify().then((res) => {
  //   statusVal.value = res.data.status;
  // });
  Axios2.getUserInfo().then((res) => {
    users.value = res.data || {};
    console.log(users, "users");
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;