From 08053e22115d9af2c591eab6dff975466e20e527 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RQ919RC\\Pc" <1300399510@qq.com> Date: Thu, 25 Sep 2025 16:18:57 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=B8=BA=E5=9B=BE=E7=89=87=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E6=B7=BB=E5=8A=A0=E5=9C=86=E8=A7=92=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在index.css和index.less中为.content .custom .list .item .info-img添加border-radius属性,使图片显示圆角效果,提升视觉美观度 --- static/css/index.css | 1 + static/css/index.less | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/css/index.css b/static/css/index.css index ed4e123..64234f0 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -676,6 +676,7 @@ height: 240px; filter: drop-shadow(5px 5px 2.5px rgba(0, 0, 0, 0.35)); transition: all 0.3s ease-in-out; + border-radius: 10px; } .content .custom .list .item .info-img:hover { transform: scale(1.05); diff --git a/static/css/index.less b/static/css/index.less index fbce986..03c39b0 100644 --- a/static/css/index.less +++ b/static/css/index.less @@ -787,7 +787,8 @@ width: 240px; height: 240px; filter: drop-shadow(5px 5px 2.5px rgba(0, 0, 0, 0.35)); - transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + border-radius: 10px; &:hover { transform: scale(1.05);