From 2c81f1c1103fe5bf8372f33c12b6ff77835d0696 Mon Sep 17 00:00:00 2001 From: yoon Date: Thu, 20 Mar 2025 14:06:26 +0900 Subject: [PATCH] =?UTF-8?q?new=20=EB=B0=98=EC=A7=9D=EB=B0=98=EC=A7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/custom.css | 18 +++++++++++++ src/views/board/BoardList.vue | 48 +++++++++++++++++++++-------------- 2 files changed, 47 insertions(+), 19 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index 1e22a80..9d906e2 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -24,6 +24,24 @@ height: 70px; font-size: 18px; } + + +@keyframes new { + 0% { + background-color: #ffcc00; + } + 50% { + background-color: red; + } + 100% { + background-color: #ffcc00; + } +} + +.box-new { + animation: new 1s infinite; /* 1초마다 반복 */ +} + /* board end */ diff --git a/src/views/board/BoardList.vue b/src/views/board/BoardList.vue index 41fae62..a03d9dc 100644 --- a/src/views/board/BoardList.vue +++ b/src/views/board/BoardList.vue @@ -57,16 +57,24 @@ > 공지 - 📌 {{ notice.title }} - [ {{ notice.commentCount }} ] - - - N +
+ 📌 + {{ notice.title }} + + + [ {{ notice.commentCount }} ] + + + + + + + N + +
{{ notice.author }} {{ notice.date }} @@ -81,15 +89,17 @@ @click="goDetail(post.realId)" > {{ post.id }} - - {{ post.title }} - [ {{ post.commentCount }} ] - - - N + +
+ {{ post.title }} + [ {{ post.commentCount }} ] + + + N +
{{ post.author }} {{ post.date }}