From 992ee44ac5b05e5f35665814dcf83f7d04e9b9ce Mon Sep 17 00:00:00 2001 From: 123 <123@qq.com> Date: Tue, 6 May 2025 09:47:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/default_v2/index.html | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/templates/default_v2/index.html b/templates/default_v2/index.html index 5dff04c..8d22e94 100644 --- a/templates/default_v2/index.html +++ b/templates/default_v2/index.html @@ -178,8 +178,16 @@ display: flex; transition: transform 0.5s ease; height: 100%; + /* 以下为动画效果 */ + opacity: 0; /* 初始透明 */ + animation: fadeIn 1s ease-in forwards; } + @keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } + } + .carousel-item { min-width: 100%; height: 100%; @@ -326,6 +334,14 @@ #bbb { z-index: 3; } + #theshow { + transition: transform 0.5s ease; /* 平滑过渡效果 */ + } + + #theshow:hover { + transform: translateY(-10px); + /* 上浮10px */ + } @@ -659,7 +675,7 @@
- 关于我们