Переверстка

This commit is contained in:
iriska-gri committed 2024-01-17 16:47:56 +03:00
1 parent 05b634302f
commit ba495b7efe
4 files changed
+57 -59

No files matched your search

+4
View File
@@ -64,4 +64,8 @@ import {useAccountStore} from '@/store/AccountStore'
} }
.gap {
gap: 5px;
}
</style> </style>
@@ -1,6 +1,6 @@
<template> <template>
<v-row> <v-row>
<v-col class="d-flex flex-column"> <v-col class="d-flex flex-column" style="gap:10px">
<div> <div>
<card-total <card-total
name="Всего поставлено оценок" name="Всего поставлено оценок"
+1 -1
View File
@@ -16,7 +16,7 @@
hide-details hide-details
style="width:119px" style="width:119px"
variant="plain" variant="plain"
density density="compact"
v-bind="props" v-bind="props"
> >
<template v-slot:prepend-inner> <template v-slot:prepend-inner>
+51 -57
View File
@@ -1,55 +1,45 @@
<template> <template>
<v-row class="ma-1"> <v-row no-gutters class="ma-1">
<v-col class="d-flex flex-column"> <v-col class="d-flex flex-column gap">
<v-row class="flex-grow-0">
<v-col class="bg-red pa-0"> <v-row no-gutters class="flex-grow-0">
<v-toolbar <v-col>
density="compact" <v-toolbar
> density="compact"
<v-row class="text-h6 font-weight-regular flex-grow-0"> class="text-h6 font-weight-regular"
<v-col class="flex-grow-0 pl-4 pr-0"> >
<v-icon <v-icon
icon="mdi-poll" icon="mdi-poll"
color="cyan-darken-3" color="cyan-darken-3"
class="mx-2"
/> />
</v-col>
<v-col class="pr-0" >Статистика портала за период</v-col> Статистика портала за период с
<v-col class="flex-grow-0 pl-2 pr-1"> <div class="px-2 pb-1">
с <date-select
</v-col> @returndate="returnstart"
<v-col class="flex-grow-0 px-2 pt-4"> :datedefault = "startdate"
<date-select />
@returndate="returnstart" </div>
:datedefault = "startdate" по
/> <div class="px-2 pb-1">
</v-col> <date-select
<v-col class="flex-grow-0 px-1"> @returndate="returnend"
по :datedefault = "endate"
</v-col> />
<v-col class="flex-grow-0 px-2 pt-4"> </div>
<date-select </v-toolbar>
@returndate="returnend" </v-col>
:datedefault = "endate"
/>
</v-col>
</v-row>
</v-toolbar>
</v-col>
</v-row> </v-row>
<v-row class="flex-grow-0">
<v-col class="pa-1 d-flex flex-column"> <v-row no-gutters class="gap">
<v-row> <v-col lg=3>
<v-col <v-card
lg=3 class="text-center"
class="" title="Количество посещений"
> height="200px"
<v-card >
class="d-flex flex-column text-center" <v-list class="text-start text-subtitle-1">
title="Количество посещений"
height="200px"
>
<v-list class="d-flex flex-column align-start text-subtitle-1">
<v-list-item> <v-list-item>
Посетителей сегодня: {{ countvising['now'] }} Посетителей сегодня: {{ countvising['now'] }}
</v-list-item> </v-list-item>
@@ -60,19 +50,23 @@
Посетителей с начала года: {{ countvising['year'] }} Посетителей с начала года: {{ countvising['year'] }}
</v-list-item> </v-list-item>
</v-list> </v-list>
</v-card> </v-card>
</v-col> </v-col>
<v-col class=""> <v-col>
<v-card class="d-flex flex-column text-center" <v-card class="d-flex flex-column text-center"
height="200px" height="200px"
> >
<line-graph :data="data" :options="options"/> <line-graph :data="data" :options="options"/>
</v-card> </v-card>
</v-col> </v-col>
</v-row> </v-row>
</v-col>
</v-row>
<v-row >
<!-- <v-row >
<v-col class="pa-1 d-flex flex-column"> <v-col class="pa-1 d-flex flex-column">
<v-row> <v-row>
<v-col <v-col
@@ -118,7 +112,7 @@
</v-col> </v-col>
</v-row> </v-row>
</v-col> </v-col>
</v-row> </v-row> -->
</v-col> </v-col>
</v-row> </v-row>
<!-- <v-row class="ma-3"> <!-- <v-row class="ma-3">
@@ -253,7 +247,7 @@ setup(){
const startdate =ref(moment(new Date(new Date().getFullYear(), 0, 1)).format('YYYY-MM-DD')) const startdate =ref(moment(new Date(new Date().getFullYear(), 0, 1)).format('YYYY-MM-DD'))
const endate =ref(moment(new Date(new Date().getFullYear(), 11, 31)).format('YYYY-MM-DD')) const endate =ref(moment(new Date(new Date().getFullYear(), 11, 31)).format('YYYY-MM-DD'))
const icons = ['mdi-numeric-1-box-outline', 'mdi-numeric-2-box-outline', 'mdi-numeric-3-box-outline'] const icons = ['mdi-numeric-1-box-outline', 'mdi-numeric-2-box-outline', 'mdi-numeric-3-box-outline']
const arrlines = {} const arrlines = {}
const data = computed({ const data = computed({