Верстка фильтры
This commit is contained in:
1 parent
1bbaef6c92
commit
d0c8074479
2 files changed
+54
-9
No files matched your search
@@ -14,11 +14,21 @@
|
|||||||
class="my-textarea"
|
class="my-textarea"
|
||||||
rows="1"
|
rows="1"
|
||||||
hide-details
|
hide-details
|
||||||
style="width:105px"
|
style="width:119px"
|
||||||
variant="plain"
|
variant="plain"
|
||||||
density
|
density
|
||||||
v-bind="props"
|
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>
|
</template>
|
||||||
<v-date-picker
|
<v-date-picker
|
||||||
v-model="selectedDate"
|
v-model="selectedDate"
|
||||||
@@ -73,4 +83,12 @@ export default {
|
|||||||
text-align-last: center;
|
text-align-last: center;
|
||||||
font-weight: bold;
|
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>
|
</style>
|
||||||
@@ -7,11 +7,17 @@
|
|||||||
density="compact"
|
density="compact"
|
||||||
>
|
>
|
||||||
<v-row class="text-h6 font-weight-regular flex-grow-0">
|
<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 class="flex-grow-0 pl-2 pr-1">
|
||||||
с
|
с
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="flex-grow-0 px-0 pt-4">
|
<v-col class="flex-grow-0 px-2 pt-4">
|
||||||
<date-select
|
<date-select
|
||||||
@returndate="returnstart"
|
@returndate="returnstart"
|
||||||
:datedefault = "startdate"
|
:datedefault = "startdate"
|
||||||
@@ -20,7 +26,7 @@
|
|||||||
<v-col class="flex-grow-0 px-1">
|
<v-col class="flex-grow-0 px-1">
|
||||||
по
|
по
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="flex-grow-0 px-0 pt-4">
|
<v-col class="flex-grow-0 px-2 pt-4">
|
||||||
<date-select
|
<date-select
|
||||||
@returndate="returnend"
|
@returndate="returnend"
|
||||||
:datedefault = "endate"
|
:datedefault = "endate"
|
||||||
@@ -34,13 +40,34 @@
|
|||||||
<v-col class="d-flex flex-column">
|
<v-col class="d-flex flex-column">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col
|
<v-col
|
||||||
class="bg-yellow"
|
|
||||||
lg=3
|
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>
|
||||||
<v-col class="bg-grey">
|
<v-col class="pr-0 pl-1 pt-1 pr-1">
|
||||||
2
|
<v-card class="d-flex flex-column text-center"
|
||||||
|
height="200px"
|
||||||
|
>
|
||||||
|
<line-graph :data="data" :options="options"/>
|
||||||
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|||||||
Reference in new issue
Block a user