mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
remove count for single cards
This commit is contained in:
parent
299008f514
commit
8c3f7417c0
@ -38,7 +38,7 @@
|
||||
<span>LEADER</span>
|
||||
|
||||
<div class="card-wrap-small" v-repeat="item: deck | getType [3]" track-by="$index" v-on="click: showLeaders(item.name)">
|
||||
<div class="count-card no-select">{{ item.count }}x</div>
|
||||
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
||||
<div class="bla ani"></div>
|
||||
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
||||
<div class="shadow"></div>
|
||||
@ -51,7 +51,7 @@
|
||||
<span>CLOSE COMBAT</span>
|
||||
|
||||
<div class="card-wrap-small" v-repeat="item: deck | getType [0]" track-by="$index">
|
||||
<div class="count-card no-select">{{ item.count }}x</div>
|
||||
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
||||
<div class="bla ani"></div>
|
||||
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
||||
<div class="shadow"></div>
|
||||
@ -63,7 +63,7 @@
|
||||
<span>RANGE</span>
|
||||
|
||||
<div class="card-wrap-small" v-repeat="item: deck | getType [1]" track-by="$index">
|
||||
<div class="count-card no-select">{{ item.count }}x</div>
|
||||
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
||||
<div class="bla ani"></div>
|
||||
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
||||
<div class="shadow"></div>
|
||||
@ -75,7 +75,7 @@
|
||||
<span>SPECIAL</span>
|
||||
|
||||
<div class="card-wrap-small" v-repeat="item: deck | getType [4,5]" track-by="$index">
|
||||
<div class="count-card no-select">{{ item.count }}x</div>
|
||||
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
||||
<div class="bla ani"></div>
|
||||
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
||||
<div class="shadow"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user