From bbf6d337c9641c0d1bf2c57f05310e59c104990b Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 29 May 2026 15:04:43 +0800
Subject: [PATCH] 1
---
src/views/cryptos/Recharge/rechargePage.vue | 32 +++++++++++++++++++-------------
1 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/src/views/cryptos/Recharge/rechargePage.vue b/src/views/cryptos/Recharge/rechargePage.vue
index 0dadcc5..5c564ff 100644
--- a/src/views/cryptos/Recharge/rechargePage.vue
+++ b/src/views/cryptos/Recharge/rechargePage.vue
@@ -21,7 +21,7 @@
class="font-26 border-solid-grey text-center code-btn rounded-6 textColor">
{{ $t('复制地址') }}</div>
</div>
- <div>
+ <!-- <div>
<div class="font-26 textColor font-28">{{ $t('转出地址(选填)') }}</div>
<div style="position: relative;" class="mt-26 mb-20 font-28">
<input style="padding-right: 80px;" v-model="enterAddress"
@@ -30,14 +30,14 @@
@click="enterAddress = address">
{{ $t('粘贴') }}</div>
</div>
- </div>
- <div class="mb-20">
+ </div> -->
+ <!-- <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>
+ <!-- <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> -->
</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: "",
--
Gitblit v1.9.3