| | |
| | | <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"> |
| | |
| | | import { |
| | | _getAllWallet |
| | | } from "@/service/fund.api"; |
| | | import { throttle } from "@/utils/index.js"; |
| | | export default { |
| | | name: "withdrawPage", |
| | | components: { |
| | |
| | | scancode: false, //控制是否使用扫一扫功能 |
| | | withdraw_fee_type: '', |
| | | percent: 0, |
| | | numLenth: 3 |
| | | numLenth: 3, |
| | | safeword: '' //资金密码 |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | |
| | | }, |
| | | //提币提交 |
| | | onConfirm() { |
| | | onConfirm: throttle(function () { |
| | | if (!this.amount) { |
| | | showToast(this.$t('请输入数量')); |
| | | return; |
| | |
| | | |
| | | if (!this.address) { |
| | | showToast(this.$t('请输入提现地址')); |
| | | return; |
| | | } |
| | | |
| | | if (!this.safeword) { |
| | | showToast(this.$t('fundsPasswordContTips')); |
| | | return; |
| | | } |
| | | |
| | |
| | | _withdrawApply({ |
| | | session_token:this.sessionToken, |
| | | amount:this.amount, |
| | | safeword: this.safeword, |
| | | from:this.address, |
| | | channel:this.value+'_'+ this.blockName |
| | | }).then((res) => { |
| | |
| | | } else { |
| | | showToast(this.$t('请输入提币数量')); |
| | | } |
| | | }, |
| | | }, 1000), |
| | | async pastCont() { |
| | | this.address = await navigator.clipboard.readText(); |
| | | } |