nieyuge vor 2 Jahren
Ursprung
Commit
e2ed4d484c
1 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
  1. 4 5
      src/view/components/popup-transactions.vue

+ 4 - 5
src/view/components/popup-transactions.vue

@@ -184,15 +184,14 @@
 
                                         <!--支出—— -2:零钱余额支付 、-3: NFT盲盒余额支付 -->
                                         <span class="amount" v-if="item.bizType == -2 || item.bizType == -3 || item.bizType == -4">
-                                            -
                                             <a-tooltip :title="'-' + item.trxAmountValue">
-                                                {{ getBit(item.trxAmountValue) || 0 }}
+                                                -{{ getBit(item.trxAmountValue) || 0 }}
                                             </a-tooltip>
                                         </span>
                                         <!-- 收入—— bizType:1、2、3、4 -->
                                         <span class="amount" v-else>
-                                            <a-tooltip :title="item.trxAmountValue">
-                                                {{ getBit(item.trxAmountValue) || 0 }}
+                                            <a-tooltip :title="'+'+item.trxAmountValue">
+                                                +{{ getBit(item.trxAmountValue) || 0 }}
                                             </a-tooltip>
                                         </span>
 
@@ -418,6 +417,7 @@ const listScroll = (e) => {
                         align-items: center;
 
                         .amount {
+                            color: #E86F00;
                             max-width: 110px;
                             min-width: 20px;
                             display: inline-block;
@@ -427,7 +427,6 @@ const listScroll = (e) => {
 
                         .name {
                             margin-left: 3px;
-                            color: #E86F00;
                             max-width: 130px;
                             line-height: 14px;
                             font-size: 13px;