From bb4e5c0bf90af5ee10b4e07a344b7b9a0f071170 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 9 Aug 2023 15:42:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/public/public-list-item.vue | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/public/public-list-item.vue b/src/components/public/public-list-item.vue index 9a823a3..407699f 100644 --- a/src/components/public/public-list-item.vue +++ b/src/components/public/public-list-item.vue @@ -537,6 +537,24 @@ 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; @@ -586,6 +604,10 @@ img { cursor: pointer; margin-left: 10px; + &:hover { + color: #000000; + } + &.go-up { border: none; color: #fff;