mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
feat: add complete kda in champions tabs
This commit is contained in:
parent
e295141eb1
commit
de4369baee
1 changed files with 10 additions and 4 deletions
|
|
@ -52,10 +52,16 @@
|
||||||
:style="bgColor(champion, '55, 118, 179', 'count')"
|
:style="bgColor(champion, '55, 118, 179', 'count')"
|
||||||
class="px-2 py-3 text-white text-sm"
|
class="px-2 py-3 text-white text-sm"
|
||||||
>{{ champion.count }}</td>
|
>{{ champion.count }}</td>
|
||||||
<td
|
<td :style="bgColor(champion, '55, 118, 179', 'kda')" class="px-2 py-3 text-white text-sm">
|
||||||
:style="bgColor(champion, '55, 118, 179', 'kda')"
|
<div>{{ champion.kda|round }}</div>
|
||||||
class="px-2 py-3 text-white text-sm"
|
<div class="mt-1 text-xxs text-blue-200">
|
||||||
>{{ champion.kda|round }}</td>
|
{{ champion.kills/champion.count|round(1) }}
|
||||||
|
/
|
||||||
|
{{ champion.deaths/champion.count|round(1) }}
|
||||||
|
/
|
||||||
|
{{ champion.assists/champion.count|round(1) }}
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
<td
|
<td
|
||||||
:style="bgColor(champion, '71, 132, 116', 'kp')"
|
:style="bgColor(champion, '71, 132, 116', 'kp')"
|
||||||
class="px-2 py-3 text-white text-sm"
|
class="px-2 py-3 text-white text-sm"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue