From 42faef34194c466f03e29d75a63ae502e4213044 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 10:38:46 +0800
Subject: [PATCH] 上一版是10.10的, 这版才是原始源码

---
 src/views/cryptos/Withdraw/withdrawPage.vue |   36 +++++++-----------------------------
 1 files changed, 7 insertions(+), 29 deletions(-)

diff --git a/src/views/cryptos/Withdraw/withdrawPage.vue b/src/views/cryptos/Withdraw/withdrawPage.vue
index 5f90f65..38aad09 100644
--- a/src/views/cryptos/Withdraw/withdrawPage.vue
+++ b/src/views/cryptos/Withdraw/withdrawPage.vue
@@ -124,7 +124,6 @@
 import assetsHead from "@/components/Transform/assets-head/index.vue";
 import BarScan from '@/components/Transform/scan/scan.vue';
 import { _getAllWallet } from "@/service/fund.api";
-import { _getSyspara } from '@/service/trade.api.js'
 export default {
   name: "withdrawPage",
   components: {
@@ -136,10 +135,10 @@
   data() {
     return {
       tip: '',
-      value: 'USDC', //选中的币种
+      value: 'USDT', //选中的币种
       show: false,
       showSymbol: false,
-      actions: [{ name: 'USDC' }],
+      actions: [{ name: 'USDT' }, { name: 'BTC' }, { name: 'ETH' }],
       blockList: [],
       blockchainIndex: "",
       usdtBalance: "", //余额
@@ -153,20 +152,12 @@
       percent: 0,
       numLenth: 3,
       routerType: '',
-      // 获取最低限额接口时需要的参数
-      xeList: {
-        "USDT": 'withdraw_limit',
-        "BTC": 'withdraw_limit_btc',
-        "ETH": 'withdraw_limit_eth',
-        "USDC": 'withdraw_limit_usdc',
-      },
-      minXE: 0, // 最小提现限额
     }
   },
   created() {
     this.getBlock(this.value);
     this.getAvailable(this.actions[0].name);
-    this.getXE();
+
 
     Axios.getRechargeTips({
       language: this.$i18n.locale,
@@ -180,8 +171,7 @@
     })
     _withdrawFee({
       amount: 1,
-      channel: this.value + '_' + this.blockName,
-      type: 'cryptos' // 加密货币提取时传cryptos
+      channel: this.value + '_' + this.blockName
     }).then((res) => {
       this.withdraw_fee_type = res.withdraw_fee_type
       if (this.withdraw_fee_type == 'rate') {
@@ -200,6 +190,7 @@
       console.log(this.$route.query.type);
       this.routerType === 'exchange' ? this.$router.push('/Record/DepositAndWithdrawal') : this.goRouter('/cryptos/assetsCenter/rechargeWithdrawRecord');
     },
+
     getwei(value, numLenth) {
       console.log(numLenth)
       let str = value.toString();
@@ -233,10 +224,6 @@
         showToast(this.$t('金额不足'))
         return
       }
-      if (this.amount < this.minXE) {
-        showToast(this.$t('提现不得小于限额') + ' ' + this.minXE)
-        return
-      }
       this.show = true;
     },
     goRouter(params) {
@@ -261,13 +248,11 @@
       this.withdraw_fee_type = ''
       this.getBlock(item.name);
       this.getAvailable(item.name)
-      this.getXE(item.name)
       if (item.name == 'BTC' || item.name == 'ETH') {
         this.numLenth = 7
         _withdrawFee({
           amount: 1,
-          channel: this.value + '_' + this.blockName,
-          type: 'cryptos' // 加密货币提取时传cryptos
+          channel: this.value + '_' + this.blockName
         }).then((res) => {
           this.withdraw_fee_type = res.withdraw_fee_type
           if (this.withdraw_fee_type == 'fixed') {
@@ -279,12 +264,6 @@
       } else {
         this.numLenth = 3
       }
-    },
-    // 根据币种获取最低提现限额
-    async getXE(name = "USDC") {
-      let code = this.xeList[name]
-      let res = await _getSyspara({ code })
-      this.minXE = res[code]
     },
     //根据币种获取链地址
     getBlock(symbol) {
@@ -328,8 +307,7 @@
       if (this.withdraw_fee_type == 'part') {
         _withdrawFee({
           amount: this.amount,
-          channel: this.value + '_' + this.blockName,
-          type: 'cryptos' // 加密货币提取时传cryptos
+          channel: this.value + '_' + this.blockName
         }).then((res) => {
           console.log(res)
           this.fee = res.fee;

--
Gitblit v1.9.3