Верстка фильтра
This commit is contained in:
1 parent
98715ab87f
commit
1bbaef6c92
2 files changed
+97
-19
No files matched your search
@@ -7,11 +7,16 @@
|
||||
offset-y
|
||||
>
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-text-field
|
||||
<v-textarea
|
||||
v-model="selectedDate"
|
||||
:label="datedefault"
|
||||
append-icon="event"
|
||||
readonly
|
||||
:value="dateformat()"
|
||||
no-resize
|
||||
class="my-textarea"
|
||||
rows="1"
|
||||
hide-details
|
||||
style="width:105px"
|
||||
variant="plain"
|
||||
density
|
||||
v-bind="props"
|
||||
/>
|
||||
</template>
|
||||
@@ -46,10 +51,15 @@ export default {
|
||||
menudate.value=false
|
||||
}
|
||||
|
||||
const dateformat = () => {
|
||||
return moment(props.datedefault).format('DD.MM.YYYY')
|
||||
}
|
||||
|
||||
return {
|
||||
menudate,
|
||||
selectedDate,
|
||||
dateStart
|
||||
dateStart,
|
||||
dateformat
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,5 +67,10 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
.my-textarea textarea {
|
||||
color: rgb(28, 28, 41) !important;
|
||||
font-size: 18px;
|
||||
text-align-last: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
@@ -1,10 +1,78 @@
|
||||
<template>
|
||||
<v-row class="ma-3">
|
||||
<!-- <v-col
|
||||
class="text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"
|
||||
>
|
||||
О портале
|
||||
</v-col> -->
|
||||
<v-row class="ma-1">
|
||||
<v-col class="d-flex flex-column">
|
||||
<v-row class="flex-grow-0">
|
||||
<v-col class="bg-red pa-0">
|
||||
<v-toolbar
|
||||
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-2 pr-1">
|
||||
с
|
||||
</v-col>
|
||||
<v-col class="flex-grow-0 px-0 pt-4">
|
||||
<date-select
|
||||
@returndate="returnstart"
|
||||
:datedefault = "startdate"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col class="flex-grow-0 px-1">
|
||||
по
|
||||
</v-col>
|
||||
<v-col class="flex-grow-0 px-0 pt-4">
|
||||
<date-select
|
||||
@returndate="returnend"
|
||||
:datedefault = "endate"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-toolbar>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="flex-grow-0">
|
||||
<v-col class="d-flex flex-column">
|
||||
<v-row>
|
||||
<v-col
|
||||
class="bg-yellow"
|
||||
lg=3
|
||||
>
|
||||
1
|
||||
</v-col>
|
||||
<v-col class="bg-grey">
|
||||
2
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="bg-blue d-flex flex-column">
|
||||
<v-row>
|
||||
<v-col
|
||||
class="bg-green"
|
||||
lg=4
|
||||
>
|
||||
1
|
||||
</v-col>
|
||||
<v-col class="d-flex flex-column">
|
||||
<v-row>
|
||||
<v-col>
|
||||
1
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="flex-grow-0">
|
||||
<v-col class="bg-yellow">
|
||||
2
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<!-- <v-row class="ma-3">
|
||||
|
||||
<v-col
|
||||
class="d-flex flex-column"
|
||||
lg=4
|
||||
@@ -31,12 +99,7 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
<feedmodul :feedback="feedback"/>
|
||||
<!-- <v-row>
|
||||
<v-col class="bg-red">
|
||||
<feedmodul :feedback="feedback"/>
|
||||
{{crit}}
|
||||
</v-col>
|
||||
</v-row> -->
|
||||
|
||||
</v-col>
|
||||
<v-col class="d-flex flex-column ">
|
||||
<v-row class="flex-grow-0">
|
||||
@@ -108,7 +171,7 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-row> -->
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in new issue
Block a user