1
李凌
2025-09-22 517b4a398d9ca06788366f2c4b94d5d8831af5fc
src/views/cryptos/Withdraw/withdrawPage.vue
@@ -60,9 +60,16 @@
               <span class="font-32 ml-5 text-grey">{{ value }}</span>
            </div>
            <p class="text-grey mt-22 font-28">{{ $t('提现费用') }}:{{ fee || '0.00' }} {{ value }}</p>
            <p class="text-white mt-46 textColor font-28">{{ $t('提币说明') }}:
            <p class="text-grey mt-10 textColor font-28">{{ $t('提币说明') }}:
            </p>
            <div class="text-grey mt-10 font-28" v-html="tip"></div>
            <div class="text-grey mt-20 font-28" v-html="tip"></div>
            <p class="font-35 mt-2 textColor">{{ $t('fundsPassword') }}</p>
            <div class="inputBackground flex items-center justify-between h-96 rounded mt-22">
               <input :placeholder="$t('fundsPasswordContTips')" maxlength="6"
                  class="h-full flex-1 border-none bg-none px-16 font-22 textColor" v-model="safeword" />
            </div>
            <van-button
               class="w-768 h-100 rounded flex justify-center items-center mt-56  text-white btnMain border-none"
               @click="showDetail">
@@ -139,6 +146,7 @@
   import {
      _getAllWallet
   } from "@/service/fund.api";
import { throttle } from "@/utils/index.js";
   export default {
      name: "withdrawPage",
      components: {
@@ -173,7 +181,8 @@
            scancode: false, //控制是否使用扫一扫功能
            withdraw_fee_type: '',
            percent: 0,
            numLenth: 3
         numLenth: 3,
         safeword: '' //资金密码
         }
      },
      created() {
@@ -347,7 +356,7 @@
         },
         //提币提交
         onConfirm() {
      onConfirm: throttle(function () {
            if (!this.amount) {
               showToast(this.$t('请输入数量'));
               return;
@@ -361,6 +370,11 @@
            if (!this.address) {
               showToast(this.$t('请输入提现地址'));
            return;
         }
         if (!this.safeword) {
            showToast(this.$t('fundsPasswordContTips'));
               return;
            }
@@ -390,6 +404,7 @@
               _withdrawApply({
                       session_token:this.sessionToken,
                       amount:this.amount,
               safeword: this.safeword,
                       from:this.address,
                       channel:this.value+'_'+ this.blockName
               }).then((res) => {
@@ -414,7 +429,7 @@
            } else {
               showToast(this.$t('请输入提币数量'));
            }
         },
      }, 1000),
         async pastCont() {
            this.address = await navigator.clipboard.readText();
         }