mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
36 lines
936 B
Vue
36 lines
936 B
Vue
<template>
|
|
<div class="payment-modal">
|
|
<div class="payments-modal__content">
|
|
<h1>{{ payments ? 'Пополнить' : 'Вывод' }}</h1>
|
|
<button @click="closeModal">X</button>
|
|
</div>
|
|
<div v-if="payments" class="payments-modal__deposit payments__input--color payments__margin payments__button">
|
|
<label>Введите сумму пополнения</label>
|
|
<input type="number">
|
|
<div class="payments-modal__content--btn">
|
|
<button type="submit">Подтвердить</button>
|
|
</div>
|
|
</div>
|
|
<div v-else class="payments-modal__withdraw payments-input__color payments__margin payments__button">
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import '@/assets/css/ComponentsStyles/payments-modal.css'
|
|
|
|
export default {
|
|
props: [
|
|
'payments'
|
|
],
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
methods: {
|
|
closeModal() {
|
|
return this.$emit('closemodal')
|
|
}
|
|
}
|
|
}
|
|
</script> |