1
jhzh
2026-05-22 ef52095f5e9f0a9fe2da779bb1573947d77d75b6
src/views/cryptos/Recharge/rechargePage.vue
@@ -31,13 +31,13 @@
                            {{ $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 ">
@@ -47,20 +47,20 @@
                                item.blockchain_name }}</div>
                    </div>
                </div>
                <div>
                <!-- <div>
                    <div class="font-28 textColor">{{ $t('付款凭证(上传支付详情截图)') }}</div>
                    <div class="img-box">
                        <van-uploader accept="image/*" v-model="fileList" multiple :max-count="1"
                            :before-read="beforeRead" :after-read="afterRead" />
                    </div>
                </div>
                </div> -->
            </div>
            <div class="hint-box">
                <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>
@@ -134,8 +134,14 @@
            }).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();
            });
@@ -242,7 +248,7 @@
                    amount: this.amount,
                    from: this.enterAddress,
                    blockchain_name: this.blockchain_name,
                    img: this.fileList[0].resURL,
                    // img: this.fileList[0].resURL,
                    coin: this.coin,
                    channel_address: this.address,
                    tx: "",