From c236121b78773499fd6c561048e3c2bb840e6d7d Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 9 Aug 2023 18:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/public/public-list-item.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/components/public/public-list-item.vue b/src/components/public/public-list-item.vue index e235b63..3862e31 100644 --- a/src/components/public/public-list-item.vue +++ b/src/components/public/public-list-item.vue @@ -538,28 +538,19 @@ img { height: 100%; cursor: pointer; + &:hover { .icon { - // transform: rotate(45deg); - animation: spin 1s forwards; - } - - } - - @keyframes spin { - 0% { transform: rotate(360deg); } - - 100% { - transform: rotate(0deg); - } } .icon { width: 16px; height: 16px; margin-right: 3px; + transition: all 1s; + } } }