Верстка фильтры

This commit is contained in:
iriska-gri committed 2024-01-17 10:58:05 +03:00
1 parent 1bbaef6c92
commit d0c8074479
2 files changed
+54 -9

No files matched your search

+20 -2
View File
@@ -14,11 +14,21 @@
class="my-textarea"
rows="1"
hide-details
style="width:105px"
style="width:119px"
variant="plain"
density
v-bind="props"
/>
>
<template v-slot:prepend-inner>
<v-icon
v-bind="props"
icon='mdi-calendar-today'
color="cyan-darken-3"
size="x-small"
/>
</template>
</v-textarea>
</template>
<v-date-picker
v-model="selectedDate"
@@ -73,4 +83,12 @@ export default {
text-align-last: center;
font-weight: bold;
}
.my-textarea .v-field__prepend-inner > .v-icon {
opacity: 1;
}
.v-field.v-field--variant-underlined .v-field__append-inner, .v-field.v-field--variant-underlined .v-field__clearable, .v-field.v-field--variant-underlined .v-field__prepend-inner, .v-field.v-field--variant-plain .v-field__append-inner, .v-field.v-field--variant-plain .v-field__clearable, .v-field.v-field--variant-plain .v-field__prepend-inner {
align-items: center;
}
</style>
+34 -7
View File
@@ -7,11 +7,17 @@
density="compact"
>
<v-row class="text-h6 font-weight-regular flex-grow-0">
<v-col class="pl-4 pr-0" >Статистика портала за период</v-col>
<v-col class="flex-grow-0 pl-4 pr-0">
<v-icon
icon="mdi-poll"
color="cyan-darken-3"
/>
</v-col>
<v-col class=" pr-0" >Статистика портала за период</v-col>
<v-col class="flex-grow-0 pl-2 pr-1">
с
</v-col>
<v-col class="flex-grow-0 px-0 pt-4">
<v-col class="flex-grow-0 px-2 pt-4">
<date-select
@returndate="returnstart"
:datedefault = "startdate"
@@ -20,7 +26,7 @@
<v-col class="flex-grow-0 px-1">
по
</v-col>
<v-col class="flex-grow-0 px-0 pt-4">
<v-col class="flex-grow-0 px-2 pt-4">
<date-select
@returndate="returnend"
:datedefault = "endate"
@@ -34,13 +40,34 @@
<v-col class="d-flex flex-column">
<v-row>
<v-col
class="bg-yellow"
lg=3
class="px-1 pt-1"
>
1
<v-card
class="d-flex flex-column text-center"
title="Количество посещений"
height="200px"
>
<v-list class="d-flex flex-column align-start text-subtitle-1 py-0">
<v-list-item>
Посетителей сегодня: {{ countvising['now'] }}
</v-list-item>
<v-list-item>
Посетителей на прошлой неделе: {{ countvising['week'] }}
</v-list-item>
<v-list-item>
Посетителей с начала года: {{ countvising['year'] }}
</v-list-item>
</v-list>
</v-card>
</v-col>
<v-col class="bg-grey">
2
<v-col class="pr-0 pl-1 pt-1 pr-1">
<v-card class="d-flex flex-column text-center"
height="200px"
>
<line-graph :data="data" :options="options"/>
</v-card>
</v-col>
</v-row>
</v-col>