mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
Compare commits
12 Commits
DevelopRaf
...
1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90f2c466ba | ||
|
|
612a6c6f01 | ||
|
|
9d8c545528 | ||
|
|
b80d5f4070 | ||
|
|
f5785d143c | ||
|
|
3eac45d056 | ||
|
|
1ecdabfdf4 | ||
|
|
1df840c050 | ||
|
|
b0eb2984ad | ||
|
|
4d09d7dd21 | ||
|
|
0c7440440f | ||
|
|
c0017f0b81 |
@@ -88,6 +88,17 @@
|
||||
background: #EF4444;
|
||||
}
|
||||
|
||||
.referal {
|
||||
padding: 3.8% 46% 3% 14%;
|
||||
margin-top: 12px;
|
||||
background: #2D6AE0;
|
||||
}
|
||||
|
||||
.referal img {
|
||||
height: 20px;
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.playerandvid {
|
||||
margin-right: 10vh;
|
||||
}
|
||||
|
||||
BIN
luckydiamond/src/assets/icons-profile/icon-referal.png
Normal file
BIN
luckydiamond/src/assets/icons-profile/icon-referal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -68,11 +68,11 @@ export default {
|
||||
},
|
||||
ClaimDatamsg(msg) {
|
||||
const now = Date.now();
|
||||
if (!this.lastMsgTime || now - this.lastMsgTime >= 2000) {
|
||||
if (!this.lastMsgTime || now - this.lastMsgTime >= 1000) {
|
||||
SendMessageToChat(msg[0]);
|
||||
this.lastMsgTime = now;
|
||||
} else {
|
||||
alert("Вы не можете отправлять сообщения чаще, чем раз в 2 секунды.");
|
||||
alert("Вы не можете отправлять сообщения так часто");
|
||||
}
|
||||
},
|
||||
muteChat() {
|
||||
@@ -135,5 +135,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
</div>
|
||||
<div class="withdraw-checkbox checkbox-styles">
|
||||
<input @click="agreeUser = !agreeUser" type="checkbox" />
|
||||
<h3>Я согласен с пользовательским соглашением.</h3>
|
||||
<h3>Я согласен <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3>
|
||||
</div>
|
||||
<div class="error-captcha" v-if="errorCaptcha && agreeUser === true">
|
||||
<h2>Пройдите проверку!</h2>
|
||||
|
||||
28
luckydiamond/src/components/ReferalModal.vue
Normal file
28
luckydiamond/src/components/ReferalModal.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div class="payment-modal withdraw-modal">
|
||||
<div class="payments-modal__content close-modal__icon text-styles__margin">
|
||||
<h1>Рефералы</h1>
|
||||
<img @click="closeModal" src="@/assets/icons-other/icon-payments-modal-close.svg" />
|
||||
</div>
|
||||
<div v-if="payments" class="payments-modal__deposit">
|
||||
</div>
|
||||
<div v-else class="payments-modal__withdraw deposit-text withdraw-input">
|
||||
<div class="btn-withdraw btn-text-style btn-display-deposit btn-style-payments">
|
||||
<h1>В РАЗРАБОТКЕ</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import "@/assets/css/ComponentsStyles/payments-modal.css";
|
||||
export default {
|
||||
props: ["payments"],
|
||||
methods: {
|
||||
closeModal() {
|
||||
return this.$emit("closemodal");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
|
||||
const SiteOff = {
|
||||
template: `<div style="text-align: center; margin-top: 20%;">
|
||||
<h1>Site is currently unavailable.</h1>
|
||||
<p>We are currently performing maintenance. We will be back shortly!</p>
|
||||
</div>`
|
||||
};
|
||||
const siteIsOff = true;
|
||||
|
||||
import router from "@/router/router";
|
||||
import mitt from 'mitt'
|
||||
import { Mixins } from "@/mixins/mixin";
|
||||
@@ -11,12 +19,20 @@ import '@/assets/css/global.css'
|
||||
|
||||
export const eventBus = mitt()
|
||||
|
||||
const app = createApp(App)
|
||||
// const app = createApp(App)
|
||||
const app = createApp(siteIsOff ? SiteOff : App);
|
||||
|
||||
app.use(router)
|
||||
app.mixin(Mixins)
|
||||
if (!siteIsOff) {
|
||||
app.use(router);
|
||||
app.mixin(Mixins);
|
||||
app.provide(eventBus);
|
||||
// ConnectToChat(); // Uncomment if chat should also be disabled when the site is off.
|
||||
}
|
||||
|
||||
// app.use(router)
|
||||
// app.mixin(Mixins)
|
||||
|
||||
app.mount('#app')
|
||||
app.provide(eventBus)
|
||||
// app.provide(eventBus)
|
||||
|
||||
ConnectToChat();
|
||||
@@ -9,7 +9,8 @@
|
||||
|
||||
<main class="main">
|
||||
<div class="main__content">
|
||||
<h3>онлайн-казино</h3>
|
||||
<h3>Казино временно не работает</h3>
|
||||
<!-- <h3>онлайн-казино</h3> -->
|
||||
<h1>lucky diamond</h1>
|
||||
<h4>
|
||||
minecraft casino -
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<div class="profile__btns--payments">
|
||||
<a href="#" class="text-btn btn-bg btn-margin btn-display" @click="depositClick"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-deposit.svg"> Пополнить</a>
|
||||
<a href="#" class="withdraw text-btn btn-bg btn-display" @click="withdrawClick"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-withdraw.png"> Вывести</a>
|
||||
<a href="#" class="referal text-btn btn-bg btn-display" @click="referalClick"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-referal.png"> Рефералы</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="payments">
|
||||
@@ -57,6 +58,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<referal-modal v-if="openRef" @notifacetionmoney="NotificationEventListener" @closemodal="openRef = false"></referal-modal>
|
||||
<payments-modal v-if="openModal" @notifacetionmoney="NotificationEventListener" @closemodal="openModal = false" :payments="payments"></payments-modal>
|
||||
<notiicationwindow-component @notificationremove="NotificationMethod" :notification="notification"></notiicationwindow-component>
|
||||
</div>
|
||||
@@ -67,13 +69,14 @@ import axios from 'axios';
|
||||
import ChatComponent from "@/components/ChatComponent.vue";
|
||||
import HeaderComponent from "@/components/HeaderComponent.vue";
|
||||
import PaymentsModal from "@/components/PaymentsModal.vue";
|
||||
import ReferalModal from "@/components/ReferalModal.vue";
|
||||
import ProfilemobilePage from "@/pages/adaptive-pages/ProfilemobilePage.vue";
|
||||
import NotiicationwindowComponent from "@/components/NotiicationwindowComponent.vue";
|
||||
import { GetCookie } from "@/assets/js/storage/CookieStorage";
|
||||
import '@/assets/css/PagesStyles/profile.css'
|
||||
import {GetCurrentMoney} from "@/assets/js/rest/RestMethods";
|
||||
export default {
|
||||
components: {ProfilemobilePage, HeaderComponent, AsideBarComponent, ChatComponent, PaymentsModal, NotiicationwindowComponent },
|
||||
components: {ProfilemobilePage, HeaderComponent, AsideBarComponent, ChatComponent, PaymentsModal, ReferalModal, NotiicationwindowComponent },
|
||||
data() {
|
||||
return {
|
||||
username: 'Artemka',
|
||||
@@ -82,6 +85,7 @@ export default {
|
||||
balance: 0,
|
||||
mobile: false,
|
||||
openModal: false,
|
||||
openRef: false,
|
||||
payments: true,
|
||||
arrayHistory: [],
|
||||
}
|
||||
@@ -134,6 +138,9 @@ export default {
|
||||
this.openModal = true
|
||||
this.payments = false
|
||||
},
|
||||
referalClick() {
|
||||
this.openRef = true
|
||||
},
|
||||
NotificationEventListener() {
|
||||
this.notification = true
|
||||
this.openModal = false
|
||||
|
||||
Reference in New Issue
Block a user