| | |
| | | {{ $t('粘贴') }}</div> |
| | | </div> |
| | | </div> --> |
| | | <div class="mb-20"> |
| | | <!-- <div class="mb-20"> |
| | | <div class="font-28 textColor">{{ $t('充币数量') }}</div> |
| | | <div> |
| | | <input v-model="amount" class="input-view w-full font-28 textColor inputBackground" |
| | | :placeholder="$t('请输入充币数量')" /> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | <div> |
| | | <div class="font-28 textColor">{{ $t('链名称') }}</div> |
| | | <div class="flex "> |
| | |
| | | <div class="pl-30 pr-30"> |
| | | <!-- <div class="font-30 mb-27 textColor">{{ $t('重要提示') }}</div> --> |
| | | <!-- <div class="font-28 text-grey" v-html="tip"></div> --> |
| | | <button class="btnMain text-white next-btn font-30 rounded-lg" @click="nextBtn">{{ $t('下一步') |
| | | }}</button> |
| | | <!-- <button class="btnMain text-white next-btn font-30 rounded-lg" @click="nextBtn">{{ $t('下一步') |
| | | }}</button> --> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | }).then((res) => { |
| | | |
| | | this.chainList = res; |
| | | this.address = res[0].address; |
| | | this.blockchain_name = res[0].blockchain_name; |
| | | const wantName = this.$route.query.blockchain_name; |
| | | const idx = wantName && res.length |
| | | ? res.findIndex((c) => (c.blockchain_name || '').toLowerCase() === (wantName || '').toLowerCase()) |
| | | : -1; |
| | | const i = idx >= 0 ? idx : 0; |
| | | this.blockchainIndex = i; |
| | | this.address = res[i].address; |
| | | this.blockchain_name = res[i].blockchain_name; |
| | | this.getQRCode(); |
| | | |
| | | }); |