From 4bfe25d8879c68a0bfceb757b4b59fe2ffe26e8f Mon Sep 17 00:00:00 2001 From: Konstantin Vinokurov Date: Thu, 2 Jun 2022 23:00:42 +0700 Subject: [PATCH 1/2] +Vue +edited backend --- frontend/src/assets/css/catalog.css | 2 +- frontend/src/assets/css/offer.css | 8 ++++++ frontend/src/components/ProfileAddOffer.vue | 28 +++++++++++++++++---- frontend/src/components/TheHeader.vue | 10 ++++---- frontend/src/views/OfferView.vue | 6 ++--- 5 files changed, 40 insertions(+), 14 deletions(-) diff --git a/frontend/src/assets/css/catalog.css b/frontend/src/assets/css/catalog.css index 550f793..cccdc9c 100644 --- a/frontend/src/assets/css/catalog.css +++ b/frontend/src/assets/css/catalog.css @@ -37,7 +37,7 @@ h1, h2, h3, h4, h5, h6 { /* Intro */ .intro { width: 100%; - height: 100vh; + min-height: 100vh; display: flex; flex-direction: column; justify-content:center; diff --git a/frontend/src/assets/css/offer.css b/frontend/src/assets/css/offer.css index a983465..6976f96 100644 --- a/frontend/src/assets/css/offer.css +++ b/frontend/src/assets/css/offer.css @@ -242,7 +242,15 @@ h1, h2, h3, h4, h5, h6 { margin: 1% 0; } +.rewiew__comment{ + padding-left: 10px; +} + .review__stars { display: flex; flex-direction: row; +} + +.user__stat{ + padding-right: 10px; } \ No newline at end of file diff --git a/frontend/src/components/ProfileAddOffer.vue b/frontend/src/components/ProfileAddOffer.vue index e0baf0a..16e3b54 100644 --- a/frontend/src/components/ProfileAddOffer.vue +++ b/frontend/src/components/ProfileAddOffer.vue @@ -20,7 +20,7 @@

Название для объявления:

- +

Тип:

@@ -32,11 +32,11 @@

Адрес:

- +

Цена:

- +

Кол-во комнат:

@@ -49,11 +49,12 @@

Площадь:

- +

Описание:

- + +
@@ -263,12 +264,28 @@ export default { margin-top: 1%; } +.descriptions__textarea{ + background-color: rgb(201, 233, 252); + border-radius: 5px; + border-color: white; + box-shadow: none; + border: 1px solid rgb(83, 110, 136); + + width: 100%; + height: 100px; + + + font-size: 0.8em; +} + .about__describtions input { background-color: rgb(201, 233, 252); border-radius: 5px; border-color: white; box-shadow: none; border: 1px solid rgb(83, 110, 136); + + font-size: 0.8em; } .about__describtions h4 { @@ -278,5 +295,6 @@ export default { .descriptions__text input { width: 100%; height: 100px; + } \ No newline at end of file diff --git a/frontend/src/components/TheHeader.vue b/frontend/src/components/TheHeader.vue index 2d3bbc0..f2bf2b3 100644 --- a/frontend/src/components/TheHeader.vue +++ b/frontend/src/components/TheHeader.vue @@ -30,10 +30,8 @@