diff --git a/luckydiamond/src/assets/css/PagesStyles/profile.css b/luckydiamond/src/assets/css/PagesStyles/profile.css index 1cc92e6..04dc383 100644 --- a/luckydiamond/src/assets/css/PagesStyles/profile.css +++ b/luckydiamond/src/assets/css/PagesStyles/profile.css @@ -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; } diff --git a/luckydiamond/src/assets/icons-profile/icon-referal.png b/luckydiamond/src/assets/icons-profile/icon-referal.png new file mode 100644 index 0000000..c834f64 Binary files /dev/null and b/luckydiamond/src/assets/icons-profile/icon-referal.png differ diff --git a/luckydiamond/src/components/ReferalModal.vue b/luckydiamond/src/components/ReferalModal.vue new file mode 100644 index 0000000..1c49c39 --- /dev/null +++ b/luckydiamond/src/components/ReferalModal.vue @@ -0,0 +1,28 @@ + + + + \ No newline at end of file diff --git a/luckydiamond/src/pages/ProfilePage.vue b/luckydiamond/src/pages/ProfilePage.vue index f538eca..42a0aaf 100644 --- a/luckydiamond/src/pages/ProfilePage.vue +++ b/luckydiamond/src/pages/ProfilePage.vue @@ -14,6 +14,7 @@
Пополнить Вывести + Рефералы
@@ -57,6 +58,7 @@
+ @@ -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