| | |
| | | {{ $t("复制地址") }} |
| | | </div> |
| | | </div> |
| | | <!-- <div> |
| | | <!-- <div> |
| | | <div class="font-26 textColor">{{ $t("转出地址(选填)") }}</div> |
| | | <div style="position: relative" class="mt-26 mb-60"> |
| | | <input |
| | |
| | | {{ $t("粘贴") }} |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | <!-- <div class="mb-60"> |
| | | </div> --> |
| | | <div class="mb-60"> |
| | | <div class="font-26 textColor">{{ $t("充币数量") }}</div> |
| | | <div> |
| | | <input |
| | |
| | | :placeholder="$t('请输入充币数量')" |
| | | /> |
| | | </div> |
| | | </div> --> |
| | | <!-- <div> |
| | | </div> |
| | | <div> |
| | | <div class="font-26 textColor">{{ $t('链名称') }}</div> |
| | | <div class="flex "> |
| | | <div :class="blockchainIndex == index ? 'borderMain colorMain' : 'border-solid-dark-grey border-r-grey'" |
| | |
| | | v-for="(item, index) in chainList" :key="index" @click="changeBlockchain(index)">{{ |
| | | item.blockchain_name }}</div> |
| | | </div> |
| | | </div> --> |
| | | <!-- <div> |
| | | </div> |
| | | <div> |
| | | <div class="font-26 textColor"> |
| | | {{ $t("付款凭证(上传支付详情截图)") }} |
| | | </div> |
| | |
| | | :after-read="afterRead" |
| | | /> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="hint-box"> |
| | | <div class="hint-box"> |
| | | <div class="pl-30 pr-30"> |
| | | <div class="font-26 mb-27 textColor">{{ $t("重要提示") }}</div> |
| | | <div class="font-28 text-grey" v-html="tip"></div> |
| | |
| | | {{ $t("下一步") }} |
| | | </button> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | methods: { |
| | | getData() { |
| | | Axios.getBlock({ |
| | | coin: this.coin, |
| | | coin_para: this.symbol, |
| | | }).then((res) => { |
| | | console.log(res); |
| | | this.address = res.address; |
| | | // this.blockchain_name = res.data[0].blockchain_name; |
| | | this.chainList = res.page.elements |
| | | this.address = res.page.elements[0].address; |
| | | this.blockchain_name = res.page.elements[0].blockchain_name; |
| | | this.getQRCode(); |
| | | }); |
| | | }, |
| | |
| | | }, |
| | | //生成二维码 |
| | | getQRCode() { |
| | | console.log( this.address); |
| | | let opts = { |
| | | errorCorrectionLevel: "H", //容错级别 |
| | | type: "image/png", //生成的二维码类型 |
| | |
| | | margin: 4, //二维码留白边距 |
| | | width: 200, //宽 |
| | | height: 200, //高 |
| | | text: "http://www.xxx.com", //二维码内容 |
| | | text: "", //二维码内容 |
| | | color: { |
| | | dark: "#333333", //前景色 |
| | | light: "#fff", //背景色 |
| | |
| | | session_token: this.session_token, |
| | | amount: this.amount, |
| | | from: this.enterAddress, |
| | | blockchain_name: this.coin.toUpperCase(), |
| | | // blockchain_name: this.coin.toUpperCase(), |
| | | blockchain_name: this.blockchain_name, |
| | | img: this.submitImg, |
| | | coin: this.symbol.toUpperCase(), |
| | | channel_address: this.address, |