1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 02:44:42 +00:00

+Vue +edited backend

This commit is contained in:
Konstantin Vinokurov
2022-06-01 00:22:29 +07:00
parent 9de12f2c3f
commit 7cd8e5e1ba
8 changed files with 74 additions and 39 deletions

View File

@@ -199,7 +199,8 @@ h1, h2, h3, h4, h5, h6 {
.suggestions__title { .suggestions__title {
font-size: 25px; font-size: 25px;
padding-left: 10%; /*padding-left: 10%;*/
margin: 0% 12%;
} }
.suggestions__images { .suggestions__images {
@@ -253,6 +254,7 @@ h1, h2, h3, h4, h5, h6 {
.podlozhka { .podlozhka {
position: relative; position: relative;
width: 369px;
} }
.podlozhka:hover .sugg__img { .podlozhka:hover .sugg__img {
@@ -306,7 +308,7 @@ h1, h2, h3, h4, h5, h6 {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: left; align-items: left;
margin: 2% 40% 2% 10%; margin: 2% 12%;
} }
.parametrs { .parametrs {
@@ -391,6 +393,7 @@ h1, h2, h3, h4, h5, h6 {
.parametrs__block ul { .parametrs__block ul {
padding:0; padding:0;
margin:0; margin:0;
list-style: none; list-style: none;
@@ -399,23 +402,32 @@ h1, h2, h3, h4, h5, h6 {
/* применяем inline-block позиционирование к элементам навигации */ /* применяем inline-block позиционирование к элементам навигации */
.parametrs__block ul li { .parametrs__block ul li {
margin: 0px -7px 0 0;
margin: 0px 28px 0 0;
display:inline-block; display:inline-block;
background-color: #E64A19; border-radius: 0px;
background-color: #1A89C9;
} }
/* стилизуем ссылки */ /* стилизуем ссылки */
.parametrs__block a { .parametrs__block a {
display:block; display:block;
padding:0 10px; padding:0 20px;
color:#FFF; color:#FFF;
font-size:20px; font-size:20px;
line-height: 60px; line-height: 60px;
text-decoration:none; text-decoration:none;
} }
.parametrs__block b {
display:block;
padding:0 20px;
}
/* изменяем цвет фона при наведении курсора */ /* изменяем цвет фона при наведении курсора */
.parametrs__block a:hover { .parametrs__block a:hover {
background-color: #000000; background-color: #000000;
} }
@@ -433,7 +445,7 @@ h1, h2, h3, h4, h5, h6 {
/* первый уровень выпадающего списка */ /* первый уровень выпадающего списка */
.parametrs__block ul ul li { .parametrs__block ul ul li {
z-index: 100; z-index: 100;
min-width:170px; min-width: 200px;
float:none; float:none;
display:list-item; display:list-item;
position: relative; position: relative;

View File

@@ -70,7 +70,7 @@ h1, h2, h3, h4, h5, h6 {
padding-left: 20%; padding-left: 20%;
margin: 0 auto; margin: 0 auto;
background: url("@/assets/images/1.1.jpg") center background: url("@/assets/images/user_standart.png") center
no-repeat; no-repeat;
background-size: cover; background-size: cover;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -2,9 +2,9 @@
<div class="about__user"> <div class="about__user">
<div class="about__title"><h2>Обо мне</h2></div> <div class="about__title"><h2>Обо мне</h2></div>
<div class="about__images"> <div class="about__images">
<img src="@/assets/images/1.1.jpg" alt=""> <img src="@/assets/images/user_standart.png" alt="">
<img src="@/assets/images/1.1.jpg" alt=""> <img src="@/assets/images/user_standart.png" alt="">
<img src="@/assets/images/1.1.jpg" alt=""> <img src="@/assets/images/user_standart.png" alt="">
</div> </div>
<div class="about_describtions"> <div class="about_describtions">
<h4>Имя Фамилия: </h4><h3>{{ name }}</h3> <h4>Имя Фамилия: </h4><h3>{{ name }}</h3>

View File

@@ -39,7 +39,12 @@
</div> </div>
<div class="descriptions__flats"> <div class="descriptions__flats">
<h4>Кол-во комнат:</h4> <h4>Кол-во комнат:</h4>
<input type="text" size="40" v-model.number="offer.rooms"> <select v-model="offer.rooms">
<option value="Studio" selected>Студия</option>
<option value="Room1">1 комната</option>
<option value="Room2">2 комнаты</option>
<option value="Room3More">3 комнаты и более</option>
</select>
</div> </div>
<div class="descriptions__square"> <div class="descriptions__square">
<h4>Площадь:</h4> <h4>Площадь:</h4>

View File

@@ -0,0 +1,4 @@
export const getURL = (path) => {
const image = path.replace('public/', '');
return `http://tusur.tk:9080/storage/${image}`;
};

View File

@@ -34,23 +34,35 @@
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<ul> <ul>
<li><a href="#">Home</a></li> <li><a href="#">Тип</a>
<li><a href="#">WordPress</a>
<ul> <ul>
<li><a href="#">Themes</a></li> <li><a href="#">Квартира</a></li>
<li><a href="#">Plugins</a></li> <li><a href="#">Участок</a></li>
<li><a href="#">Tutorials</a></li> <li><a href="#">Дом</a></li>
</ul> </ul>
</li> </li>
<li><a href="#">Graphic Design</a> <li><a href="#">Площадь</a>
<ul> <ul>
<li><input type="text"></li> <li><b href="#">От: <input type="text"></b></li>
<li><input type="text"></li> <li><b href="#">До: <input type="text"></b></li>
<li><a href="#">Сортировать</a></li>
</ul>
</li>
<li><a href="#">Кол - во комнат</a>
<ul>
<li><a href="#">Студия</a></li>
<li><a href="#">1 комната</a></li>
<li><a href="#">2 комнаты</a></li>
<li><a href="#">3 комнаты и более</a></li>
</ul>
</li>
<li><a href="#">Цена</a>
<ul>
<li><b href="#">От: <input type="text"></b></li>
<li><b href="#">До: <input type="text"></b></li>
<li><a href="#">Сортировать</a></li>
</ul> </ul>
</li> </li>
<li><a href="#">Inspiration</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">About</a></li>
</ul> </ul>
</div> </div>
<div class="suggestions__images"> <div class="suggestions__images">

View File

@@ -18,7 +18,9 @@
<a class="odnushka__price" href="#">1 580 000</a> <a class="odnushka__price" href="#">1 580 000</a>
</div> </div>
<div class="intro__btn"> <div class="intro__btn">
<a class="intro__button" href="#">посмотреть</a> <router-link to="/catalog/1" class="intro__button" href="#">
посмотреть
</router-link>
</div> </div>
</div> </div>
</div> </div>
@@ -36,24 +38,24 @@
</div> </div>
</section> </section>
<section class="suggestions"> <!-- <section class="suggestions">-->
<div class="suggestions__title"> <!-- <div class="suggestions__title">-->
<h3 class="newhome">Интересные предложения</h3> <!-- <h3 class="newhome">Интересные предложения</h3>-->
</div> <!-- </div>-->
<div class="suggestions__images"> <!-- <div class="suggestions__images">-->
<div class="podlozhka" v-for="offer in offers"> <!-- <div class="podlozhka" v-for="offer in offers">-->
<div class="sugg__img"><a class="gradient" href="#"><img src="@/assets/images/1.jpg" alt=""></a></div> <!-- <div class="sugg__img"><a class="gradient" href="#"><img src="@/assets/images/1.jpg" alt=""></a></div>-->
<div class="sugg__text"><p>{{offer.name}}}</p><h2>{{ offer.price }}</h2></div> <!-- <div class="sugg__text"><p>{{offer.name}}</p><h2>{{ offer.price }}</h2></div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="afterword"> <!-- <div class="afterword">-->
<p class="afterword">Это подборка лучших вариантов, найденных</p> <!-- <p class="afterword">Это подборка лучших вариантов, найденных</p>-->
<p class="afterword">нашими сотрудниками.</p> <!-- <p class="afterword">нашими сотрудниками.</p>-->
<p class="after__afterword">Вдруг ваше будущее жилье здесь?</p> <!-- <p class="after__afterword">Вдруг ваше будущее жилье здесь?</p>-->
</div> <!-- </div>-->
</section> <!-- </section>-->
<TheFooter></TheFooter> <TheFooter></TheFooter>
</template> </template>