From 874ecf30d01207748fec038d94bd53b09d28faa2 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sun, 28 Dec 2025 23:24:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8Fbug=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/resource.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/resource.vue b/src/views/resource.vue index 75fc117..b9dbaec 100644 --- a/src/views/resource.vue +++ b/src/views/resource.vue @@ -275,7 +275,7 @@ download(type) { align-items: stretch; background: #fff; border-radius: 20px; - overflow: hidden; + overflow: visible; box-shadow: 0 8px 30px rgba(0,0,0,0.08); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; @@ -289,6 +289,7 @@ download(type) { background: linear-gradient(90deg, #667eea, #764ba2); transform: scaleX(0); transition: transform 0.3s ease; + border-radius: 20px 20px 0 0; } &:hover { @@ -318,6 +319,8 @@ download(type) { justify-content: center; background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05)); padding: 30px; + border-radius: 20px 0 0 20px; + overflow: hidden; } .zui-card__media { @@ -330,6 +333,8 @@ download(type) { border-radius: 20px; padding: 12px; transition: transform 0.3s ease; + position: relative; + z-index: 1; img { width: 100%; @@ -346,6 +351,8 @@ download(type) { padding: 30px 35px; display: flex; flex-direction: column; + border-radius: 0 20px 20px 0; + overflow: hidden; } .zui-card__title {