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