_home.scss 2.54 KB
$pageMainWidth: 1180px;
.bd {
    margin: 0 auto;
    min-width: $pageMainWidth;
}

.wrapper {
    width: 980px;
    margin: 0 auto;
}

.content-wrap {
    width: 1180px;
    margin: 50px auto 30px;
}

.cooperation {
    $cooperationHeight: 240px;
    margin: 50px 0 0;
    height: $cooperationHeight;
    background: #f5f5f5;
    .cooperation-slide-warp {
        position: relative;
        width: $pageMainWidth;
        margin: 0 auto;
        .cooperation-slide-box {
            position: relative;
            width: $pageMainWidth;
            overflow: hidden;
            height: $cooperationHeight;
        }
        .cooperation-slide-control {
            a {
                position: absolute;
                top: 50%;
                margin-top: -16px;
                color: #000;
                font-size: 26px;
            }
            .cooperation-slide-prev {
                left: -40px;
            }
            .cooperation-slide-next {
                right: -40px;
            }
            .disable {
                color: #d9d9d9;
                cursor: default;
            }
        }
    }
}

.cooperation-slide-box {
    $cooperationHeight: 240px;
    $boxInterval: 40px;
    .slide-wrap {
        position: relative;
        overflow: hidden;
        .box {
            background-color: #f5f5f5;
            position: relative;
            float: left;
            padding: 50px $boxInterval 0 0;
            width: $pageMainWidth / 2 - $boxInterval;
            height: $cooperationHeight;
            h2 {
                font-size: 14px;
                line-height: 20px;
            }
            hr {
                border: 0;
                border-top: 1px solid #e0e0e0;
            }
            ul {
                li {
                    float: left;
                    width: 120px;
                    height: 55px;
                    margin: 10px 14px 0 0;
                    a {
                        width: 120px;
                        height: 55px;
                        display: table-cell;
                        vertical-align: middle;
                        text-align: center;
                        img {
                            max-width: 100%;
                            max-height: 100%;
                        }
                    }
                }
            }
        }
        .big-size {
            width: $pageMainWidth - $boxInterval;
        }
    }
}

.right-banner-warp {
    display: none;
}

.right-banner.layout-item {
    .image-box {
        height: 420px;
        margin-bottom: 26px;
    }
}