mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
Рефералы кнопка работать хорошо
This commit is contained in:
@@ -53,6 +53,12 @@
|
|||||||
left: 10%;
|
left: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.referal-icon-diamond img {
|
||||||
|
position: absolute;
|
||||||
|
top: 35.5%;
|
||||||
|
left: 10%;
|
||||||
|
}
|
||||||
|
|
||||||
.deposit-icon__input .promo-input,
|
.deposit-icon__input .promo-input,
|
||||||
.deposit-icon__input .deposit-amount__input,
|
.deposit-icon__input .deposit-amount__input,
|
||||||
.withdraw-input .with-input{
|
.withdraw-input .with-input{
|
||||||
|
|||||||
@@ -4,14 +4,83 @@
|
|||||||
<h1>Рефералы</h1>
|
<h1>Рефералы</h1>
|
||||||
<img @click="closeModal" src="@/assets/icons-other/icon-payments-modal-close.svg" />
|
<img @click="closeModal" src="@/assets/icons-other/icon-payments-modal-close.svg" />
|
||||||
</div>
|
</div>
|
||||||
<div v-if="payments" class="payments-modal__deposit">
|
<div class="payments-modal__deposit">
|
||||||
|
<div class="error-deposit" v-if="errorDeposit">
|
||||||
|
<h2>Ошибка с суммой депозита</h2>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="payments-modal__withdraw deposit-text withdraw-input">
|
<div
|
||||||
<div class="btn-withdraw btn-text-style btn-display-deposit btn-style-payments">
|
class="deposit-input deposit-text referal-icon-diamond deposit-icon__input"
|
||||||
<h1>В РАЗРАБОТКЕ</h1>
|
>
|
||||||
|
<br>
|
||||||
|
<h3>Ваш реферальный код</h3>
|
||||||
|
<input
|
||||||
|
:class="{ 'animate-start-btn': errorDeposit }" readonly
|
||||||
|
class="deposit-amount__input"
|
||||||
|
v-model="amount"
|
||||||
|
type="number"
|
||||||
|
/>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<h3>Доступно к выводу</h3>
|
||||||
|
<img src="@/assets/icons-games/saper-game/icon-diamond-ore-saper.png" />
|
||||||
|
<input
|
||||||
|
:class="{ 'animate-start-btn': errorDeposit }" readonly
|
||||||
|
class="deposit-amount__input"
|
||||||
|
v-model="amount"
|
||||||
|
type="number"
|
||||||
|
/>
|
||||||
|
<div class="deposit-btns">
|
||||||
|
<ul class="display-btns btns-style-diamonds">
|
||||||
|
<li v-for="(number, index) in PaymentsModalNumbers" :key="index">
|
||||||
|
<button
|
||||||
|
@click="clickedBtnChoice(index, number.diamonds)"
|
||||||
|
:class="{
|
||||||
|
'btn-click': clickedBtn === index,
|
||||||
|
[number]: clickedBtn === number,
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
{{ number.diamonds }}
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="deposit-promocode deposit-promocode__padding--input">
|
||||||
|
<h3>Всего привели рефералов</h3>
|
||||||
|
<div class="promokods">
|
||||||
|
<input
|
||||||
|
:class="{ 'animate-start-btn': errorDeposit }" readonly
|
||||||
|
class="deposit-amount__input"
|
||||||
|
v-model="amount"
|
||||||
|
type="number"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="error-checkbox" v-if="errorAgree">
|
||||||
|
<h2>Подтвердите согласие!</h2>
|
||||||
|
</div>
|
||||||
|
<div class="deposit-checkbox checkbox-styles">
|
||||||
|
<input
|
||||||
|
@click="agreeUser = !agreeUser"
|
||||||
|
type="checkbox"
|
||||||
|
:class="{ 'animate-start-btn': errorAgree }"
|
||||||
|
/>
|
||||||
|
<h3>Я согласен с <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="btn-deposit btn-text-style btn-display-deposit btn-style-payments"
|
||||||
|
>
|
||||||
|
<p>
|
||||||
|
Вы подтверждаете правильность введенных данных при создании вывода.
|
||||||
|
</p>
|
||||||
|
<button type="submit" @click="RedirectedMethodDep">Вывести</button>
|
||||||
|
<p>
|
||||||
|
Перед пополнение прочитайте политику конфиденциальности и
|
||||||
|
пользовательское соглашение.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -24,5 +93,4 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -133,12 +133,15 @@ export default {
|
|||||||
depositClick() {
|
depositClick() {
|
||||||
this.openModal = true
|
this.openModal = true
|
||||||
this.payments = true
|
this.payments = true
|
||||||
|
this.openRef = false
|
||||||
},
|
},
|
||||||
withdrawClick() {
|
withdrawClick() {
|
||||||
this.openModal = true
|
this.openModal = true
|
||||||
this.payments = false
|
this.payments = false
|
||||||
|
this.openRef = false
|
||||||
},
|
},
|
||||||
referalClick() {
|
referalClick() {
|
||||||
|
this.openModal = false
|
||||||
this.openRef = true
|
this.openRef = true
|
||||||
},
|
},
|
||||||
NotificationEventListener() {
|
NotificationEventListener() {
|
||||||
|
|||||||
Reference in New Issue
Block a user