From 88f58ada7a6afae4f79988f9a3d40366de738228 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Tue, 19 Mar 2024 16:23:43 +0800 Subject: [PATCH] 签名组件,绘图追加白底 --- layout/homeNav/cHomeNav.scss | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/layout/homeNav/cHomeNav.scss b/layout/homeNav/cHomeNav.scss index c10b698..913cad1 100644 --- a/layout/homeNav/cHomeNav.scss +++ b/layout/homeNav/cHomeNav.scss @@ -6,9 +6,22 @@ @import "../../common/sassMixin"; .c-home-nav { + width: 100%; margin-bottom: 20px; + .c-home-nav-title { + width: 100%; + color: #666; + text-align: center; + background-color: #fff; + border-top: #e2e2e2 1PX solid; + } + .c-home-nav-content { + width: 100%; + } &.col-two { - @include clearfix; + .c-home-nav-content { + @include clearfix; + } .c-home-item { float: left; width: 50%; @@ -50,8 +63,9 @@ } } &.col-three { - width: 100%; - @include flexbox(flex, flex-start center, n wrap); + .c-home-nav-content { + @include flexbox(flex, flex-start center, n wrap); + } .c-home-item { width: 33.3%; height: 246px; @@ -65,6 +79,15 @@ &:active { background-color: #f2f2f2; } + &:nth-child(1) { + border-top: #e2e2e2 1PX solid; + } + &:nth-child(2) { + border-top: #e2e2e2 1PX solid; + } + &:nth-child(3) { + border-top: #e2e2e2 1PX solid; + } &:nth-child(3n+3) { border-right: none; } -- Gitblit v1.9.1