From 40d4a41461b5d4a06c2a62eb5034479f6b1253f7 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 17 Apr 2026 10:45:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=A7=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=8F=B3=E4=BE=A7=E5=9B=BE=E7=89=87=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/index/pc/css/header.css | 30 +++++++-------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/public/static/index/pc/css/header.css b/public/static/index/pc/css/header.css index 0dfdce2c..c37a90df 100644 --- a/public/static/index/pc/css/header.css +++ b/public/static/index/pc/css/header.css @@ -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 {