From f86e9dee75c735d5e735955f215529a5c0410505 Mon Sep 17 00:00:00 2001 From: liu <2302563948@qq.com> Date: Tue, 11 Aug 2026 10:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E9=A1=B9=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/category/index.less | 46 +++++++++++++++-------------------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/src/pages/category/index.less b/src/pages/category/index.less index c296e19..eebad20 100644 --- a/src/pages/category/index.less +++ b/src/pages/category/index.less @@ -1,9 +1,9 @@ .category { min-height: 100vh; - background: #f7f8fa; - padding-top: 16px; + background: #fff; + padding: 30px; - // 加载 / 空状态 + // 加载 .category-state { display: flex; flex-direction: column; @@ -18,29 +18,21 @@ } } - // 宫格链接(与首页宫格导航样式一致) - .grid-wrapper { - margin: 16px 32px 20px; - background: rgb(255 255 255); - border-radius: 20px; - box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); - padding: 28px 28px 30px; - - .grid-item { - display: flex; - margin-bottom: 10px; - padding: 14px 0; - border-bottom: 1px solid #ddd; - } - - .grid-item-title { - - } - - .grid-item-image { - margin-right: 30px; - width: 100px; - height: 100px; - } + .grid-item { + display: flex; + margin-bottom: 10px; + padding: 14px 0; + border-bottom: 1px solid #ddd; } + + .grid-item-title { + + } + + .grid-item-image { + margin-right: 30px; + width: 100px; + height: 100px; + } + }