zzzz
2024-04-20 b37f91233aeb11506b127108c1bf840d20855702
first
3 files modified
25 ■■■■■ changed files
src/i18n/zh.json 1 ●●●● patch | view | raw | blame | history
src/page/new-urrency/components/subscription-list-index.vue 4 ●●● patch | view | raw | blame | history
src/page/withdraw/withdrawPage.vue 20 ●●●● patch | view | raw | blame | history
src/i18n/zh.json
@@ -1937,5 +1937,6 @@
  "比赛": "比赛",
  "邀请好友一起赚钱": "邀请好友一起赚钱",
  "已上市": "已上市",
  "是否认购": "是否认购",
  "请不要向任何人透露密码、短信和谷歌验证码,包括交易所工作人员。": "请不要向任何人透露密码、短信和谷歌验证码,包括交易所工作人员。"
}
src/page/new-urrency/components/subscription-list-index.vue
@@ -39,7 +39,7 @@
<script>
import { icoNewCurrencygetList, icoOrderAppAdd } from "@/API/home.api";
import { List, Cell, Dialog,Notify } from "vant";
import { List, Cell, Dialog, Notify } from "vant";
export default {
  components: {
@@ -66,6 +66,8 @@
      Dialog.confirm({
        title: this.$t("提示"),
        message: this.$t("是否认购"),
        confirmButtonText: this.$t("确定"),
        cancelButtonText: this.$t("取消"),
      })
        .then(async () => {
          const res = await icoOrderAppAdd({
src/page/withdraw/withdrawPage.vue
@@ -180,7 +180,7 @@
                isGetdata = true
            }
            if (isGetdata) {
                this.getBlock(this.value);
                // this.getBlock(this.value);
                this.getAvailable(this.actions[0].name);
@@ -263,7 +263,7 @@
            this.showSymbol = false;
            this.value = item.name;
            this.withdraw_fee_type = ''
            this.getBlock(item.name);
            // this.getBlock(item.name);
            this.getAvailable(item.name)
            if (item.name == 'BTC' || item.name == 'ETH') {
                this.numLenth = 7
@@ -283,14 +283,14 @@
            }
        },
        //根据币种获取链地址
        getBlock(symbol) {
            Axios.getBlock({
                coin: symbol
            }).then((res) => {
                this.blockList = res.data;
                this.blockName = res.data[0].blockchain_name;
            });
        },
        // getBlock(symbol) {
        //     Axios.getBlock({
        //         coin: symbol
        //     }).then((res) => {
        //         this.blockList = res.data;
        //         this.blockName = res.data[0].blockchain_name;
        //     });
        // },
        //选中链名称
        changeBlockchain(item, index) {
            this.blockchainIndex = index;