create_visit_count
This commit is contained in:
1 parent
a0edc64f1c
commit
ef76d34f68
2 files changed
+22
-9
No files matched your search
BIN
Binary file not shown.
@@ -122,12 +122,15 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</v-app-bar>
|
</v-app-bar>
|
||||||
<v-navigation-drawer v-model="drawer">
|
<v-navigation-drawer v-model="drawer" class="flex-column">
|
||||||
|
<div class="d-flex flex-column h-100">
|
||||||
|
<v-row>
|
||||||
|
<v-col>
|
||||||
<v-divider/>
|
<v-divider/>
|
||||||
<v-list
|
<v-list
|
||||||
nav
|
nav
|
||||||
density="compact"
|
density="compact"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template v-for="(x, key) in navigations">
|
<template v-for="(x, key) in navigations">
|
||||||
<v-list-item
|
<v-list-item
|
||||||
@@ -150,8 +153,6 @@
|
|||||||
v-else
|
v-else
|
||||||
:key="key"
|
:key="key"
|
||||||
:value="x.name"
|
:value="x.name"
|
||||||
|
|
||||||
|
|
||||||
>
|
>
|
||||||
<template v-slot:activator="{ props }">
|
<template v-slot:activator="{ props }">
|
||||||
<v-list-item
|
<v-list-item
|
||||||
@@ -173,11 +174,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</v-list>
|
</v-list>
|
||||||
<v-list
|
<v-list
|
||||||
|
|
||||||
nav
|
nav
|
||||||
density="compact"
|
density="compact"
|
||||||
>
|
>
|
||||||
|
|
||||||
<v-list-item v-for="x of mainmenuStore.portallinks"
|
<v-list-item v-for="x of mainmenuStore.portallinks"
|
||||||
:key="x.name"
|
:key="x.name"
|
||||||
:title="x.name"
|
:title="x.name"
|
||||||
@@ -194,8 +193,21 @@
|
|||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
|
</v-list> </v-col>
|
||||||
|
</v-row>
|
||||||
|
<v-row class="flex-grow-0">
|
||||||
|
<v-col>
|
||||||
|
<v-divider></v-divider>
|
||||||
|
<v-list >
|
||||||
|
<v-list-item >
|
||||||
|
Посещений всего: {{ appStore.countvisitor.totalvisit }}
|
||||||
|
Посещений сегодня: {{ appStore.countvisitor.visittoday }}
|
||||||
|
Уникальных посещений: {{ appStore.countvisitor.uniqtoday }}
|
||||||
|
</v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</div>
|
||||||
</v-navigation-drawer>
|
</v-navigation-drawer>
|
||||||
<v-main class="d-flex bg-main_theme">
|
<v-main class="d-flex bg-main_theme">
|
||||||
|
|
||||||
@@ -246,6 +258,7 @@
|
|||||||
|
|
||||||
</v-navigation-drawer>
|
</v-navigation-drawer>
|
||||||
|
|
||||||
|
|
||||||
</v-app>
|
</v-app>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
@@ -263,6 +276,7 @@
|
|||||||
import OnlineUsers from '@/components/onlineUsers.vue'
|
import OnlineUsers from '@/components/onlineUsers.vue'
|
||||||
import CardUsers from '@/components/cardUsers.vue'
|
import CardUsers from '@/components/cardUsers.vue'
|
||||||
import CardLike from '@/components/cardLike.vue'
|
import CardLike from '@/components/cardLike.vue'
|
||||||
|
import { pagecounter } from '@/utils/universal_functions'
|
||||||
export default {
|
export default {
|
||||||
|
|
||||||
components: { AuthForm, OnlineUsers, CardUsers, CardLike},
|
components: { AuthForm, OnlineUsers, CardUsers, CardLike},
|
||||||
@@ -270,6 +284,7 @@
|
|||||||
mixins:[uf],
|
mixins:[uf],
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
|
pagecounter()
|
||||||
const appStore = useAppStore()
|
const appStore = useAppStore()
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const mainmenuStore= useMainmenuStore()
|
const mainmenuStore= useMainmenuStore()
|
||||||
@@ -346,8 +361,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
theme,
|
theme,
|
||||||
mainmenuStore,
|
mainmenuStore,
|
||||||
|
|||||||
Reference in new issue
Block a user