rafick tvoia mater jirafic23333dfsfdfsdfsfsf42314fsddfasfffafafafaf

This commit is contained in:
Madara0330E
2024-02-28 19:07:45 +03:00
parent 4c0aed3f34
commit 1434152bde
2 changed files with 9 additions and 54 deletions

View File

@@ -2,26 +2,22 @@
width: 30%; width: 30%;
margin-left: 3%; margin-left: 3%;
} }
.profile__content .profile__user--img { .profile__content .profile__user--img {
margin: 17.6% 8.4% 1% 0; margin: 17.6% 8.4% 1% 0;
background: #969C8D; background: #969C8D;
padding-top: 10px; padding-top: 10px;
border-radius: 20px; border-radius: 20px;
} }
.profile__card { .profile__card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.profile__card h1 { .profile__card h1 {
color: #FFF; color: #FFF;
font-weight: 700; font-weight: 700;
font-family: Montserrat; font-family: Montserrat;
font-size: 40px; font-size: 40px;
} }
.profile__card h2 { .profile__card h2 {
border-radius: 20px; border-radius: 20px;
background: #22252F; background: #22252F;
@@ -35,47 +31,38 @@
font-size: 28px; font-size: 28px;
padding-left: 11px; padding-left: 11px;
} }
.profile__card h2 img { .profile__card h2 img {
margin-right: 4.4%; margin-right: 4.4%;
} }
.profile__btns--payments { .profile__btns--payments {
margin-top: 7.9%; margin-top: 7.9%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.icon-diamond h2 img { .icon-diamond h2 img {
width: 33px; width: 33px;
height: 33px; height: 33px;
} }
.deposit-icon { .deposit-icon {
margin: 3px 0 0 10px; margin: 3px 0 0 10px;
} }
.withdraw-icon { .withdraw-icon {
margin-left: 33px; margin-left: 33px;
} }
.btn-bg { .btn-bg {
border-radius: 10px; border-radius: 10px;
background: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.12);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
width: 36%; width: 36%;
} }
.btn-margin { .btn-margin {
padding: 3.8% 46% 3% 14%; padding: 3.8% 46% 3% 14%;
margin-bottom: 11px; margin-bottom: 11px;
background: #62D4B2; background: #62D4B2;
} }
.btn-display { .btn-display {
display: flex; display: flex;
} }
.text-btn { .text-btn {
text-decoration: none; text-decoration: none;
color: #000; color: #000;
@@ -85,15 +72,14 @@
font-size: 18px; font-size: 18px;
margin-left: 4px; margin-left: 4px;
} }
.icon-margin-deposit-withdraw { .icon-margin-deposit-withdraw {
margin-right: 4px; margin-right: 4px;
} }
.withdraw { .withdraw {
padding: 3.8% 46% 3% 14%; padding: 3.8% 46% 3% 14%;
background: #EF4444; background: #EF4444;
} }
.playerandvid { .playerandvid {
margin-right: 10vh; margin-right: 10vh;
} }
@@ -111,28 +97,26 @@
.types { .types {
display: flex; display: flex;
} }
.types-margin h3 { .types-margin h3 {
margin-right: 7.813em; margin-right: 7.813em;
} }
.types-text h3 { .types-text h3 {
color: #ABABB4; color: #ABABB4;
font-weight: 600; font-weight: 600;
font-family: Montserrat; font-family: Montserrat;
font-size: 14px; font-size: 14px;
} }
.types-line { .types-line {
flex-grow: 1; /* Add this line */ flex-grow: 1; /* Add this line */
margin-top: 2.1%; margin-top: 2.1%;
background: #38383E; background: #38383E;
height: 3px; height: 3px;
width: 86%; width: 100vh;
} }
.payments__card { .payments__card {
margin-top: 4.9%; margin-top: 4.9%;
display: flex; display: flex;
@@ -145,7 +129,6 @@
align-items: center; /* Center vertically */ align-items: center; /* Center vertically */
margin-right: 1em; /* Add margin for spacing */ margin-right: 1em; /* Add margin for spacing */
} }
.user-name { .user-name {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -153,28 +136,22 @@
align-items: center; /* Center horizontally */ align-items: center; /* Center horizontally */
margin-top: -0.5em; /* Adjust this value as needed */ margin-top: -0.5em; /* Adjust this value as needed */
} }
.user-name__text h3 { .user-name__text h3 {
color: #FFF; color: #FFF;
font-weight: 700; font-weight: 700;
font-family: Montserrat; font-family: Montserrat;
font-size: 20px; font-size: 20px;
} }
.user-name__text p { .user-name__text p {
color: #A9A9A9; color: #A9A9A9;
font-weight: 400; font-weight: 400;
font-family: Montserrat; font-family: Montserrat;
font-size: 20px; font-size: 20px;
} }
.data-info { .data-info {
margin-left: 1vh; /* Push to the right */ margin-left: 17vh; /* Push to the right */
margin-right: auto; /* Push to the left */ margin-right: auto; /* Push to the left */
} }
.data-info__text h3 { .data-info__text h3 {
color: #A9A9A9; color: #A9A9A9;
font-weight: 400; font-weight: 400;
@@ -183,8 +160,8 @@
} }
.transaction-info { .transaction-info {
margin-right: 10em; /* Add margin for spacing */
margin-right: 6em; /* Add margin for spacing */ margin-right: 6em; /* Add margin for spacing */
<<<<<<< HEAD
display: flex; display: flex;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
@@ -195,71 +172,59 @@
justify-content: center; justify-content: center;
align-content: center; align-content: center;
width: 20vh; width: 20vh;
=======
>>>>>>> dc8d843d7b4afcc3cf97d0d9bcd6cd519aafc44b
} }
.transaction-info__text h3 { .transaction-info__text h3 {
font-weight: 500; font-weight: 500;
font-family: Montserrat; font-family: Montserrat;
font-size: 22px; font-size: 22px;
} }
.deposit-color h3 { .deposit-color h3 {
color: #32C966; color: #32C966;
} }
.withdraw-color h3 { .withdraw-color h3 {
color: #EA3D38; color: #EA3D38;
} }
.error-deposit { .error-deposit {
position: absolute; position: absolute;
left: 190px; left: 190px;
top: 52px; top: 52px;
} }
.error-deposit h2 { .error-deposit h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 11px; font-size: 11px;
} }
.error-card { .error-card {
position: absolute; position: absolute;
top: 130px; top: 130px;
left: 210px; left: 210px;
} }
.error-card h2 { .error-card h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 11px; font-size: 11px;
} }
.error-checkbox h2 { .error-checkbox h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 11px; font-size: 11px;
} }
.error-captcha { .error-captcha {
top: 235px; top: 235px;
left: 45px; left: 45px;
position: absolute; position: absolute;
} }
.error-captcha h2 { .error-captcha h2 {
color: #BA3636; color: #BA3636;
font-family: "Montserrat Alternates"; font-family: "Montserrat Alternates";
font-weight: 700; font-weight: 700;
font-size: 13px; font-size: 13px;
} }
/* Media */ /* Media */
@media screen and (min-device-width: 1400px) and (max-device-width: 1600px) { @media screen and (min-device-width: 1400px) and (max-device-width: 1600px) {
.profile__card h2 { .profile__card h2 {
width: 72%; width: 72%;
@@ -271,7 +236,6 @@
padding-right: 56%; padding-right: 56%;
} }
} }
@media screen and (min-device-width: 1200px) and (max-device-width: 1399px) { @media screen and (min-device-width: 1200px) and (max-device-width: 1399px) {
.profile__card h2 { .profile__card h2 {
width: 80%; width: 80%;
@@ -283,5 +247,4 @@
padding-right: 66%; padding-right: 66%;
} }
} }
/* /Media */ /* /Media */

