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; + } + }