| | |
| | | </p> |
| | | </div> |
| | | <p class="font-35 mt-44 textColor">{{ $t('区块链网络') }}</p> |
| | | <ul class="flex mt-22 flex-wrap"> |
| | | <ul class="flex mt-22 flex-wrap">{{blockList}} |
| | | <li |
| | | class="w-210 h-96 mb-20 mr-40 rounded rounded-lg border border-solid flex justify-center items-center textColor" |
| | | :class="blockchainIndex == index ? 'active' : ''" v-for="(item, index) in blockList" :key="item.id" |
| | | @click="changeBlockchain(item, index)">{{ item.blockchain_name }}</li> |
| | | @click="changeBlockchain(item, index)">{{ item.blockchainName }}</li> |
| | | </ul> |
| | | <p class="font-35 mt-22 textColor">{{ $t('地址') }}</p> |
| | | <div class="inputBackground flex items-center justify-between h-96 rounded mt-22"> |
| | |
| | | coin: symbol |
| | | }).then((res) => { |
| | | this.blockList = res; |
| | | this.blockName = res[0].blockchain_name; |
| | | this.blockName = res[0].blockchainName; |
| | | }); |
| | | }, |
| | | //选中链名称 |
| | | changeBlockchain(item, index) { |
| | | this.blockchainIndex = index; |
| | | this.blockName = item.blockchain_name; |
| | | this.blockName = item.blockchainName; |
| | | }, |
| | | //获取钱包余额 |
| | | getAvailable(symbol) { |