样式调整
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2026-04-15 10:54:50 +08:00
parent 180b5db570
commit adef3c1e2e
3 changed files with 10 additions and 16 deletions

View File

@@ -158,10 +158,12 @@
</div> </div>
</div> </div>
<div class="header-buy-wrapper"> <div class="header-buy-wrapper">
<button class="header-buy-btn"> <button class="header-buy-btn" style="line-height: 1;">
<img src="__IMAGES__/g1.png" alt="" style="margin-right: 3px;"> <img src="__IMAGES__/g1.png" alt="" style="margin-right:5px;width: 14px;height: 14px;">
{:lang_i18n('购买')} {:lang_i18n('购买')}
</button> </button>
<!-- <img src="__IMAGES__/gm.png" alt="" style="margin-right: 3px;"> -->
</div> </div>
</div> </div>
</div> </div>

View File

@@ -158,15 +158,14 @@ a {
.header-buy-btn { .header-buy-btn {
background-color:#004bfa; background-color:#004bfa;
color: #fff; color: #fff;
padding: 0.375em 1.125em; padding: 5px 12px;
border-radius: 1.25em; border-radius: 1.25em;
border: none; border: none;
cursor: pointer; cursor: pointer;
font-size: 1em; font-size: 0.875em;
white-space: nowrap; white-space: nowrap;
display: flex; display: flex;
align-items: center; align-items: center;
} }
/* ========== 响应式设计 - 整体缩放,保持比例 ========== */ /* ========== 响应式设计 - 整体缩放,保持比例 ========== */
@@ -325,7 +324,8 @@ a {
.header-dropdown-category { .header-dropdown-category {
display: flex; display: flex;
flex: 1; flex: 1;
justify-content: space-between;
max-width: 48%;
} }
@@ -336,14 +336,13 @@ a {
max-width: 362px; max-width: 362px;
margin-right:1.5em; margin-right:1.5em;
gap: 1.7em 0; gap: 1.7em 0;
/* width: 20%; */
} }
/* 单个分类区块 */ /* 单个分类区块 */
.header-category-block { .header-category-block {
flex: 1; /* flex: 1; */
width: 22.625em;
} }
@@ -378,13 +377,6 @@ a {
color: #0066ff; color: #0066ff;
} }
/* 右侧产品展示区:自适应剩余宽度,无溢出 */
/* .header-dropdown-products {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
max-width: 46.75em;
} */
.header-dropdown-products { .header-dropdown-products {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB