Parcourir la source

[edit][文案]

zhangwei il y a 2 ans
Parent
commit
b953d3377a
2 fichiers modifiés avec 16 ajouts et 18 suppressions
  1. 15 16
      src/view/components/popup-withdraw.vue
  2. 1 2
      src/view/popup/withdraw/confirm.vue

+ 15 - 16
src/view/components/popup-withdraw.vue

@@ -21,19 +21,17 @@
                     <div class="form-item">
                         <div class="label">PayPal account</div>
                         <div class="input-wrapper">
-                            <input type="text" 
-                                v-model="requestWithdrawParams.withdrawReceiveAccount" placeholder="Enter PayPal account"/>
+                            <input type="text" v-model="requestWithdrawParams.withdrawReceiveAccount"
+                                placeholder="Enter PayPal account" />
                         </div>
                     </div>
                     <div class="form-item">
-                        <div class="label">Withdrawal amount<span
-                                class="msg">(${{ walletWithdrawConfig.withdrawPerMinAmount }} minimum)</span></div>
+                        <div class="label">Withdrawal amount<span class="msg">(${{
+                                walletWithdrawConfig.withdrawPerMinAmount
+                        }} minimum)</span></div>
                         <div class="input-wrapper amount-wrapper">
-                            <input type="text" 
-                                v-model="requestWithdrawParams.amountValue" 
-                                placeholder="$0"
-                                style="width: 220px"
-                                @input="onAmountInput"  />
+                            <input type="text" v-model="requestWithdrawParams.amountValue" placeholder="$0"
+                                style="width: 220px" @input="onAmountInput" />
                             <div @click="withdrawalAll" class="withdrawal-all-btn">
                                 Withdrawal All
                             </div>
@@ -79,8 +77,9 @@
                 <div>
                     <div class="title">Submitted successfully</div>
                     <div class="desc">
-                        Please wait for a while,<br />
-                        then check the balance with paypal
+                        <!-- Please wait for a while,<br />
+                        then check the balance with paypal -->
+                        Estimate in 24 hours
                     </div>
                 </div>
             </div>
@@ -122,10 +121,10 @@ let isSubmit = ref(false);
 let withdrawIng = ref(false);
 
 let walletWithdrawConfig = ref({
-        withdrawPerMinAmount: 1,
-        withdrawUSDSwitch: "",
-        withdrawFeeDesc: ''
-    });
+    withdrawPerMinAmount: 1,
+    withdrawUSDSwitch: "",
+    withdrawFeeDesc: ''
+});
 
 let finalWithdrawalAmount = ref('');
 let calcReq = ref(false);
@@ -146,7 +145,7 @@ const queryWithdrawConfig = () => {
         if (res.code == 0) {
             walletWithdrawConfig.value = res.data;
         }
-        console.log('queryWithdrawConfig',walletWithdrawConfig.value);
+        console.log('queryWithdrawConfig', walletWithdrawConfig.value);
     });
 };
 

+ 1 - 2
src/view/popup/withdraw/confirm.vue

@@ -89,8 +89,7 @@ const clickBtn = () => {
     }).then((res) => {
         switch (res.code.toString()) {
             case '0':
-                // withdraw_info.state_page.txt = ['Estimated completion with a few minutes', 'View history for the latest updates']
-                withdraw_info.state_page.txt = ['Estimate in 24 hours']
+                withdraw_info.state_page.txt = ['Estimated completion with a few minutes', 'View history for the latest updates']
                 router.push('/withdraw/success')
                 break
             case '4002':