Merge branch 'feature/create_app' into razrab

This commit is contained in:
iriska-gri committed 2023-10-18 08:49:54 +03:00
commit 5e697bfd32
2 files changed
+56 -17

No files matched your search

+40 -15
View File
@@ -140,7 +140,7 @@
<v-expand-transition> <v-expand-transition>
<div v-show="x.showComment" v-if="x.comment.length>0" class="bgf"> <div v-show="x.showComment" v-if="x.comment.length>0">
<div <div
v-for = "(y, key) in x.comment" v-for = "(y, key) in x.comment"
:key="key" :key="key"
@@ -214,11 +214,29 @@
</div> </div>
</v-card> </v-card>
<!-- <div class="d-flex" v-show="route.path=='/news'">
<v-pagination
class="flex-grow-1"
v-model="page"
:length="newss.allnews"
prev-icon="mdi-menu-left"
next-icon="mdi-menu-right"
@click="pagelistNews"
></v-pagination>
<v-select
class="flex-grow-0 pt-2"
density="compact"
v-model="selecnews"
variant="outlined"
:items="['1', '2', '3', '4', '5', '6']"
></v-select>
</div> -->
</div> </div>
<v-row justify="center"> <v-row justify="center">
@@ -261,22 +279,27 @@
</v-dialog> </v-dialog>
</v-row> </v-row>
</v-container> </v-container>
<v-container class="d-flex mt-6" v-show="route.path=='/news'"> <v-container>
<div class="pagination" v-show="route.path=='/news'">
<v-pagination <v-pagination
class="order-2 flex-grow-1" class="flex-grow-1"
v-model="page" v-model="page"
:length="newss.allnews" :length="newss.allnews"
prev-icon="mdi-menu-left" prev-icon="mdi-menu-left"
next-icon="mdi-menu-right" next-icon="mdi-menu-right"
@click="pagelistNews" @click="pagelistNews"
></v-pagination> ></v-pagination>
<v-select <v-select
class="order-1 flex-grow-0" class="flex-grow-0 pt-2"
v-model="selecnews" density="compact"
variant="outlined" v-model="selecnews"
:items="['1', '2', '3', '4', '5', '6']" variant="outlined"
></v-select> :items="['1', '2', '3', '4', '5', '6']"
>
</v-select>
</div>
</v-container> </v-container>
</template> </template>
@@ -412,8 +435,10 @@ export default {
} }
</script> </script>
<style> <style scoped>
.pagination {
display: flex;
}
.newsVH { .newsVH {
height: 93vh; height: 93vh;
} }
@@ -426,9 +451,9 @@ export default {
background-color: #eef9efad; background-color: #eef9efad;
} }
.bgf { /* .bgf {
background: url("@/assets/message.jpg") repeat-y; background: url("@/assets/message.jpg") repeat-y;
} } */
</style> </style>
+16 -2
View File
@@ -133,7 +133,8 @@
<v-tooltip <v-tooltip
v-if="rail" v-if="rail"
activator="parent" activator="parent"
location="top"> location="top"
>
{{ x.name }} {{ x.name }}
</v-tooltip> </v-tooltip>
</template> </template>
@@ -145,6 +146,13 @@
:title="!rail?child.name:menuTruncated(child.name)" :title="!rail?child.name:menuTruncated(child.name)"
:to="child.path" :to="child.path"
> >
<v-tooltip
v-if="rail"
activator="parent"
location="top"
>
{{ child.name }}
</v-tooltip>
</v-list-item> </v-list-item>
</v-list-group> </v-list-group>
</template> </template>
@@ -228,7 +236,7 @@
</v-navigation-drawer> --> </v-navigation-drawer> -->
<v-main class="d-flex bg-main_theme"> <v-main v-if="accountStore.cod2user" class="d-flex bg-main_theme">
<router-view /> <router-view />
<!-- <div class="mystat d-flex flex-column"> <!-- <div class="mystat d-flex flex-column">
<v-btn <v-btn
@@ -250,6 +258,12 @@
</v-btn> </v-btn>
</div> --> </div> -->
</v-main> </v-main>
<v-main v-else class="d-flex justify-center align-center text-h3 bg-teal-lighten-2">
<div>
<p class="text-center">Добро пожаловать на портал МИ ФНС по ЦОД № 2</p>
<p class="mt-3 text-subtitle-1 text-center">Авторизуйтесь, для получения доступа к контенту портала</p>
</div>
</v-main>
<v-navigation-drawer v-if="accountStore.cod2user" <v-navigation-drawer v-if="accountStore.cod2user"
v-model="drawer_right" v-model="drawer_right"
rail permanent rail permanent