From 72bb16e1085ed4b7b2bd92b2977890421cee1f8a Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:07:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B8=D1=81=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db.sqlite3 | Bin 380928 -> 380928 bytes .../src/layouts/default/DefaultPortal.vue | 5 ++-- src/front/src/views/HomePage.vue | 28 +++++++++++++++--- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/src/db.sqlite3 b/src/db.sqlite3 index 35ac3af9a4e29cacdd60e73c2a719d9c696148b6..3a4fb3cf578eb73494a794981c5871ee3e1c8791 100644 GIT binary patch delta 43 wcmZozAl|S*e1a5{vEW1*Cm`9F(3-%wHG%2dRmSV>;n$den0b5nHI|h>0Z8)^3;+NC delta 43 xcmZozAl|S*e1a5{(d&saPC&9Tp*4YVYXZ}^tBl*)!>=&`G4uBDYb+~&0swj55}g15 diff --git a/src/front/src/layouts/default/DefaultPortal.vue b/src/front/src/layouts/default/DefaultPortal.vue index b2fc2536a..beeaa7552 100644 --- a/src/front/src/layouts/default/DefaultPortal.vue +++ b/src/front/src/layouts/default/DefaultPortal.vue @@ -65,7 +65,7 @@ dark icon="mdi-thumb-up-outline" /> - + @@ -184,7 +184,7 @@ -

Посещений всего: {{ appStore.countvisitor.totalvisit }}

+

Посещений всего:{{ appStore.countvisitor.totalvisit }}

Посещений сегодня: {{ appStore.countvisitor.visittoday }}

@@ -324,6 +324,7 @@ export default { const LikeDialog = ref(false) const rail = ref(false) const showTooltip = ref(false) + const menuTruncated = (menus) => { return menus.slice(0,2).toUpperCase() diff --git a/src/front/src/views/HomePage.vue b/src/front/src/views/HomePage.vue index a4dd1f235..a8163b72c 100644 --- a/src/front/src/views/HomePage.vue +++ b/src/front/src/views/HomePage.vue @@ -183,7 +183,7 @@ -{{ searchname}} +
@@ -216,6 +217,15 @@ + + + +
@@ -233,7 +243,7 @@ import NewsListHome from '@/components/news-list-home.vue' import { spravURL } from '@/utils/axios-api' import {checkremote} from '@/utils/universal_functions' - +import CardUsers from '@/components/cardUsers.vue' export default { components: { @@ -241,7 +251,8 @@ import {checkremote} from '@/utils/universal_functions' CarouselList, CarouselNumbers, CalendarFull, - NewsListHome + NewsListHome, + CardUsers }, setup(){ @@ -251,6 +262,8 @@ import {checkremote} from '@/utils/universal_functions' const dialogDetailRound = ref(false) const searchname = ref('') const idpos = ref('') + const menuGetUserDialog = ref(false) + const iduser = ref('') @@ -313,6 +326,10 @@ import {checkremote} from '@/utils/universal_functions' }) } + const getcard = async (idus) => { + menuGetUserDialog.value = true + iduser.value = idus + } return { accountStore, @@ -325,7 +342,10 @@ import {checkremote} from '@/utils/universal_functions' dialogDetailRound, checkremote, spravURL, - searchname + searchname, + menuGetUserDialog, + getcard, + iduser } } }