refactor template and styles

This commit is contained in:
Kostya
2024-02-06 00:31:24 +03:00
parent dfb3ed224f
commit 9072fc3c38
2 changed files with 9 additions and 1 deletions

View File

@@ -180,7 +180,7 @@
} }
.user-crash { .user-crash {
background: #000000; background: #1d1f24;
width: 800px; width: 800px;
margin: 10px auto 0 auto; margin: 10px auto 0 auto;
display: grid; display: grid;
@@ -284,6 +284,10 @@
font-weight: 700; font-weight: 700;
} }
.lose-game h2 {
color: #EF4444 !important;
}
.user-crash-game__winmoney img { .user-crash-game__winmoney img {
margin-top: 7px; margin-top: 7px;
} }

View File

@@ -70,6 +70,10 @@
<img src="@/assets/icons-games/saper-game/icon-diamond-ore-saper.png"> <img src="@/assets/icons-games/saper-game/icon-diamond-ore-saper.png">
<h2>{{ player.WinningMoney.toFixed(2) }}</h2> <h2>{{ player.WinningMoney.toFixed(2) }}</h2>
</div> </div>
<div class="user-crash-game__winmoney lose-game" v-if="player.WinningX <= 0 && crashObject.Status === 'GameEnd'">
<img src="@/assets/icons-games/saper-game/icon-diamond-ore-saper.png">
<h2>-{{ player.Bid }}.00</h2>
</div>
</div> </div>
</li> </li>
</ul> </ul>