Шаблон карточки
This commit is contained in:
1 parent
a919b0106d
commit
b5e56f38c5
3 files changed
+58
-15
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<v-card class="text-center h-100">
|
||||
<v-row no-gutters >
|
||||
<v-col class="d-flex flex-column pa-1">
|
||||
<v-chip
|
||||
color="light-blue-darken-4"
|
||||
label
|
||||
class="text-center text-cyan-darken-4 rounded-0 text-subtitle-1 font-weight-medium"
|
||||
>
|
||||
<v-icon start color="cyan-darken-4" :icon="ico"/>
|
||||
{{title}}
|
||||
</v-chip>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
<v-card-text class="px-3 py-0">
|
||||
<slot name="filling"></slot>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
|
||||
title: {
|
||||
type: Text,
|
||||
default: ''
|
||||
},
|
||||
|
||||
ico: {
|
||||
type: Text,
|
||||
default: ''
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -1,11 +1,10 @@
|
||||
<template>
|
||||
<v-card class="text-center h-100">
|
||||
<v-card-title class="font-weight-medium text-blue-grey-darken-4 text-h5 pt-4">
|
||||
Посещаемость портала
|
||||
</v-card-title>
|
||||
<v-card-text class="px-4">
|
||||
<v-divider class="mt-2"/>
|
||||
<v-table class="text-caption table_traffic pt-2">
|
||||
<pattern-card
|
||||
:title="'Посещаемость портала'"
|
||||
:ico="'mdi-walk'"
|
||||
>
|
||||
<template v-slot:filling>
|
||||
<v-table class="text-caption table_traffic pt-3">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="pr-0"></th>
|
||||
@@ -45,22 +44,24 @@
|
||||
:color="val.previos>0?'green-darken-2':'deep-orange-darken-4'"
|
||||
:icon="val.previos>0?'mdi-arrow-up-bold':'mdi-arrow-down-bold'"
|
||||
/>
|
||||
|
||||
{{ val.previos }}%
|
||||
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</v-table>
|
||||
<v-divider/>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
</pattern-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import PatternCard from '@/components/UI/aboutportal/pattern-card.vue'
|
||||
export default {
|
||||
|
||||
components: {
|
||||
PatternCard
|
||||
},
|
||||
|
||||
props: {
|
||||
|
||||
traffic: {
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
<template>
|
||||
<v-card class="h-100 d-flex flex-column pa-1" >
|
||||
<v-card class="h-100 d-flex flex-column pa-1">
|
||||
|
||||
<!-- <my-helper :pretext="activusers"/> -->
|
||||
<v-row no-gutters class="overflow-auto h-0">
|
||||
<v-col class="d-flex flex-column">
|
||||
<v-chip
|
||||
color="light-blue-darken-4"
|
||||
label
|
||||
class="text-center rounded-0 text-subtitle-1 font-weight-medium"
|
||||
class="text-center text-center text-cyan-darken-4 rounded-0 text-subtitle-1 font-weight-medium"
|
||||
>
|
||||
<v-icon start icon="mdi-account-circle-outline"/>
|
||||
Самые активные пользователи
|
||||
|
||||
Reference in new issue
Block a user