4 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
84a5e319cb Merge branch 'dev' 2026-04-17 10:32:29 +08:00
456b2ede8a 产品列表图片间距
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
2026-04-17 10:31:33 +08:00
2 changed files with 10 additions and 26 deletions

View File

@@ -14,7 +14,7 @@
<div class="header-nav-item" > <div class="header-nav-item" >
<div class="header-nav-title">{:lang_i18n('产品列表')}</div> <div class="header-nav-title">{:lang_i18n('产品列表')}</div>
<!-- style=" opacity: 1;" --> <!-- style=" opacity: 1;" -->
<div class="header-dropdown" > <div class="header-dropdown" style=" opacity: 1;">
<div class="header-dropdown-tabs"> <div class="header-dropdown-tabs">
{volist name="header_categorys" id="vo" key="idx"} {volist name="header_categorys" id="vo" key="idx"}
<a href="{:url('product/category', ['id' => $vo.id])}" class="header-tab-item {if condition="$idx == 1"}active{/if}" data-tab="tag-{$vo.id}">{$vo.name}</a> <a href="{:url('product/category', ['id' => $vo.id])}" class="header-tab-item {if condition="$idx == 1"}active{/if}" data-tab="tag-{$vo.id}">{$vo.name}</a>

View File

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