mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added off btn if dont have response
This commit is contained in:
@@ -126,6 +126,10 @@ input:focus {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-style-payments button:disabled {
|
||||
background: #3d3a3a;
|
||||
}
|
||||
|
||||
.btn-click {
|
||||
border-radius: 10px !important;
|
||||
background: #EF4444 !important;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<input type="text">
|
||||
</div>
|
||||
<div class="btn-deposit btn-style-payments">
|
||||
<button type="submit" @click="RedirectedMethodDep">Пополнить</button>
|
||||
<button type="submit" :disabled="offBtn" @click="RedirectedMethodDep">Пополнить</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -57,18 +57,21 @@ export default {
|
||||
card: 0,
|
||||
clickedBtn: '',
|
||||
url: '',
|
||||
offBtn: false,
|
||||
PaymentsModalNumbers
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
amount(newAmount) {
|
||||
console.log(newAmount)
|
||||
this.offBtn = !this.offBtn
|
||||
setTimeout(() => {
|
||||
try {
|
||||
GettingMoneyOperation(newAmount)
|
||||
.then((response) => {
|
||||
console.log('Payments Modal Working!: ', response)
|
||||
this.url = response.url
|
||||
this.offBtn = !this.offBtn
|
||||
})
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user