mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-11 15:56:29 +02:00
Revert "Merge pull request #21 from danilt2000/DevelopCkutls"
This reverts commit25c8bab94f, reversing changes made to3b06b7ef2d.
This commit is contained in:
@@ -1,70 +0,0 @@
|
||||
t<template>
|
||||
<div class="jackpot-history__content-grid">
|
||||
<aside-bar-element/>
|
||||
|
||||
<chat-component/>
|
||||
|
||||
<header-element-page/>
|
||||
|
||||
<div class="jackpot-history">
|
||||
<div class="jackpot-history__content">
|
||||
<ul class="jackpot-history__element">
|
||||
<li v-for="(game, index) in historyGame" :key="index">
|
||||
<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.toFixed(2) }}
|
||||
<span class="img-width"><img src="@/assets/icons-profile/icon-diamond-ore.png"></span>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="element-chance">
|
||||
<h2>
|
||||
Шанс <span class="chance-style">{{ game.winnerPercentage.toFixed(2) }}%</span>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { onMounted, reactive } from "vue";
|
||||
|
||||
import ChatComponent from "@/components/ChatComponent.vue";
|
||||
import AsideBarElement from "@/components/AsidebarComponent.vue";
|
||||
import HeaderElementPage from "@/components/HeaderComponent.vue";
|
||||
|
||||
import '@/assets/css/PagesStyles/jackpot-history.css'
|
||||
import {getJackpotHistoryGame} from "@/assets/js/jackpot/JackpotLogic";
|
||||
|
||||
export default {
|
||||
components: {HeaderElementPage, ChatComponent, AsideBarElement},
|
||||
setup() {
|
||||
let historyGame = reactive({})
|
||||
|
||||
onMounted(() => {
|
||||
getJackpotHistoryGame()
|
||||
.then(response => {
|
||||
Object.assign(historyGame, response)
|
||||
})
|
||||
})
|
||||
|
||||
return { historyGame }
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user