产品列表图片间距
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2026-04-17 10:31:33 +08:00
parent 322cfad5d9
commit 456b2ede8a
2 changed files with 5 additions and 5 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

@@ -399,13 +399,13 @@ a {
justify-content: space-between; justify-content: space-between;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
font-size: 16px;
} }
.header-product-card { .header-product-card {
text-align: center; text-align: center;
width: calc(50% - 0.75em); width: calc(50% - 0.75em);
max-width: 22.625em; max-width: 22.625em;
flex-shrink: 1; flex-shrink: 1;
@@ -430,11 +430,11 @@ a {
} }
.header-product-card:nth-child(1) { .header-product-card:nth-child(1) {
margin-right: 1.5em; /* margin-right: 1.5em; */
} }
.header-product-card:nth-child(3) { .header-product-card:nth-child(3) {
margin-right: 1.5em; /* margin-right: 1.5em; */
margin-top: 1.5em; margin-top: 1.5em;
} }