Переверстка

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

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>
+50 -56
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">
с
</v-col>
<v-col class="flex-grow-0 px-2 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-2 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="pa-1 d-flex flex-column">
<v-row>
<v-col
lg=3
class=""
>
<v-card
class="d-flex flex-column text-center"
title="Количество посещений"
height="200px"
>
<v-list class="d-flex flex-column align-start text-subtitle-1"> Статистика портала за период с
<div class="px-2 pb-1">
<date-select
@returndate="returnstart"
:datedefault = "startdate"
/>
</div>
по
<div class="px-2 pb-1">
<date-select
@returndate="returnend"
:datedefault = "endate"
/>
</div>
</v-toolbar>
</v-col>
</v-row>
<v-row no-gutters class="gap">
<v-col lg=3>
<v-card
class="text-center"
title="Количество посещений"
height="200px"
>
<v-list class="text-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">