123123213

This commit is contained in:
Kostya
2024-04-06 17:13:21 +03:00
parent 2f424a8e4e
commit 8294cc8e97
2 changed files with 22 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
.jackpot-history__content {
display: flex;
max-width: 80%;
/*max-width: 80%;*/
max-height: 800px;
overflow-y: auto;
margin: 0 auto;
@@ -8,11 +8,15 @@
.jackpot-history__element {
display: flex;
flex-direction: column;
/*flex-direction: column;*/
flex-wrap: wrap;
margin: 15px;
}
.abc {
}
.element-info {
display: flex;
align-items: center;

View File

@@ -10,24 +10,26 @@ t<template>
<div class="jackpot-history__content">
<ul class="jackpot-history__element">
<li v-for="(game, index) in historyGame" :key="index">
<div class="jackpot-history__element">
<div class="element-info">
<div class="element-info__icon">
<img :src="`https://avatar.spworlds.ru/face/55/${game.winnerUserName}`">
<div class="abc">
<div class="jackpot-history__element">
<div class="element-info">
<div class="element-info__icon">
<img :src="`https://avatar.spworlds.ru/face/55/${game.winnerUserName}`">
</div>
<div class="element-info__user-info">
<h2 class="username">{{ game.winnerUserName }}</h2>
<h2 class="user-deposit">
{{ game.winStake }}
<span class="img-width"><img src="@/assets/icons-profile/icon-diamond-ore.png"></span>
</h2>
</div>
</div>
<div class="element-info__user-info">
<h2 class="username">{{ game.winnerUserName }}</h2>
<h2 class="user-deposit">
{{ game.winStake }}
<span class="img-width"><img src="@/assets/icons-profile/icon-diamond-ore.png"></span>
<div class="element-chance">
<h2>
Шанс <span class="chance-style">{{ game.winnerPercentage.toFixed(2) }}%</span>
</h2>
</div>
</div>
<div class="element-chance">
<h2>
Шанс <span class="chance-style">{{ game.winnerPercentage.toFixed(2) }}%</span>
</h2>
</div>
</div>
</li>
</ul>