|
|
@@ -7,14 +7,17 @@
|
|
|
<v-chip label
|
|
|
class="ma-2 tradeLabel"
|
|
|
@click="httpKit.jumpToEthw(trade.token, 'token')"
|
|
|
- v-if="!trade.tokenSymbol && trade.token !== '0xeth'">
|
|
|
+ v-if="!trade.tokenSymbol">
|
|
|
+ <!-- 没有名字的 -->
|
|
|
<div class="tokenName">{{ hashKit.headAndEnd2(trade.token) }}</div>
|
|
|
<div class="tokenAmount">{{ numKit._N(trade.amount, 4) }} </div>
|
|
|
</v-chip>
|
|
|
<v-chip label
|
|
|
- color="blue lighten-4" class="ma-2 tradeLabel"
|
|
|
+ :color="hashKit.generateColorByHash(trade.token)"
|
|
|
+ class="ma-2 tradeLabel"
|
|
|
@click="httpKit.jumpToEthw(trade.token, 'token')"
|
|
|
v-else>
|
|
|
+ <!-- 有名字的和Ethereum/EthereumPow -->
|
|
|
<div class="tokenName">{{ trade.tokenSymbol }}</div>
|
|
|
<div class="tokenAmount">{{ numKit._N(trade.amount, 4) }}</div>
|
|
|
</v-chip>
|