2 Commits

Author SHA1 Message Date
d7cb06f4a9 Merge branch 'dev' 2026-04-17 10:46:04 +08:00
40d4a41461 优化产品列表右侧图片间距
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 2s
2026-04-17 10:45:26 +08:00

View File

@@ -339,7 +339,7 @@ a {
display: flex;
flex: 1;
justify-content: space-between;
max-width: 48%;
}
@@ -354,10 +354,7 @@ a {
}
/* 单个分类区块 */
.header-category-block {
/* flex: 1; */
}
.header-category-title {
@@ -400,6 +397,7 @@ a {
flex: 1;
min-width: 0;
font-size: 16px;
max-width: 748px;
}
@@ -429,12 +427,12 @@ a {
transform: translateY(-2px)
}
.header-product-card:nth-child(1) {
/* margin-right: 1.5em; */
}
/* .header-product-card:nth-child(1) {
} */
.header-product-card:nth-child(3) {
/* margin-right: 1.5em; */
margin-top: 1.5em;
}
@@ -442,20 +440,7 @@ a {
margin-top: 1.5em;
}
/*.header-product-img {*/
/* width: 22.625em;*/
/* height: 12.25em;*/
/* background-color: #f5f5f5;*/
/* display: flex;*/
/* align-items: center;*/
/* justify-content: center;*/
/* color: #999;*/
/*}*/
/*.header-product-img img {*/
/* width: 22.625em;*/
/* height: 12.25em;*/
/*}*/
.header-product-img {
width: 100%;
aspect-ratio: 22.625 / 12.25;
@@ -465,7 +450,6 @@ a {
justify-content: center;
color: #999;
overflow: hidden;
/* border-radius: 0.5em; */
}
.header-product-img img {