修改首页卡片样式

This commit is contained in:
张成
2025-11-28 23:33:39 +08:00
parent f39aa39b73
commit 358e85be10
3 changed files with 5 additions and 5 deletions

View File

@@ -241,7 +241,7 @@
// 设计稿位置 top: 10.52px, left: 38.52px,按比例缩放
top: 8.6px;
left: 31.6px;
z-index: 2;
z-index: 1;
transform: rotate(8deg);
}
@@ -249,7 +249,7 @@
// 设计稿位置 top: 38.62px, left: 10.62px,按比例缩放
top: 31.7px;
left: 8.7px;
z-index: 1;
z-index:2;
transform: rotate(-8deg);
}
}

View File

@@ -52,7 +52,7 @@ const ListCard: React.FC<ListCardProps> = ({
const handleViewDetail = () => {
navigateTo({
url: `/game_pages/detail/index?id=${id || 1}&from=list`,
url: `/game_pages/detail/index?id=${id}&from=list`,
});
};

View File

@@ -207,13 +207,13 @@
top: 20%;
&:first-child {
z-index: 2;
z-index: 1;
transform: translateX(4px) rotate(-10deg);
}
&:last-child {
right: 0;
z-index: 1;
z-index: 2;
transform: translateX(-4px) rotate(10deg);
}
}