Kaynağa Gözat

Merge branch 'dev_1.1.0' of https://git.yishihui.com/DeNet/de-net into dev_1.1.0

zhangwei 2 yıl önce
ebeveyn
işleme
77802544e8
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      src/view/popup/currency-detail.vue

+ 4 - 2
src/view/popup/currency-detail.vue

@@ -14,11 +14,13 @@
         :src="currencyInfo.iconPath"/>
       <div class="amount">
         <div class="balance"
-             :class="{'direction-column': (currencyInfo.totalBalance.length + currencyInfo.tokenSymbol.length) > 12}">
-             
+             :class="{'direction-column': (currencyInfo.totalBalance.length + currencyInfo.tokenSymbol.length) > 15}">
           <a-tooltip :title="currencyInfo.totalBalance">
               {{ getBit(currencyInfo.totalBalance) }}
           </a-tooltip> 
+          <template v-if="currencyInfo.totalBalance.length + currencyInfo.tokenSymbol.length < 16">
+            &nbsp;&nbsp;
+          </template>
           <span class="symbol">
              {{currencyInfo.tokenSymbol}}
           </span>