mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added notification about start-game in saper
This commit is contained in:
@@ -274,6 +274,14 @@ input[type="number"]::-webkit-outer-spin-button {
|
|||||||
|
|
||||||
/* Saper Game */
|
/* Saper Game */
|
||||||
|
|
||||||
|
.start-game {
|
||||||
|
position: absolute;
|
||||||
|
top: 15%;
|
||||||
|
left: 45%;
|
||||||
|
background: #000;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.saper-game {
|
.saper-game {
|
||||||
margin: -2.75% 0 0 5.1%;
|
margin: -2.75% 0 0 5.1%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,6 +126,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="start-game" v-if="ValidationPlay.startGame === true">
|
||||||
|
<h2>Игра началась!</h2>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -163,7 +166,8 @@ export default {
|
|||||||
PercentageGameSteps: [],
|
PercentageGameSteps: [],
|
||||||
ValidationPlay: {
|
ValidationPlay: {
|
||||||
CrystalValidate: false,
|
CrystalValidate: false,
|
||||||
DiamondValidate: false
|
DiamondValidate: false,
|
||||||
|
startGame: false,
|
||||||
},
|
},
|
||||||
modules: [ Navigation ]
|
modules: [ Navigation ]
|
||||||
}
|
}
|
||||||
@@ -219,7 +223,10 @@ export default {
|
|||||||
this.errorPlayButton()
|
this.errorPlayButton()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log('yes')
|
this.ValidationPlay.startGame = true
|
||||||
|
setTimeout(() => {
|
||||||
|
this.ValidationPlay.startGame = false
|
||||||
|
}, 1500)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
validationCheck() {
|
validationCheck() {
|
||||||
|
|||||||
Reference in New Issue
Block a user