mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
Stable version of double 2.0.0
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
:autoplay="autoPlay"
|
:autoplay="autoPlay"
|
||||||
class="no-pointer-events"
|
class="no-pointer-events"
|
||||||
:transition="150"
|
:transition="150"
|
||||||
:itemsToShow="3"
|
:itemsToShow="10"
|
||||||
@slide-start="handleStepCarousel"
|
@slide-start="handleStepCarousel"
|
||||||
>
|
>
|
||||||
<Slide v-for="(slide, index) in slides" :key="index">
|
<Slide v-for="(slide, index) in slides" :key="index">
|
||||||
@@ -97,11 +97,9 @@
|
|||||||
<Carousel
|
<Carousel
|
||||||
ref="carouselHistory"
|
ref="carouselHistory"
|
||||||
:wrapAround="true"
|
:wrapAround="true"
|
||||||
:autoplay="autoPlay"
|
|
||||||
class="no-pointer-events"
|
class="no-pointer-events"
|
||||||
:transition="150"
|
:transition="150"
|
||||||
:itemsToShow="28"
|
:itemsToShow="28"
|
||||||
@slide-start="handleStepCarousel"
|
|
||||||
>
|
>
|
||||||
<Slide v-for="(slide, index) in slidesHistory" :key="index">
|
<Slide v-for="(slide, index) in slidesHistory" :key="index">
|
||||||
<div>
|
<div>
|
||||||
@@ -173,6 +171,35 @@ export default {
|
|||||||
img: require("@/assets/icons-games/double-game/RectangleBlackDouble.png"),
|
img: require("@/assets/icons-games/double-game/RectangleBlackDouble.png"),
|
||||||
target: "Black",
|
target: "Black",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
img: require("@/assets/icons-games/double-game/RectangleRedDouble.png"),
|
||||||
|
target: "Red",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
img: require("@/assets/icons-games/double-game/RectangleBlackDouble.png"),
|
||||||
|
target: "Black",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
img: require("@/assets/icons-games/double-game/RectangleGreenDouble.png"),
|
||||||
|
target: "Green",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
img: require("@/assets/icons-games/double-game/RectangleBlackDouble.png"),
|
||||||
|
target: "Black",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
img: require("@/assets/icons-games/double-game/RectangleRedDouble.png"),
|
||||||
|
target: "Red",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
img: require("@/assets/icons-games/double-game/RectangleBlackDouble.png"),
|
||||||
|
target: "Black",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
img: require("@/assets/icons-games/double-game/RectangleRedDouble.png"),
|
||||||
|
target: "Red",
|
||||||
|
},
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// const slides = reactive([]);
|
// const slides = reactive([]);
|
||||||
@@ -235,7 +262,7 @@ export default {
|
|||||||
if (endGame.value == true) {
|
if (endGame.value == true) {
|
||||||
let { currentSlideIndex } = data;
|
let { currentSlideIndex } = data;
|
||||||
if (
|
if (
|
||||||
slides[currentSlideIndex + 1].target == targetColor.value &&
|
slides[currentSlideIndex+1].target == targetColor.value &&
|
||||||
// slides[currentSlideIndex + 1].target == targetColor.value &&
|
// slides[currentSlideIndex + 1].target == targetColor.value &&
|
||||||
endGame.value == true
|
endGame.value == true
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user