added template and styles for profilemobile

This commit is contained in:
Kostya
2023-12-17 14:51:07 +03:00
parent 54de1e997d
commit 8138c53ee4
2 changed files with 83 additions and 1 deletions

View File

@@ -2,6 +2,10 @@ body {
overflow-y: scroll; overflow-y: scroll;
} }
.header-mobile {
height: 70%;
}
.content-grid__mobile-profile { .content-grid__mobile-profile {
display: grid; display: grid;
grid-auto-columns: 1fr; grid-auto-columns: 1fr;
@@ -18,4 +22,66 @@ body {
.profile-mobile { .profile-mobile {
grid-area: profile-mobile; grid-area: profile-mobile;
width: 100%;
height: 100%;
}
.profile-mobile__content {
display: flex;
}
.profile-mobile__btns-payments {
display: flex;
flex-direction: column;
}
.text-default-mobile h2, h3 {
font-weight: 700;
color: #fff;
}
.macroinfo-profile {
margin: 15px 0 0 20px;
}
.macroinfo-profile img {
width: 197px;
height: 197px;
}
.img-margin img {
margin-top: 15px;
}
.macroinfo-profile h2 {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.00);
font-family: Montserrat Alternates;
font-size: 33px;
line-height: 31px;
}
.info-profile {
/*margin-left: 10%;*/
margin: 12% 0 0 10%;
}
.info-profile .text-nickname-user {
font-family: Montserrat;
font-size: 2em;
}
.info-profile .balance-border {
border-radius: 20px;
width: 100%;
background: #22252F;
}
.info-profile .balance-display {
display: flex;
align-items: center;
}
.info-profile .balance-text {
font-family: Montserrat Alternates;
font-size: 28px;
} }

View File

@@ -3,7 +3,20 @@
<header-mobile-component></header-mobile-component> <header-mobile-component></header-mobile-component>
<main class="profile-mobile"> <main class="profile-mobile">
<div class="profile-mobile__content">
<div class="macroinfo-profile text-default-mobile img-margin">
<h2>Профиль</h2>
<img src="@/assets/icons-test/person-icon-profile-userinfo.png">
</div>
<div class="info-profile">
<h3 class="text-nickname-user">Artmeka</h3>
<h3 class="balance-border balance-display balance-text"><img src="@/assets/icons-profile/icon-diamond-ore.png">999</h3>
<div class="profile-mobile__btns-payments">
<a href="#"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-deposit.svg"> Пополнить</a>
<a href="#"><img class="icon-margin-deposit-withdraw" src="@/assets/icons-profile/icon-withdraw.png"> Вывести</a>
</div>
</div>
</div>
</main> </main>
<menu-mobile-component></menu-mobile-component> <menu-mobile-component></menu-mobile-component>
@@ -14,6 +27,9 @@
<script> <script>
import HeaderMobileComponent from "@/components/adaptive-components/HeaderMobileComponent.vue"; import HeaderMobileComponent from "@/components/adaptive-components/HeaderMobileComponent.vue";
import MenuMobileComponent from "@/components/adaptive-components/MenuMobileComponent.vue"; import MenuMobileComponent from "@/components/adaptive-components/MenuMobileComponent.vue";
import '@/assets/css/PagesStyles/adaptive-pages/profilemobile.css'
export default { export default {
components: { HeaderMobileComponent, MenuMobileComponent } components: { HeaderMobileComponent, MenuMobileComponent }
} }