Browse Source

[edit][bug]

zhangwei 3 years ago
parent
commit
739ee6b92a
2 changed files with 35 additions and 8 deletions
  1. 34 7
      src/view/popup/withdraw/info.vue
  2. 1 1
      src/view/red-packet.vue

+ 34 - 7
src/view/popup/withdraw/info.vue

@@ -43,8 +43,16 @@
       </div>
 
       <div class="tips">
-        <div class="tip-title">TIPS</div>
-        <div class="tip-content">asdasdasdasd</div>
+        <div class="tips-icon">
+          <img :src="require('@/assets/svg/icon-top-up-tips-warning.svg')" alt="">
+        </div>
+        <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>2.As the withdrawal is transferred out, you can check the transaction history. </p>
+        </div>
       </div>
     </div>
     <!-- 底部 -->
@@ -306,21 +314,40 @@ const clickWithdrawalAll = () => {
     }
 
     .tips {
-      margin-top: 30px;
+      margin-top: 12px;
       font-size: 13px;
+      height: 118;
+      overflow: auto;
+      background: #FCF5E5;
+      display: flex;
+      padding: 10px;
+      border-radius: 10px;
 
-      .tip-title {
-        color: #000000;
+      .tips-icon {
+
+        width: 30px;
+
+        img {
+          width: 20px;
+          height: 20px;
+        }
       }
 
-      .tip-content {
-        color: #000000;
+      .tips-content {
+        flex: 1;
+      }
+
+      p {
+        margin: 0;
+        padding: 0;
       }
     }
 
   }
 
   .footer {
+    z-index: 11;
+    background: #fff;
     border-top: 1px solid #DBDBDB;
     bottom: 0;
     height: 80px;

+ 1 - 1
src/view/red-packet.vue

@@ -625,8 +625,8 @@ function handleFinishRedPacket() {
       postId: data.postId
     }
   }).then((res) => {
+    data.loading_show = false
     if (res.code == 0) {
-      data.loading_show = false
       if (res.data.finished) {
         data.status = 'success'
         data.receiveAmount = res.data.receiveAmount