diff --git a/luckydiamond/src/pages/games-pages/SapergamePage.vue b/luckydiamond/src/pages/games-pages/SapergamePage.vue index 8528a55..d0bb70b 100644 --- a/luckydiamond/src/pages/games-pages/SapergamePage.vue +++ b/luckydiamond/src/pages/games-pages/SapergamePage.vue @@ -20,7 +20,7 @@ @@ -151,10 +151,12 @@ export default { return { SaperNumbers, clickedBtn: '', + clickedBtnCrystal : '', amountCrystals: 5, balance: 1000, amountDeposit: 5, flippedCards: [], + modules: [ Pagination ] } }, @@ -175,7 +177,11 @@ export default { else { this.amountDeposit = content } - } + }, + clickedBtnCrystals(index, content) { + this.clickedBtnCrystal = index + this.amountCrystals = content + }, }, }