| | |
| | | "比赛": "比赛", |
| | | "邀请好友一起赚钱": "邀请好友一起赚钱", |
| | | "已上市": "已上市", |
| | | "是否认购": "是否认购", |
| | | "请不要向任何人透露密码、短信和谷歌验证码,包括交易所工作人员。": "请不要向任何人透露密码、短信和谷歌验证码,包括交易所工作人员。" |
| | | } |
| | |
| | | |
| | | <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: { |
| | |
| | | Dialog.confirm({ |
| | | title: this.$t("提示"), |
| | | message: this.$t("是否认购"), |
| | | confirmButtonText: this.$t("确定"), |
| | | cancelButtonText: this.$t("取消"), |
| | | }) |
| | | .then(async () => { |
| | | const res = await icoOrderAppAdd({ |
| | |
| | | isGetdata = true |
| | | } |
| | | if (isGetdata) { |
| | | this.getBlock(this.value); |
| | | // this.getBlock(this.value); |
| | | this.getAvailable(this.actions[0].name); |
| | | |
| | | |
| | |
| | | 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 |
| | |
| | | } |
| | | }, |
| | | //根据币种获取链地址 |
| | | 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; |