Merge branch 'feature/create_app' of http://sulaco.nodered.ru:5223/COD2/PORTAL_COD2 into feature/create_app
This commit is contained in:
commit
f6b78a5240
2 files changed
+137
-13
No files matched your search
@@ -5,10 +5,19 @@
|
||||
:elevation="2"
|
||||
density="compact"
|
||||
color="teal-darken-4"
|
||||
class="pl-4"
|
||||
>
|
||||
|
||||
<v-icon
|
||||
class="px-3"
|
||||
size="20"
|
||||
:icon="rail?'mdi-chevron-right':'mdi-chevron-left'"
|
||||
@click="rail = !rail"
|
||||
|
||||
/>
|
||||
<v-card
|
||||
|
||||
class="bg-transparent"
|
||||
class="bg-transparent py"
|
||||
density="compact"
|
||||
:prepend-avatar="imageSrc"
|
||||
title="Портал МиФНС по ЦОД № 2"
|
||||
@@ -138,11 +147,109 @@
|
||||
</template>
|
||||
</v-app-bar>
|
||||
<v-navigation-drawer
|
||||
:rail="rail"
|
||||
permanent
|
||||
@click="rail = !rail"
|
||||
v-model="drawer"
|
||||
>
|
||||
:rail="rail"
|
||||
permanent
|
||||
v-model="drawer"
|
||||
|
||||
>
|
||||
<v-row class="my-0 h-100">
|
||||
<v-col class="flex-column d-flex">
|
||||
<v-row><v-col>
|
||||
<v-list
|
||||
nav
|
||||
density="compact">
|
||||
|
||||
<template v-for="(x, key) in navigations">
|
||||
<v-list-item
|
||||
v-if="!('submenu' in x)"
|
||||
:key="x.key"
|
||||
:title="x.name"
|
||||
:value="x.name"
|
||||
:href="x.link"
|
||||
:to="x.path"
|
||||
color="navigation"
|
||||
>
|
||||
<template v-slot:prepend>
|
||||
<v-icon
|
||||
|
||||
:icon="x.ico"
|
||||
/>
|
||||
</template>
|
||||
</v-list-item>
|
||||
<v-list-group
|
||||
v-else
|
||||
:key="key"
|
||||
:value="x.name"
|
||||
>
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-list-item
|
||||
v-bind="props"
|
||||
:title="x.name"
|
||||
:prepend-icon="x.ico"
|
||||
/>
|
||||
</template>
|
||||
<v-list-item
|
||||
v-for="(child, k) in x.submenu"
|
||||
|
||||
:href="child.link"
|
||||
:key="k"
|
||||
:value="child.name"
|
||||
:title="child.name"
|
||||
:to="child.path"
|
||||
/>
|
||||
</v-list-group>
|
||||
</template>
|
||||
</v-list>
|
||||
<v-list
|
||||
nav
|
||||
density="compact"
|
||||
>
|
||||
<v-list-item v-for="x of mainmenuStore.portallinks"
|
||||
:key="x.name"
|
||||
:title="x.name"
|
||||
:value="x.name"
|
||||
:href="x.link"
|
||||
color="teal-darken-4"
|
||||
|
||||
>
|
||||
<template v-slot:prepend>
|
||||
<v-icon
|
||||
|
||||
:icon="x.imagecode"
|
||||
/>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-col></v-row>
|
||||
<v-row class="flex-grow-0">
|
||||
<v-col class="py-0 pl-1">
|
||||
<v-list>
|
||||
|
||||
<v-list-item class="text-caption font-weight-bold text-truncate">
|
||||
<p >Посещений всего: {{ appStore.countvisitor.totalvisit }}</p>
|
||||
<v-divider/>
|
||||
<p>Посещений сегодня: {{ appStore.countvisitor.visittoday }}</p>
|
||||
<v-divider/>
|
||||
<p>Уникальных посещений: {{ appStore.countvisitor.uniqtoday }}</p>
|
||||
<v-divider/>
|
||||
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
<!-- <v-col class="pointer align-self-center flex-grow-0"
|
||||
|
||||
@click="rail = !rail">
|
||||
<v-icon
|
||||
|
||||
size="20"
|
||||
:icon="rail?'mdi-chevron-right':'mdi-chevron-left'"
|
||||
|
||||
|
||||
/>
|
||||
</v-col> -->
|
||||
</v-row>
|
||||
<!-- <div class="d-flex flex-column h-100">
|
||||
<v-row>
|
||||
<v-col>
|
||||
@@ -215,7 +322,7 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
<v-row class="flex-grow-0 text-caption mb-1 font-weight-bold text-truncate">
|
||||
<v-row class="flex-grow-0 mb-1 text-caption font-weight-bold text-truncate">
|
||||
<v-col>
|
||||
|
||||
<v-list>
|
||||
@@ -230,14 +337,26 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</div> -->
|
||||
|
||||
</v-navigation-drawer>
|
||||
<v-navigation-drawer
|
||||
:rail="rail"
|
||||
permanent
|
||||
@click="rail = !rail"
|
||||
v-model="drawer"
|
||||
<!-- <v-navigation-drawer
|
||||
:width="8"
|
||||
|
||||
class="btnNav pointer"
|
||||
@click="rail = !rail"
|
||||
>
|
||||
</v-navigation-drawer>
|
||||
<v-list>
|
||||
<v-icon
|
||||
|
||||
size="10"
|
||||
:icon="rail?'mdi-chevron-right':'mdi-chevron-left'"
|
||||
|
||||
|
||||
/>
|
||||
</v-list>
|
||||
|
||||
|
||||
</v-navigation-drawer> -->
|
||||
<v-main class="d-flex bg-main_theme">
|
||||
|
||||
<router-view
|
||||
@@ -415,4 +534,9 @@
|
||||
bottom: 10px;
|
||||
z-index: 1005;
|
||||
}
|
||||
|
||||
.btnNav .v-navigation-drawer__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user