fix: 样式bug修复。

This commit is contained in:
tianyongbao
2025-12-28 23:24:35 +08:00
parent 3837867079
commit 874ecf30d0

View File

@@ -275,7 +275,7 @@ download(type) {
align-items: stretch; align-items: stretch;
background: #fff; background: #fff;
border-radius: 20px; border-radius: 20px;
overflow: hidden; overflow: visible;
box-shadow: 0 8px 30px rgba(0,0,0,0.08); box-shadow: 0 8px 30px rgba(0,0,0,0.08);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 2px solid transparent; border: 2px solid transparent;
@@ -289,6 +289,7 @@ download(type) {
background: linear-gradient(90deg, #667eea, #764ba2); background: linear-gradient(90deg, #667eea, #764ba2);
transform: scaleX(0); transform: scaleX(0);
transition: transform 0.3s ease; transition: transform 0.3s ease;
border-radius: 20px 20px 0 0;
} }
&:hover { &:hover {
@@ -318,6 +319,8 @@ download(type) {
justify-content: center; justify-content: center;
background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05)); background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
padding: 30px; padding: 30px;
border-radius: 20px 0 0 20px;
overflow: hidden;
} }
.zui-card__media { .zui-card__media {
@@ -330,6 +333,8 @@ download(type) {
border-radius: 20px; border-radius: 20px;
padding: 12px; padding: 12px;
transition: transform 0.3s ease; transition: transform 0.3s ease;
position: relative;
z-index: 1;
img { img {
width: 100%; width: 100%;
@@ -346,6 +351,8 @@ download(type) {
padding: 30px 35px; padding: 30px 35px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-radius: 0 20px 20px 0;
overflow: hidden;
} }
.zui-card__title { .zui-card__title {