A\An %!s(int64=3) %!d(string=hai) anos
pai
achega
644ba1acd7
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  1. 6 5
      src/view/popup/popup.vue

+ 6 - 5
src/view/popup/popup.vue

@@ -78,7 +78,7 @@
                                                 </template>
                                                 <!-- 已完成 -->
                                                 <template v-else-if="item.status == 1">
-                                                    <span>{{ item.amount }}</span>
+                                                    <span class="blance">{{ item.amount }}</span>
                                                     <span class="coin-type">{{ item.currencySymbol || '' }}</span>
                                                     <img :src="item.currencyIconPath" alt="">
                                                 </template>
@@ -89,7 +89,7 @@
                                             </template>
                                             <!-- 发出去的 -->
                                             <template v-else-if="item.type == 2">
-                                                <span>-{{ item.amount }}</span>
+                                                <span class="blance">-{{ item.amount }}</span>
                                                 <span class="coin-type">{{ item.currencySymbol || '' }}</span>
                                                 <img :src="item.currencyIconPath" alt="">
                                             </template>
@@ -625,7 +625,7 @@ body {
                 display: flex;
                 justify-content: space-between;
                 align-items: center;
-                height: 66px;
+                min-height: 66px;
                 box-sizing: border-box;
                 padding-left: 20px;
                 cursor: pointer;
@@ -656,7 +656,7 @@ body {
                     align-items: center;
                     border-bottom: 1px solid #d1d1d1;
                     box-sizing: border-box;
-                    padding-right: 16px;
+                    padding: 8px 16px 8px 0;
 
                     .left {
                         .nickname {
@@ -685,11 +685,12 @@ body {
                                 justify-content: flex-end;
                                 align-items: center;
 
-                                span {
+                                .blance {
                                     margin-left: 3px;
                                     display: inline-block;
                                     max-width: 68px;
                                     word-break: break-all;
+                                    line-height: 18px;
                                 }
 
                                 .coin-type {