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 */
|
||||
|
||||
.start-game {
|
||||
position: absolute;
|
||||
top: 15%;
|
||||
left: 45%;
|
||||
background: #000;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.saper-game {
|
||||
margin: -2.75% 0 0 5.1%;
|
||||
}
|
||||
|
||||
@@ -126,6 +126,9 @@
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="start-game" v-if="ValidationPlay.startGame === true">
|
||||
<h2>Игра началась!</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -163,7 +166,8 @@ export default {
|
||||
PercentageGameSteps: [],
|
||||
ValidationPlay: {
|
||||
CrystalValidate: false,
|
||||
DiamondValidate: false
|
||||
DiamondValidate: false,
|
||||
startGame: false,
|
||||
},
|
||||
modules: [ Navigation ]
|
||||
}
|
||||
@@ -219,7 +223,10 @@ export default {
|
||||
this.errorPlayButton()
|
||||
}
|
||||
else {
|
||||
console.log('yes')
|
||||
this.ValidationPlay.startGame = true
|
||||
setTimeout(() => {
|
||||
this.ValidationPlay.startGame = false
|
||||
}, 1500)
|
||||
}
|
||||
},
|
||||
validationCheck() {
|
||||
|
||||
Reference in New Issue
Block a user