Browse Source

[edit][bug]

zhangwei 3 years ago
parent
commit
539950b18d
2 changed files with 32 additions and 9 deletions
  1. 1 1
      src/view/popup/components/state-page.vue
  2. 31 8
      src/view/popup/withdraw/confirm.vue

+ 1 - 1
src/view/popup/components/state-page.vue

@@ -3,7 +3,7 @@
         <div class="withdraw-status">
             <img :src="require('@/assets/svg/icon-withdraw-status.svg')" alt="" />
             <div>
-                <div class="title">Submitted successfully</div>
+                <div class="title">Withdrawal Processing</div>
                 <div class="desc">
                     <p v-for="item,i in props.text"  v-bind:key="i">{{ item }}</p>
                 </div>

+ 31 - 8
src/view/popup/withdraw/confirm.vue

@@ -33,8 +33,13 @@
             </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>Ensure that the address is correct and on the same network. Otherwise, you'll lose your assets.
+                    </p>
+                </div>
             </div>
         </div>
         <!-- 底部 -->
@@ -82,7 +87,7 @@ const clickBtn = () => {
     }).then((res) => {
         switch (res.code.toString()) {
             case '0':
-                withdraw_info.state_page.txt = ['123123']
+                withdraw_info.state_page.txt = ['Estimated completion with a few minutes', 'View history for the latest updates']
                 router.push('/withdraw/success')
                 break
             case '4002':
@@ -207,15 +212,33 @@ const clickEnter = () => {
         }
 
         .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;
+                color: #AD8226;
             }
         }