update colors for price changes

This commit is contained in:
liangping 2021-11-22 18:09:23 +08:00
parent 751810ee20
commit 1e3bc9cf22

View File

@ -48,15 +48,17 @@
</div> </div>
<div class="mr-3"> <div class="mr-3">
<small>24h Change</small> <small>24h Change</small>
<div>{{ changesIn24H }}%</div> <div :class="changesIn24H > 0 ? 'text-success': 'text-danger'">
{{ changesIn24H }}%
</div>
</div> </div>
<div class="mr-3"> <div class="mr-3">
<small>24h High</small> <small>24h High</small>
<div>59000</div> <div>-</div>
</div> </div>
<div> <div>
<small>24h Low</small> <small>24h Low</small>
<div>58000</div> <div>-</div>
</div> </div>
</div> </div>
<Kline /> <Kline />