|
@@ -87,14 +87,17 @@
|
|
|
<!-- 提现状态(0:已申请,1:支付中,2:提现成功,3:提现失败) -->
|
|
|
<template v-if="item.bizData.withdrawStatus == 0 || item.bizData.withdrawStatus == 1">
|
|
|
<div>
|
|
|
- <div class="balance">
|
|
|
+ <div class="balance"
|
|
|
+ :class="{'balance-direction': item.trxAmountCurrencyInfo.tokenSymbol.length + ('' + item.trxAmountValue).length > 12}">
|
|
|
<span class="amount">
|
|
|
<a-tooltip :title="'-'+item.trxAmountValue">
|
|
|
-{{ getBit(item.trxAmountValue) || 0 }}
|
|
|
</a-tooltip>
|
|
|
</span>
|
|
|
- <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
- <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ <div class="trx-amount-currency-info">
|
|
|
+ <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
+ <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="desc">
|
|
|
in progress
|
|
@@ -102,26 +105,32 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else-if="item.bizData.withdrawStatus == 2">
|
|
|
- <div class="balance">
|
|
|
+ <div class="balance"
|
|
|
+ :class="{'balance-direction': item.trxAmountCurrencyInfo.tokenSymbol.length + ('' + item.trxAmountValue).length > 12}">
|
|
|
<span class="amount">
|
|
|
<a-tooltip :title="'-'+item.trxAmountValue">
|
|
|
-{{ getBit(item.trxAmountValue) || 0 }}
|
|
|
</a-tooltip>
|
|
|
</span>
|
|
|
- <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
- <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ <div class="trx-amount-currency-info">
|
|
|
+ <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
+ <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else-if="item.bizData.withdrawStatus == 3">
|
|
|
<div>
|
|
|
- <div class="balance">
|
|
|
+ <div class="balance"
|
|
|
+ :class="{'balance-direction': item.trxAmountCurrencyInfo.tokenSymbol.length + ('' + item.trxAmountValue).length > 12}">
|
|
|
<span class="amount">
|
|
|
<a-tooltip :title="'-'+item.trxAmountValue">
|
|
|
-{{ getBit(item.trxAmountValue) || 0 }}
|
|
|
</a-tooltip>
|
|
|
</span>
|
|
|
- <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
- <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ <div class="trx-amount-currency-info">
|
|
|
+ <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
+ <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="desc">
|
|
|
Withdrawal failed
|
|
@@ -129,25 +138,35 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <span class="amount">
|
|
|
- <a-tooltip :title="'-'+item.trxAmountValue">
|
|
|
- -{{ getBit(item.trxAmountValue) || 0 }}
|
|
|
- </a-tooltip>
|
|
|
- </span>
|
|
|
- <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
- <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ <div class="balance"
|
|
|
+ :class="{'balance-direction': item.trxAmountCurrencyInfo.tokenSymbol.length + ('' + item.trxAmountValue).length > 12}">
|
|
|
+ <span class="amount">
|
|
|
+ <a-tooltip :title="'-'+item.trxAmountValue">
|
|
|
+ -{{ getBit(item.trxAmountValue) || 0 }}
|
|
|
+ </a-tooltip>
|
|
|
+ </span>
|
|
|
+ <div class="trx-amount-currency-info">
|
|
|
+ <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
+ <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</template>
|
|
|
<!-- 收入 -->
|
|
|
<template v-else>
|
|
|
- <span class="amount">
|
|
|
- <template v-if="item.bizType == -2">-</template>
|
|
|
- <a-tooltip :title="item.bizType == -2 ? '-' + item.trxAmountValue : item.trxAmountValue">
|
|
|
- {{ getBit(item.trxAmountValue) || 0 }}
|
|
|
- </a-tooltip>
|
|
|
- </span>
|
|
|
- <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
- <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ <div class="balance"
|
|
|
+ :class="{'balance-direction': item.trxAmountCurrencyInfo.tokenSymbol.length + ('' + item.trxAmountValue).length > 12}">
|
|
|
+ <span class="amount">
|
|
|
+ <template v-if="item.bizType == -2">-</template>
|
|
|
+ <a-tooltip :title="item.bizType == -2 ? '-' + item.trxAmountValue : item.trxAmountValue">
|
|
|
+ {{ getBit(item.trxAmountValue) || 0 }}
|
|
|
+ </a-tooltip>
|
|
|
+ </span>
|
|
|
+ <div class="trx-amount-currency-info">
|
|
|
+ <span class="name">{{ item.trxAmountCurrencyInfo.tokenSymbol }}</span>
|
|
|
+ <img :src="item.trxAmountCurrencyInfo.iconPath" alt="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -384,9 +403,18 @@ const listScroll = (e) => {
|
|
|
|
|
|
.balance {
|
|
|
text-align: right;
|
|
|
- margin-bottom: 4px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+
|
|
|
+ .trx-amount-currency-info {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .balance-direction {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-end;
|
|
|
}
|
|
|
|
|
|
.desc {
|
|
@@ -394,6 +422,7 @@ const listScroll = (e) => {
|
|
|
font-weight: 400;
|
|
|
font-size: 12px;
|
|
|
color: #797979;
|
|
|
+ margin-top: 4px;
|
|
|
}
|
|
|
}
|
|
|
|