Переверстка

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>
@@ -1,6 +1,6 @@
<template>
<v-row>
<v-col class="d-flex flex-column">
<v-col class="d-flex flex-column" style="gap:10px">
<div>
<card-total
name="Всего поставлено оценок"
+1 -1
View File
@@ -16,7 +16,7 @@
hide-details
style="width:119px"
variant="plain"
density
density="compact"
v-bind="props"
>
<template v-slot:prepend-inner>
+51 -57
View File
@@ -1,55 +1,45 @@
<template>
<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="flex-grow-0 pl-4 pr-0">
<v-row no-gutters class="ma-1">
<v-col class="d-flex flex-column gap">
<v-row no-gutters class="flex-grow-0">
<v-col>
<v-toolbar
density="compact"
class="text-h6 font-weight-regular"
>
<v-icon
icon="mdi-poll"
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>
Статистика портала за период с
<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 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">
<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>
Посетителей сегодня: {{ countvising['now'] }}
</v-list-item>
@@ -60,19 +50,23 @@
Посетителей с начала года: {{ countvising['year'] }}
</v-list-item>
</v-list>
</v-card>
</v-col>
<v-col class="">
<v-card class="d-flex flex-column text-center"
</v-card>
</v-col>
<v-col>
<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>
</v-row>
<v-row >
</v-col>
</v-row>
<!-- <v-row >
<v-col class="pa-1 d-flex flex-column">
<v-row>
<v-col
@@ -118,7 +112,7 @@
</v-col>
</v-row>
</v-col>
</v-row>
</v-row> -->
</v-col>
</v-row>
<!-- <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 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 arrlines = {}
const data = computed({