View File

@@ -2,11 +2,8 @@
<profilemobile-page v-if="mobile"></profilemobile-page> <profilemobile-page v-if="mobile"></profilemobile-page>
<div class="content__grid-profile" v-else> <div class="content__grid-profile" v-else>
<aside-bar-component></aside-bar-component> <aside-bar-component></aside-bar-component>
<chat-component></chat-component> <chat-component></chat-component>
<header-component></header-component> <header-component></header-component>
<section class="profile"> <section class="profile">
<div class="profile__content"> <div class="profile__content">
<img class="profile__user--img" :src="imageUrl"> <img class="profile__user--img" :src="imageUrl">
@@ -17,7 +14,8 @@
<div class="profile__btns--payments"> <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="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="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="withdraw text-btn btn-bg btn-display" @click="claimDataDeposit(1)"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-withdraw.png"> Вывести</a> <a href="#" class="withdraw text-btn btn-bg btn-display" @click="claimDataDeposit(1000)"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-withdraw.png"> Вывести</a>
</div> </div>
</div> </div>
<div class="payments"> <div class="payments">
@@ -59,7 +57,6 @@
<notiicationwindow-component @notificationremove="NotificationMethod" :notification="notification"></notiicationwindow-component> <notiicationwindow-component @notificationremove="NotificationMethod" :notification="notification"></notiicationwindow-component>
</div> </div>
</template> </template>
<script> <script>
import AsideBarComponent from "@/components/AsidebarComponent.vue"; import AsideBarComponent from "@/components/AsidebarComponent.vue";
import ChatComponent from "@/components/ChatComponent.vue"; import ChatComponent from "@/components/ChatComponent.vue";
@@ -67,11 +64,9 @@ import HeaderComponent from "@/components/HeaderComponent.vue";
import PaymentsModal from "@/components/PaymentsModal.vue"; import PaymentsModal from "@/components/PaymentsModal.vue";
import ProfilemobilePage from "@/pages/adaptive-pages/ProfilemobilePage.vue"; import ProfilemobilePage from "@/pages/adaptive-pages/ProfilemobilePage.vue";
import NotiicationwindowComponent from "@/components/NotiicationwindowComponent.vue"; import NotiicationwindowComponent from "@/components/NotiicationwindowComponent.vue";
import { GetCookie } from "@/assets/js/storage/CookieStorage"; import { GetCookie } from "@/assets/js/storage/CookieStorage";
import '@/assets/css/PagesStyles/profile.css' import '@/assets/css/PagesStyles/profile.css'
import {GetCurrentMoney} from "@/assets/js/rest/RestMethods"; import {GetCurrentMoney} from "@/assets/js/rest/RestMethods";
export default { export default {
components: {ProfilemobilePage, HeaderComponent, AsideBarComponent, ChatComponent, PaymentsModal, NotiicationwindowComponent }, components: {ProfilemobilePage, HeaderComponent, AsideBarComponent, ChatComponent, PaymentsModal, NotiicationwindowComponent },
data() { data() {
@@ -89,7 +84,6 @@ export default {
emits: ['notificationremove'], emits: ['notificationremove'],
mounted() { mounted() {
this.checkWindowSize() this.checkWindowSize()
this.AddWindowListener() this.AddWindowListener()
}, },
beforeUnmount() { beforeUnmount() {
@@ -97,7 +91,6 @@ export default {
}, },
created() { created() {
this.username = GetCookie('SpUserName') this.username = GetCookie('SpUserName')
GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken')) GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken'))
.then((response) => { .then((response) => {
this.balance = response.currentMoney this.balance = response.currentMoney
@@ -106,7 +99,6 @@ export default {
.catch((error) => { .catch((error) => {
console.error('error in profile, get money', error) console.error('error in profile, get money', error)
}) })
this.imageUrl = `https://avatar.spworlds.ru/front/256/${this.username}` this.imageUrl = `https://avatar.spworlds.ru/front/256/${this.username}`
}, },
methods: { methods: {