_bundle.css 3.07 KB
.bundle {
    height: 420px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;

    .bundle-tabs {
        padding-left: 23px;
        padding-right: 23px;
        height: 76px;
        border-bottom: solid 1PX #ddd;

        &.any {
            padding: 0;

            .swiper-slide {
                width: auto;
                flex: 1;
            }
        }

        .swiper-slide {
            width: 168px;
            text-align: center;
            position: relative;
            display: flex;

            &:first-child {
                .line {
                    display: none;
                }
            }

            &.selected {
                span {
                    color: #454545;
                    border-bottom: solid 2PX #454545;
                }
            }

            .line {
                width: 1px;
                height: 28px;
                margin-top: 24px;
                float: left;
                border-left: solid 1PX #ddd;
            }

            .title {
                width: 100%;
                flex: 1;

                span {
                    display: inline-block;
                    min-width: 103px;
                    max-width: 100%;
                    color: #b2b2b2;
                    line-height: 76px;
                    height: 76px;
                    font-size: 28px;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                }
            }
        }
    }

    .bundle-nav {
        overflow: hidden;
        padding: 0 30px;
        line-height: 70px;

        .bundle-title {
            float: left;
            color: #444;
            font-size: 28px;
        }

        .bundle-right {
            float: right;

            .bundle-desc {
                padding: 0 10px;
                border: 1px #d0021b solid;
                border-radius: 5px;
                color: #d0021b;
                font-size: 12PX;
            }

            .iconfont {
                color: #b0b0b0;
            }
        }
    }

    .bundle-product {
        width: 100%;
        margin-top: 10px;

        .swiper-wrapper {
            .plus {
                margin-top: 72px;
                margin-left: 8px;
                margin-right: 8px;
                color: #b0b0b0;
                width: 30px !important;
                height: 40px;
                text-align: center;
            }

            .plus-0 {
                visibility: hidden;
                margin: 0;
            }

            .product-box {
                width: 130px;
                float: left;

                a {
                    display: inline-block;
                }

                .bundle-price {
                    color: #d0021b;
                    font-size: 22px;
                    text-align: center;
                }

                img {
                    width: 130px;
                    height: 173px;
                }
            }
        }
    }
}