From b37f91233aeb11506b127108c1bf840d20855702 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sat, 20 Apr 2024 11:10:08 +0800
Subject: [PATCH] first

---
 src/page/new-urrency/components/subscription-list-index.vue |    4 +++-
 src/page/withdraw/withdrawPage.vue                          |   20 ++++++++++----------
 src/i18n/zh.json                                            |    1 +
 3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/src/i18n/zh.json b/src/i18n/zh.json
index 55f597c..d49e8fd 100644
--- a/src/i18n/zh.json
+++ b/src/i18n/zh.json
@@ -1937,5 +1937,6 @@
   "比赛": "比赛",
   "邀请好友一起赚钱": "邀请好友一起赚钱",
   "已上市": "已上市",
+  "是否认购": "是否认购",
   "请不要向任何人透露密码、短信和谷歌验证码,包括交易所工作人员。": "请不要向任何人透露密码、短信和谷歌验证码,包括交易所工作人员。"
 }
\ No newline at end of file
diff --git a/src/page/new-urrency/components/subscription-list-index.vue b/src/page/new-urrency/components/subscription-list-index.vue
index 8d72696..9e41c66 100644
--- a/src/page/new-urrency/components/subscription-list-index.vue
+++ b/src/page/new-urrency/components/subscription-list-index.vue
@@ -39,7 +39,7 @@
 
 <script>
 import { icoNewCurrencygetList, icoOrderAppAdd } from "@/API/home.api";
-import { List, Cell, Dialog,Notify } from "vant";
+import { List, Cell, Dialog, Notify } from "vant";
 
 export default {
   components: {
@@ -66,6 +66,8 @@
       Dialog.confirm({
         title: this.$t("提示"),
         message: this.$t("是否认购"),
+        confirmButtonText: this.$t("确定"),
+        cancelButtonText: this.$t("取消"),
       })
         .then(async () => {
           const res = await icoOrderAppAdd({
diff --git a/src/page/withdraw/withdrawPage.vue b/src/page/withdraw/withdrawPage.vue
index 7b241e7..b8681da 100644
--- a/src/page/withdraw/withdrawPage.vue
+++ b/src/page/withdraw/withdrawPage.vue
@@ -180,7 +180,7 @@
                 isGetdata = true
             }
             if (isGetdata) {
-                this.getBlock(this.value);
+                // this.getBlock(this.value);
                 this.getAvailable(this.actions[0].name);
 
 
@@ -263,7 +263,7 @@
             this.showSymbol = false;
             this.value = item.name;
             this.withdraw_fee_type = ''
-            this.getBlock(item.name);
+            // this.getBlock(item.name);
             this.getAvailable(item.name)
             if (item.name == 'BTC' || item.name == 'ETH') {
                 this.numLenth = 7
@@ -283,14 +283,14 @@
             }
         },
         //根据币种获取链地址
-        getBlock(symbol) {
-            Axios.getBlock({
-                coin: symbol
-            }).then((res) => {
-                this.blockList = res.data;
-                this.blockName = res.data[0].blockchain_name;
-            });
-        },
+        // getBlock(symbol) {
+        //     Axios.getBlock({
+        //         coin: symbol
+        //     }).then((res) => {
+        //         this.blockList = res.data;
+        //         this.blockName = res.data[0].blockchain_name;
+        //     });
+        // },
         //选中链名称
         changeBlockchain(item, index) {
             this.blockchainIndex = index;

--
Gitblit v1.9.3