create_visit_count
This commit is contained in:
1 parent
a0edc64f1c
commit
ef76d34f68
2 files changed
+26
-13
No files matched your search
BIN
Binary file not shown.
@@ -122,12 +122,15 @@
|
||||
</template>
|
||||
</template>
|
||||
</v-app-bar>
|
||||
<v-navigation-drawer v-model="drawer">
|
||||
|
||||
<v-divider/>
|
||||
<v-navigation-drawer v-model="drawer" class="flex-column">
|
||||
<div class="d-flex flex-column h-100">
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-divider/>
|
||||
<v-list
|
||||
nav
|
||||
density="compact"
|
||||
|
||||
>
|
||||
<template v-for="(x, key) in navigations">
|
||||
<v-list-item
|
||||
@@ -150,8 +153,6 @@
|
||||
v-else
|
||||
:key="key"
|
||||
:value="x.name"
|
||||
|
||||
|
||||
>
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-list-item
|
||||
@@ -173,11 +174,9 @@
|
||||
</template>
|
||||
</v-list>
|
||||
<v-list
|
||||
|
||||
nav
|
||||
density="compact"
|
||||
>
|
||||
|
||||
<v-list-item v-for="x of mainmenuStore.portallinks"
|
||||
:key="x.name"
|
||||
:title="x.name"
|
||||
@@ -194,8 +193,21 @@
|
||||
</template>
|
||||
</v-list-item>
|
||||
|
||||
</v-list>
|
||||
|
||||
</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-col>
|
||||
</v-row>
|
||||
</div>
|
||||
</v-navigation-drawer>
|
||||
<v-main class="d-flex bg-main_theme">
|
||||
|
||||
@@ -243,8 +255,9 @@
|
||||
</v-list>
|
||||
|
||||
</template> -->
|
||||
|
||||
|
||||
</v-navigation-drawer>
|
||||
|
||||
|
||||
</v-app>
|
||||
|
||||
@@ -263,6 +276,7 @@
|
||||
import OnlineUsers from '@/components/onlineUsers.vue'
|
||||
import CardUsers from '@/components/cardUsers.vue'
|
||||
import CardLike from '@/components/cardLike.vue'
|
||||
import { pagecounter } from '@/utils/universal_functions'
|
||||
export default {
|
||||
|
||||
components: { AuthForm, OnlineUsers, CardUsers, CardLike},
|
||||
@@ -270,6 +284,7 @@
|
||||
mixins:[uf],
|
||||
|
||||
setup(){
|
||||
pagecounter()
|
||||
const appStore = useAppStore()
|
||||
const theme = useTheme();
|
||||
const mainmenuStore= useMainmenuStore()
|
||||
@@ -344,9 +359,7 @@
|
||||
menuGetUserDialog.value = true
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return {
|
||||
theme,
|
||||
|
||||
Reference in new issue
Block a user