WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2025-03-13 a6378a4ecdc99fc8b2193adf193bcac98ddf05f5
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;
            }