mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
work
This commit is contained in:
9
luckydiamond/package-lock.json
generated
9
luckydiamond/package-lock.json
generated
@@ -21,6 +21,7 @@
|
||||
"vue-chart-3": "^3.1.8",
|
||||
"vue-recaptcha": "^3.0.0-alpha.6",
|
||||
"vue-router": "^4.2.5",
|
||||
"vue3-carousel": "^0.3.1",
|
||||
"vue3-recaptcha2": "^1.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -11892,6 +11893,14 @@
|
||||
"integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/vue3-carousel": {
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/vue3-carousel/-/vue3-carousel-0.3.1.tgz",
|
||||
"integrity": "sha512-86vUkNPBzL2PVuR9w6hUsI90ccFjLp+K8cSFpRTISf+SjUQY3fMHc5CFF5MUL62v1xYYm27zEBmQupO9VQx9Kw==",
|
||||
"peerDependencies": {
|
||||
"vue": "^3.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue3-recaptcha2": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/vue3-recaptcha2/-/vue3-recaptcha2-1.8.0.tgz",
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"vue-chart-3": "^3.1.8",
|
||||
"vue-recaptcha": "^3.0.0-alpha.6",
|
||||
"vue-router": "^4.2.5",
|
||||
"vue3-carousel": "^0.3.1",
|
||||
"vue3-recaptcha2": "^1.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -21,11 +21,36 @@
|
||||
width: 100%;
|
||||
|
||||
/* height: 480px; */
|
||||
height: 100%;
|
||||
/* height: 100%; */
|
||||
border: 1px solid #262C55;
|
||||
height: 100%;
|
||||
/* margin-top: 2.6%; */
|
||||
/* margin: 2.6%; */
|
||||
}
|
||||
.jackpot-carousel{
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
/* margin-left: 5%; */
|
||||
border-radius: 10px;
|
||||
background: #1D223E;
|
||||
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||
width: 100%;
|
||||
margin-top: 1%;
|
||||
|
||||
/* height: 480px; */
|
||||
/* height: 100%; */
|
||||
border: 1px solid #262C55;
|
||||
height: 95%;
|
||||
}
|
||||
.carousel-arrow {
|
||||
position: absolute;
|
||||
bottom: -20px; /* Регулируйте положение стрелки относительно нижнего края карусели */
|
||||
left: 50%; /* Центрирование стрелки по горизонтали */
|
||||
transform: translateX(-50%); /* Дополнительное центрирование, чтобы точка указывала точно на центр */
|
||||
color: #ffffff; /* Цвет стрелки */
|
||||
font-size: 24px; /* Размер стрелки */
|
||||
/* Добавьте любые дополнительные стили, такие как цвет фона, границы и т.д. */
|
||||
}
|
||||
|
||||
.jackpot-game {
|
||||
z-index: 1;
|
||||
@@ -129,6 +154,9 @@
|
||||
transition: width 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
.no-pointer-events {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (max-width: 1415px) {
|
||||
.padding-elements-jackpot {
|
||||
|
||||
@@ -115,20 +115,38 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <progress class="progress is-primary" value="39" max="100">
|
||||
15%
|
||||
</progress> -->
|
||||
|
||||
<div class="progress-bar">
|
||||
<div class="progress" style="width: 70%">15.00 СЕК</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="jackpot-loading-bar"></div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="jackpot-carousel">
|
||||
<div class="carousel-arrow">▲</div>
|
||||
<Carousel
|
||||
ref="carousel"
|
||||
:itemsToShow="15"
|
||||
:wrapAround="true"
|
||||
:transition="400"
|
||||
class="no-pointer-events"
|
||||
>
|
||||
<Slide v-for="slide in 10" :key="slide">
|
||||
<div class="carousel__item">
|
||||
<img
|
||||
src="https://avatar.spworlds.ru/face/55/Hepatir.png"
|
||||
alt="Голова"
|
||||
/>
|
||||
</div>
|
||||
</Slide>
|
||||
</Carousel>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -156,6 +174,11 @@ import { GetCurrentMoney } from "@/assets/js/rest/RestMethods";
|
||||
import "@/assets/css/PagesStyles/games-pages/jackpot.css";
|
||||
import "@/assets/css/global.css";
|
||||
import JackpotNumbers from "@/mocks/JackpotNumbers";
|
||||
|
||||
import { Carousel, Slide } from "vue3-carousel";
|
||||
|
||||
import "vue3-carousel/dist/carousel.css";
|
||||
|
||||
// import ProgressBar from "vue-bulma-progress-bar";
|
||||
|
||||
// import '@/assets/css/PagesStyles/games-pages/jackpot.css'
|
||||
@@ -164,6 +187,9 @@ export default {
|
||||
HeaderComponent,
|
||||
AsideBarComponent,
|
||||
ChatComponent,
|
||||
Carousel,
|
||||
Slide,
|
||||
// Pagination
|
||||
// ProgressBar,
|
||||
},
|
||||
data() {
|
||||
@@ -184,7 +210,14 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
startAutoScroll() {
|
||||
this.interval = setInterval(() => {
|
||||
this.$refs.carousel.next();
|
||||
}, 1);
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.startAutoScroll();
|
||||
},
|
||||
watch: {
|
||||
amountDeposit(DepositCount) {
|
||||
@@ -249,3 +282,45 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.carousel__slide {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.carousel__viewport {
|
||||
perspective: 2000px;
|
||||
}
|
||||
|
||||
.carousel__track {
|
||||
transform-style: preserve-3d;
|
||||
}
|
||||
|
||||
.carousel__slide--sliding {
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
.carousel__slide {
|
||||
opacity: 0.9;
|
||||
transform: rotateY(-20deg) scale(0.9);
|
||||
}
|
||||
|
||||
.carousel__slide--active ~ .carousel__slide {
|
||||
transform: rotateY(20deg) scale(0.9);
|
||||
}
|
||||
|
||||
.carousel__slide--prev {
|
||||
opacity: 1;
|
||||
transform: rotateY(-10deg) scale(0.95);
|
||||
}
|
||||
|
||||
.carousel__slide--next {
|
||||
opacity: 1;
|
||||
transform: rotateY(10deg) scale(0.95);
|
||||
}
|
||||
|
||||
.carousel__slide--active {
|
||||
opacity: 1;
|
||||
transform: rotateY(0) scale(1.1);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user