|
@@ -17,7 +17,8 @@
|
|
|
<div class="title">NetWork</div>
|
|
|
<div class="box">
|
|
|
<img :src="withdraw_info.icon_net" alt="">
|
|
|
- <span>{{ withdraw_info.token_chain }}</span>
|
|
|
+ <!-- <span>{{ withdraw_info.token_chain }}</span> -->
|
|
|
+ <span>BNB Smart Chain (BEP20)</span>
|
|
|
<!-- <img :src="require('@/assets/svg/icon-botton-up.svg')" alt="" class="up"> -->
|
|
|
</div>
|
|
|
</div>
|
|
@@ -49,8 +50,7 @@
|
|
|
<div class="tips-content">
|
|
|
<p>1.Make sure you also selected </p>
|
|
|
<p style="color: red;">BNB Smart Chain (BEP20) </p>
|
|
|
- <p>BNB Smart Chain (BEP20)
|
|
|
- on the platform where you are depositing funds to. Otherwise, you'll lose your assets.</p>
|
|
|
+ <p>on the platform where you are depositing funds to. Otherwise, you'll lose your assets.</p>
|
|
|
<p>2.As the withdrawal is transferred out, you can check the transaction history. </p>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -83,7 +83,7 @@ let state = reactive({
|
|
|
input_address: '',
|
|
|
input_amount: '',
|
|
|
is_enter_state: false,
|
|
|
- error_msg: 'Wallet Address不能为空'
|
|
|
+ error_msg: 'Please enter wallet address'
|
|
|
})
|
|
|
|
|
|
const inputWithdrawCalcFee = () => {
|
|
@@ -115,18 +115,18 @@ const inputText = () => {
|
|
|
state.input_amount = 0
|
|
|
}
|
|
|
if (state.input_address.trim().length == 0) {
|
|
|
- state.error_msg = 'Wallet Address不能为空'
|
|
|
+ state.error_msg = 'Please enter wallet address'
|
|
|
state.is_enter_state = false
|
|
|
return
|
|
|
}
|
|
|
if (Number(state.input_amount) > Number(state.balance)) {
|
|
|
- state.error_msg = `输入金额超过钱包余额`
|
|
|
+ state.error_msg = `Insufficient ${withdraw_info.token_symbol} balance`
|
|
|
state.is_enter_state = false
|
|
|
state.amount = 0
|
|
|
return
|
|
|
}
|
|
|
if (Number(state.input_amount) < Number(state.min_amount)) {
|
|
|
- state.error_msg = `输入金额需要高于最小提现额 ${state.min_amount}`
|
|
|
+ state.error_msg = `Minimum amount: ${state.min_amount} ${withdraw_info.token_symbol}`
|
|
|
state.is_enter_state = false
|
|
|
state.amount = 0
|
|
|
return
|
|
@@ -164,7 +164,7 @@ const initConfig = () => {
|
|
|
state.withdraw_switch = res.data.withdrawSwitch
|
|
|
// 关闭提现功能
|
|
|
if (!res.data.withdrawSwitch) {
|
|
|
- state.error_msg = '关闭提现功能'
|
|
|
+ state.error_msg = 'Withdrawal function temporarily closed'
|
|
|
return
|
|
|
}
|
|
|
|
|
@@ -199,24 +199,24 @@ const clickWithdrawalAll = () => {
|
|
|
height: 100%;
|
|
|
|
|
|
.content {
|
|
|
- padding: 16px 16px 0 16px;
|
|
|
+ height: calc(100% - 48px - 80px);
|
|
|
+ overflow: auto;
|
|
|
+ padding: 13px 16px 0 13px;
|
|
|
|
|
|
.area-input-1 {
|
|
|
- display: flex;
|
|
|
- flex-wrap: nowrap;
|
|
|
- justify-content: space-between;
|
|
|
+
|
|
|
|
|
|
.token {
|
|
|
- padding-right: 7px;
|
|
|
+ // padding-right: 7px;
|
|
|
}
|
|
|
|
|
|
.net {
|
|
|
- padding-left: 7px;
|
|
|
+ // padding-left: 7px;
|
|
|
+ margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.token,
|
|
|
.net {
|
|
|
- width: 50%;
|
|
|
|
|
|
.title {
|
|
|
font-weight: 500;
|
|
@@ -259,7 +259,7 @@ const clickWithdrawalAll = () => {
|
|
|
|
|
|
.area-input-2,
|
|
|
.area-input-3 {
|
|
|
- margin-top: 25px;
|
|
|
+ margin-top: 16px;
|
|
|
|
|
|
.title {
|
|
|
font-weight: 500;
|