修改首页卡片样式
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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`,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user