From db9a6e1c35871d44f2416725267098506eedfd29 Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:03:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=BB=D0=B5=D1=80=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/src/App.vue | 5 +++ src/front/src/components/cardLike.vue | 6 ++-- src/front/src/components/load-round.vue | 5 +-- .../src/layouts/default/DefaultPortal.vue | 34 ++++++++----------- .../src/layouts/default/alertDefault.vue | 33 ++++++++++++++++++ src/front/src/store/AboutPortalFilter.js | 15 +++++++- 6 files changed, 70 insertions(+), 28 deletions(-) create mode 100644 src/front/src/layouts/default/alertDefault.vue diff --git a/src/front/src/App.vue b/src/front/src/App.vue index 3a46c43e3..cecfcd578 100644 --- a/src/front/src/App.vue +++ b/src/front/src/App.vue @@ -69,4 +69,9 @@ import {useAccountStore} from '@/store/AccountStore' .w100 { max-width: 100%!important } + +.bottom-alert { + bottom: 10px; + left: 40%; +} diff --git a/src/front/src/components/cardLike.vue b/src/front/src/components/cardLike.vue index ac0e1df55..71c383ded 100644 --- a/src/front/src/components/cardLike.vue +++ b/src/front/src/components/cardLike.vue @@ -15,7 +15,7 @@ + /> \ No newline at end of file diff --git a/src/front/src/layouts/default/DefaultPortal.vue b/src/front/src/layouts/default/DefaultPortal.vue index 7ada65eb7..0b19f2911 100644 --- a/src/front/src/layouts/default/DefaultPortal.vue +++ b/src/front/src/layouts/default/DefaultPortal.vue @@ -66,8 +66,9 @@ + :LikeDialog="LikeDialog" + @menusClose="closeinfo()" + /> @@ -249,6 +250,8 @@ + + @@ -283,20 +286,7 @@ - - Phasellus blandit leo ut odio. Morbi mattis ullamcorper velit. Donec orci lectus, aliquam ut, faucibus non, euismod id, nulla. In ut quam vitae odio lacinia tincidunt. - - + @@ -316,6 +306,7 @@ import { clearAxios } from '@/utils/axios-api' import { baseURL } from '@/utils/axios-api' import VcardUser from '@/components/UI/fiousercard/vcardUser.vue' import PageCounter from '../../components/UI/defaultportal/page-counter.vue' +import AlertDefault from './alertDefault.vue' export default { components: { @@ -323,7 +314,8 @@ export default { OnlineUsers, CardLike, VcardUser, - PageCounter + PageCounter, + AlertDefault }, mixins: [uf], @@ -336,7 +328,7 @@ export default { const accountStore = useAccountStore() const drawer = ref(true) const drawer_right = ref(true) - const feedalert = ref(false) + const LikeDialog = ref(false) const rail = ref(false) const showTooltip = ref(false) @@ -472,7 +464,7 @@ export default { const closeinfo = () => { LikeDialog.value = false - feedalert.value=true + // feedalert.value=true } @@ -492,7 +484,7 @@ export default { rail, showTooltip, menuTruncated, - feedalert, + // feedalert, alert, burl, supperuser, @@ -538,4 +530,6 @@ export default { .myopacity .v-list-item__overlay { opacity: 0; } + + \ No newline at end of file diff --git a/src/front/src/layouts/default/alertDefault.vue b/src/front/src/layouts/default/alertDefault.vue new file mode 100644 index 000000000..db63b3ffa --- /dev/null +++ b/src/front/src/layouts/default/alertDefault.vue @@ -0,0 +1,33 @@ + + + + + \ No newline at end of file diff --git a/src/front/src/store/AboutPortalFilter.js b/src/front/src/store/AboutPortalFilter.js index ec5c975ed..b4eb67a92 100644 --- a/src/front/src/store/AboutPortalFilter.js +++ b/src/front/src/store/AboutPortalFilter.js @@ -11,5 +11,18 @@ export const usePortalFilterStore = defineStore('filter', () => { return { date_period } }, + + -) \ No newline at end of file +) + + +export const useAlertStore = defineStore('uniAlert', () => { + + const alert = ref({ "alert": true, + "text": new Date(), + }) + + + return { alert } + }) \ No newline at end of file