From 7a57bcc3208f804cde9915d361f1a738a4e88e1d Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Tue, 30 Apr 2024 16:54:03 +0800
Subject: [PATCH] first

---
 src/page/recharge/rechargePage.vue |   27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/src/page/recharge/rechargePage.vue b/src/page/recharge/rechargePage.vue
index 33069a2..52237b0 100644
--- a/src/page/recharge/rechargePage.vue
+++ b/src/page/recharge/rechargePage.vue
@@ -2,7 +2,7 @@
   <div class="rechargePage box-border font-26">
     <assets-head :title="$t('快速充币')" />
     <div class="mt-30 w-full text-center font-36 textColor">
-      {{ coin.toUpperCase() + " " + $t("充值") }}
+      {{ symbol.toUpperCase() + " " + $t("充值") }}
     </div>
     <div
       class="pl-30 pr-30 text-center flex flex-col items-center justify-center mt40"
@@ -31,7 +31,7 @@
           {{ $t("复制地址") }}
         </div>
       </div>
-      <div>
+      <!-- <div>
         <div class="font-26 textColor">{{ $t("转出地址(选填)") }}</div>
         <div style="position: relative" class="mt-26 mb-60">
           <input
@@ -53,8 +53,8 @@
             {{ $t("粘贴") }}
           </div>
         </div>
-      </div>
-      <div class="mb-60">
+      </div> -->
+      <!-- <div class="mb-60">
         <div class="font-26 textColor">{{ $t("充币数量") }}</div>
         <div>
           <input
@@ -63,7 +63,7 @@
             :placeholder="$t('请输入充币数量')"
           />
         </div>
-      </div>
+      </div> -->
       <!-- <div>
                 <div class="font-26 textColor">{{ $t('链名称') }}</div>
                 <div class="flex ">
@@ -73,7 +73,7 @@
                             item.blockchain_name }}</div>
                 </div>
             </div> -->
-      <div>
+      <!-- <div>
         <div class="font-26 textColor">
           {{ $t("付款凭证(上传支付详情截图)") }}
         </div>
@@ -88,9 +88,9 @@
             :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>
@@ -101,7 +101,7 @@
           {{ $t("下一步") }}
         </button>
       </div>
-    </div>
+    </div> -->
   </div>
 </template>
 
@@ -166,12 +166,14 @@
       imgshow: false,
       img: "",
       enterAddress: "",
+      symbol: "",
     };
   },
   mounted() {
     //获取域名
     this.nowUrl = "https://" + window.location.hostname;
-    this.coin = this.$route.query.symbol;
+    this.coin = this.$route.query.coin;
+    this.symbol = this.$route.query.symbol;
     this.getData();
     this.getToken();
     // https://www.wbfjsfhjdbsh.site/wap/api/cms!get.action?language=en&content_code=002&token=fe3c35583f8a4f12a86b0c13faa75ee6
@@ -315,14 +317,15 @@
         this.$toast(this.$t("请输入数字"));
         return;
       }
+
       if (this.amount) {
         Axios.rechargeApply({
           session_token: this.session_token,
           amount: this.amount,
           from: this.enterAddress,
-          blockchain_name: this.coin,
+          blockchain_name: this.coin.toUpperCase(),
           img: this.submitImg,
-          coin: this.coin,
+          coin: this.symbol.toUpperCase(),
           channel_address: this.address,
           tx: "",
         })

--
Gitblit v1.9.3