_detail.css 3.36 KB
.bundle-body {
    background-color: #f0f0f0;
    min-height: 1000px;
}

.bundle-tabs {
    padding-left: 23px;
    padding-right: 23px;
    height: 76px;
    border-bottom: solid 1PX #ddd;
    overflow: hidden;
    background-color: #fff;
    box-sizing: content-box;

    &.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-detail-goods {
    width: 100%;
    height: 248px;
    overflow: hidden;
    padding: 20px 30px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;

    .goods-img {
        float: left;
        margin-right: 30px;

        img {
            width: 155px;
            height: 206px;
            overflow: hidden;
        }
    }

    .goods-info {
        float: left;
        width: 390px;

        p {
            line-height: 60px;
        }

        .title {
            width: 350px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            display: inline-block;
            color: #444;
        }

        .count {
            float: right;
            color: #b0b0b0;
        }

        .select-btn {
            padding: 10px;
            border: 1px #e0e0e0 solid;
            color: #444;

            i {
                color: #e0e0e0;
            }
        }

        .price {
            color: #d0021b;
        }
    }
}

.bundle-bar {
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: #fff;
    padding: 15px 30px;

    .no-buy {
        height: 92px;
        line-height: 92px;
        color: #d0021b;
    }

    .bundle-bar-md {
        width: 400px;
        display: inline-block;
        text-align: right;

        .bundle-discount {
            color: #d0021b;
            border: solid 1px #d0021b;
            border-radius: 3px;
            font-size: 0.6em;
            padding: 0 2px;
        }

        .bundle-price {
            color: #d0021b;
            font-size: 1.2em;
            font-weight: 600;
        }

        .sale-price {
            color: #b3b3b3;
            font-size: 0.8em;
            text-decoration: line-through;
        }
    }

    .bundle-buy-btn {
        float: right;
        background-color: #d0021b;
        color: #fff;
        border: solid #d0021b;
        border-radius: 5px;
        padding: 20px;
        font-size: 1.2em;
    }
}

.chose-panel-top {
    height: 160px;
}