Верстка левая сторона

This commit is contained in:
iriska-gri committed 2024-01-19 11:54:53 +03:00
1 parent d89fff6403
commit 1d35459ede
4 files changed
+21 -116

No files matched your search

@@ -1,6 +1,6 @@
<template> <template>
<v-row> <v-row no-gutters class="h-100">
<v-col class="d-flex flex-column" style="gap:10px"> <v-col class="d-flex flex-column gap" >
<div> <div>
<card-total <card-total
name="Всего поставлено оценок" name="Всего поставлено оценок"
@@ -8,8 +8,8 @@
/> />
</div> </div>
<div> <div class="h-100">
<v-card class="pa-3"> <v-card class="pa-3 h-100">
<star-like <star-like
:criteria=average() :criteria=average()
:rating=average() :rating=average()
@@ -1,8 +1,8 @@
<template> <template>
<v-card <v-card
class="mx-auto h-100" class="mx-auto" height="150px"
> >
<v-card-text class="text-h5 pa-1 pl-5 flex-wrap align-center d-flex justify-space-between"> <v-card-text class="text-h5 pa-2 pl-5 flex-wrap align-center d-flex justify-space-between">
{{name}} {{name}}
<v-icon <v-icon
color="blue-grey-lighten-1" color="blue-grey-lighten-1"
@@ -11,10 +11,10 @@
/> />
</v-card-text> </v-card-text>
<v-divider/> <v-divider/>
<v-row class="mx-3"> <v-row class="ma-3" no-gutters>
<v-col lg=8 class="px-0"> <v-col lg=8 class="px-0">
<v-card-actions class="pa-0"> <v-card-actions class="pa-0">
<v-list-item> <v-list-item class="pt-2 pl-1">
<template v-slot:prepend> <template v-slot:prepend>
<v-avatar <v-avatar
color="grey-darken-3" color="grey-darken-3"
@@ -28,7 +28,7 @@
{{users.post}} {{users.post}}
</v-list-item-subtitle> </v-list-item-subtitle>
</v-list-item> </v-list-item>
<v-divider vertical/> <v-divider vertical class="mt-2"/>
</v-card-actions> </v-card-actions>
</v-col> </v-col>
@@ -1,6 +1,6 @@
<template> <template>
<v-row> <v-row class="h-100">
<v-col class="d-flex flex-column"> <v-col class="d-flex flex-column">
<v-row <v-row
v-for="(x, key) in criteria" v-for="(x, key) in criteria"
+11 -106
View File
@@ -31,10 +31,8 @@
</v-toolbar> </v-toolbar>
</v-col> </v-col>
</v-row> </v-row>
<!-- <pre> {{visiting}}</pre> -->
<!-- <my-helper :pretext="countvising"/> --> <v-row no-gutters class="gap flex-grow-0">
<v-row no-gutters class="gap">
<v-col lg=3> <v-col lg=3>
<v-card <v-card
class="text-center" class="text-center"
@@ -94,12 +92,20 @@
</v-col> </v-col>
</v-row> </v-row>
<v-row no-gutters >
<v-col lg=3>
<feedmodul
:feedback="feedback"/>
</v-col>
<v-col>2</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
@@ -162,111 +168,10 @@
</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-col
class="d-flex flex-column"
lg=4
>
<v-row class="flex-grow-0">
<v-col>
<v-card
class="d-flex flex-column text-center"
title="Количество посещений">
<v-list class="d-flex flex-column align-start text-subtitle-1">
<v-list-item>
{{periodname()[0]}}: {{ countvising['now'] }}
</v-list-item>
<v-list-item>
{{periodname()[1]}}: {{ countvising['week'] }}
</v-list-item>
<v-list-item>
{{periodname()[2]}}: {{ countvising['year'] }}
</v-list-item>
</v-list>
</v-card>
</v-col>
</v-row>
<feedmodul :feedback="feedback"/>
</v-col>
<v-col class="d-flex flex-column ">
<v-row class="flex-grow-0">
<v-col >
<line-graph :data="data" :options="options"/>
</v-col>
</v-row>
<v-row>
<v-col class="d-flex flex-column ">
<v-row>
<v-col
lg=7
>
<v-card class="pt-3 text-center" title="Рейтинг посещаемости страниц портала">
<v-table class="pt-3 ma-0">
<thead>
<tr>
<th>Имя страницы</th>
<th class="text-center">Сегодня</th>
<th class="text-center">На прошлой неделе</th>
<th class="text-center">С начала года</th>
</tr>
</thead>
<tbody>
<tr v-for="(val, key) in countgrupp()" :key = key>
<td class="text-left">{{key}}</td>
<td class="text-center">{{ val.now }} </td>
<td class="text-center">{{ val.week }}</td>
<td class="text-center">{{ val.year }}</td>
</tr>
</tbody>
</v-table>
</v-card>
</v-col>
<v-col lg=5>
<div v-for="(val, key) in activuser()" :key = key>
<top-user
:users="val"
:ico="icons[Object.keys(activuser()).indexOf(key)]"
/>
</div>
</v-col>
</v-row>
<v-row>
<v-col>
<date-select
@returndate="returnstart"
:datedefault = "startdate"
/>
<date-select
@returndate="returnend"
:datedefault = "endate"
/>
</v-col>
</v-row>
</v-col>
</v-row>
</v-col>
</v-row> -->
</template> </template>
<script> <script>