|
@@ -0,0 +1,256 @@
|
|
|
+<template>
|
|
|
+ <!-- 公共组件 -->
|
|
|
+ <div class="info">
|
|
|
+ <div class="head">
|
|
|
+ <img :src="require('@/assets/svg/icon-back.svg')" alt="" class="back">
|
|
|
+ <div class="title">Withdraw</div>
|
|
|
+ <img :src="require('@/assets/svg/icon-more-l.svg')" alt="" class="more">
|
|
|
+ </div>
|
|
|
+ <!-- 内容 -->
|
|
|
+ <div class="content">
|
|
|
+ <div class="area-input-1">
|
|
|
+ <div class="token">
|
|
|
+ <div class="title">Token</div>
|
|
|
+ <div class="box">
|
|
|
+ <img src="" alt="">
|
|
|
+ <span>USDT</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="net">
|
|
|
+ <div class="title">NetWork</div>
|
|
|
+ <div class="box">
|
|
|
+ <img src="" alt="">
|
|
|
+ <span>BNB Chain</span>
|
|
|
+ <img :src="require('@/assets/svg/icon-botton-up.svg')" alt="" class="up">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="area-input-2">
|
|
|
+ <div class="title">Wallet Address</div>
|
|
|
+ <div class="box">
|
|
|
+ <input type="text" placeholder="Click to enter">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="area-input-3">
|
|
|
+ <div class="title">
|
|
|
+ <span>Withdrawal Amount</span>
|
|
|
+ <span>Balance: 122.51</span>
|
|
|
+ </div>
|
|
|
+ <div class="box">
|
|
|
+ <input type="text" placeholder="0">
|
|
|
+ <span>Withdrawal All</span>
|
|
|
+ </div>
|
|
|
+ <div class="error">最少XXXX,最多XXXX</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="tips">
|
|
|
+ <div class="tip-title">TIPS</div>
|
|
|
+ <div class="tip-content">asdasdasdasd</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 底部 -->
|
|
|
+ <div class="footer">
|
|
|
+ <div class="left">
|
|
|
+ <div class="txt">Amount Account</div>
|
|
|
+ <div class="money">0</div>
|
|
|
+ <div class="txt">Network fee: 0.8 USDT</div>
|
|
|
+ </div>
|
|
|
+ <div class="right">
|
|
|
+ <div class="btn">Confirm</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup>
|
|
|
+/* eslint-disable */
|
|
|
+import { onMounted, ref } from "vue";
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+<style lang='scss' scoped>
|
|
|
+.info {
|
|
|
+ position: relative;
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ .head {
|
|
|
+ height: 48px;
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 12px;
|
|
|
+
|
|
|
+ .back,
|
|
|
+ .more {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ padding-left: 16px;
|
|
|
+ flex: 1;
|
|
|
+ color: #000000;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 500;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .content {
|
|
|
+ padding: 16px 16px 0 16px;
|
|
|
+
|
|
|
+ .area-input-1 {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .token,
|
|
|
+ .net {
|
|
|
+ width: 165px;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 12px;
|
|
|
+ margin-bottom: 6px;
|
|
|
+ color: #8B8B8B;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box {
|
|
|
+ border: 1px solid #DBDBDB;
|
|
|
+ border-radius: 8px;
|
|
|
+ height: 44px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 15px 0 10px;
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ }
|
|
|
+ .up{
|
|
|
+ width: 13px;
|
|
|
+ height: 12px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
+ span {
|
|
|
+ flex: 1;
|
|
|
+ margin-left: 6px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 500;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .area-input-2,
|
|
|
+ .area-input-3 {
|
|
|
+ margin-top: 25px;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #8B8B8B;
|
|
|
+ margin-bottom: 6px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box {
|
|
|
+ border: 1px solid #DBDBDB;
|
|
|
+ border-radius: 8px;
|
|
|
+ height: 44px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 5px 18px;
|
|
|
+
|
|
|
+ input {
|
|
|
+ outline: none;
|
|
|
+ border: 0;
|
|
|
+ flex: 1;
|
|
|
+ height: 100%;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ span {
|
|
|
+ display: block;
|
|
|
+ color: #389AFF;
|
|
|
+ font-size: 13px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .error {
|
|
|
+ color: #FFA621;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .tips {
|
|
|
+ margin-top: 30px;
|
|
|
+ font-size: 13px;
|
|
|
+
|
|
|
+ .tip-title {
|
|
|
+ color: #000000;
|
|
|
+ }
|
|
|
+
|
|
|
+ .tip-content {
|
|
|
+ color: #000000;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .footer {
|
|
|
+ border-top: 1px solid #DBDBDB;
|
|
|
+ bottom: 0;
|
|
|
+ height: 80px;
|
|
|
+ display: flex;
|
|
|
+ position: absolute;
|
|
|
+ justify-content: space-between;
|
|
|
+ width: 100%;
|
|
|
+ bottom: 0;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .left {
|
|
|
+ margin-left: 16px;
|
|
|
+ .txt {
|
|
|
+ color: #9D9D9D;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 12px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .money {
|
|
|
+ color: #000000;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 15px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .right {
|
|
|
+ margin-right: 16px;
|
|
|
+ .btn {
|
|
|
+ cursor: pointer;
|
|
|
+ width: 140px;
|
|
|
+ height: 46px;
|
|
|
+ line-height: 46px;
|
|
|
+ text-align: center;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #FFFFFF;
|
|
|
+ background: #D2D2D2;
|
|
|
+ border-radius: 100px;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|