Верстка
This commit is contained in:
1 parent
253530ef2e
commit
05b634302f
3 files changed
+74
-84
No files matched your search
@@ -1,23 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row>
|
<v-card
|
||||||
<v-col class="flex-column d-flex">
|
:title="name"
|
||||||
<v-card :title="name" class="text-center" >
|
class="text-center"
|
||||||
<v-card-text >
|
>
|
||||||
<v-row >
|
<v-card-text>
|
||||||
<v-col
|
<v-row>
|
||||||
class="text-h2 text-center"
|
<v-col class="text-h2 text-center">
|
||||||
>
|
{{total}}
|
||||||
{{total}}
|
</v-col>
|
||||||
</v-col>
|
</v-row>
|
||||||
|
</v-card-text>
|
||||||
|
</v-card>
|
||||||
</v-row>
|
|
||||||
</v-card-text>
|
|
||||||
|
|
||||||
</v-card>
|
|
||||||
</v-col>
|
|
||||||
</v-row>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,49 +1,39 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row >
|
<v-row>
|
||||||
<v-col class="d-flex flex-column">
|
<v-col class="d-flex flex-column">
|
||||||
<card-total
|
<div>
|
||||||
name="Всего поставлено оценок"
|
<card-total
|
||||||
:total="total"
|
name="Всего поставлено оценок"
|
||||||
/>
|
:total="total"
|
||||||
|
/>
|
||||||
<v-row>
|
</div>
|
||||||
<v-col>
|
|
||||||
<v-card class="pa-3">
|
|
||||||
<star-like
|
|
||||||
:criteria=average()
|
|
||||||
:rating=average()
|
|
||||||
/>
|
|
||||||
</v-card>
|
|
||||||
</v-col>
|
|
||||||
</v-row>
|
|
||||||
|
|
||||||
|
|
||||||
<card-total
|
|
||||||
name="Всего оставлено комментариев"
|
|
||||||
:total="crit.total"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<v-row>
|
|
||||||
<v-col>
|
|
||||||
<top-user
|
|
||||||
name= "Самый активный критик"
|
|
||||||
:users=crit
|
|
||||||
ico="mdi-comment-account-outline"
|
|
||||||
|
|
||||||
/>
|
|
||||||
</v-col>
|
|
||||||
</v-row>
|
|
||||||
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
|
|
||||||
</v-row>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<v-card class="pa-3">
|
||||||
|
<star-like
|
||||||
|
:criteria=average()
|
||||||
|
:rating=average()
|
||||||
|
/>
|
||||||
|
</v-card>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<card-total
|
||||||
|
name="Всего оставлено комментариев"
|
||||||
|
:total="crit.total"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<top-user
|
||||||
|
name= "Самый активный критик"
|
||||||
|
:users=crit
|
||||||
|
ico="mdi-comment-account-outline"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -2,37 +2,44 @@
|
|||||||
<v-card
|
<v-card
|
||||||
class="mx-auto h-100"
|
class="mx-auto h-100"
|
||||||
>
|
>
|
||||||
|
|
||||||
<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-1 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"
|
||||||
:icon="ico"
|
:icon="ico"
|
||||||
size="45"
|
size="35"
|
||||||
></v-icon>
|
/>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-row>
|
<v-divider/>
|
||||||
<v-col lg=8> <v-card-actions>
|
<v-row class="mx-3">
|
||||||
<v-list-item>
|
<v-col lg=8 class="px-0">
|
||||||
<template v-slot:prepend>
|
<v-card-actions class="pa-0">
|
||||||
<v-avatar
|
<v-list-item>
|
||||||
color="grey-darken-3"
|
<template v-slot:prepend>
|
||||||
:image="checkremote( `${spravURL}${users.login}.jpg`)"
|
<v-avatar
|
||||||
></v-avatar>
|
color="grey-darken-3"
|
||||||
</template>
|
:image="checkremote( `${spravURL}${users.login}.jpg`)"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
<v-list-item-title class="pt-2">
|
||||||
|
{{users.fio}}
|
||||||
|
</v-list-item-title>
|
||||||
|
<v-list-item-subtitle class="pb-2">
|
||||||
|
{{users.post}}
|
||||||
|
</v-list-item-subtitle>
|
||||||
|
</v-list-item>
|
||||||
|
<v-divider vertical/>
|
||||||
|
</v-card-actions>
|
||||||
|
|
||||||
<v-list-item-title>{{users.fio}}</v-list-item-title>
|
</v-col>
|
||||||
|
|
||||||
<v-list-item-subtitle>{{users.post}}</v-list-item-subtitle>
|
<v-col class="align-self-center text-center px-0">
|
||||||
|
|
||||||
</v-list-item>
|
<span class="subheading text-h6">
|
||||||
</v-card-actions></v-col>
|
{{users.count}}
|
||||||
<v-col class="align-self-center text-left">
|
</span>
|
||||||
|
|
||||||
<span class="subheading text-h6 me-5 pl-3">{{users.count}}</span>
|
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
</v-card>
|
</v-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user