From 86dcc7f375fdddd488cfb8282fed9c7f80890dd9 Mon Sep 17 00:00:00 2001 From: Denzel Date: Fri, 17 Jan 2025 14:11:32 +0300 Subject: [PATCH] =?UTF-8?q?P-98=20=D0=A0=D0=B5=D0=B7=D1=83=D0=BB=D1=8C?= =?UTF-8?q?=D1=82=D0=B0=D1=82=D1=8B=20=D0=B3=D0=BE=D0=BB=D0=BE=D1=81=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/src/components/UI/Timer.vue | 265 +++++++++++---------- src/front/src/components/vote/VoteCard.vue | 197 ++++++++------- src/front/src/views/VoteHomePage.vue | 38 +-- 3 files changed, 265 insertions(+), 235 deletions(-) diff --git a/src/front/src/components/UI/Timer.vue b/src/front/src/components/UI/Timer.vue index 5d8898713..871d9bb5a 100644 --- a/src/front/src/components/UI/Timer.vue +++ b/src/front/src/components/UI/Timer.vue @@ -1,138 +1,143 @@ + \ No newline at end of file + diff --git a/src/front/src/components/vote/VoteCard.vue b/src/front/src/components/vote/VoteCard.vue index 7e735269d..efff4d34d 100644 --- a/src/front/src/components/vote/VoteCard.vue +++ b/src/front/src/components/vote/VoteCard.vue @@ -1,100 +1,119 @@ \ No newline at end of file + diff --git a/src/front/src/views/VoteHomePage.vue b/src/front/src/views/VoteHomePage.vue index a7da61316..7fd347774 100644 --- a/src/front/src/views/VoteHomePage.vue +++ b/src/front/src/views/VoteHomePage.vue @@ -46,20 +46,27 @@ lg="3" md="4" > - - {{ voting.name }} - - Завершено: {{ voting.dateend }} - - - - Результаты - - - mdi-delete - - - + + + + + + + + + + + + + + + @@ -156,8 +163,6 @@ export default { .sort((a, b) => new Date(b.dateend) - new Date(a.dateend)) ); - console.log(completedVotes.value); - const loadVoteDetails = async (id) => { try { const data = await getVoteDetail(id); @@ -221,6 +226,7 @@ export default { updating("active"); updating("completed"); + console.log(completedVotes); return { currentTab,