_detail.scss 2.7 KB
.detailBox {
    background-color: $YOHO-white-color;
}

.detailTopBar {
    background-color: $YOHO-white-color !important;
}

.detailSlider {
    width: 320px;
    height: 300px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.detail-wrap {
    position: absolute;
    left: 48px;
    top: 0;
    & > div {
        position: relative;
        width: 239px;
        float: left;
    }
    img {
        width: 225px;
    }
}

.detailSlide-nav {
    position: absolute;
    height: 16px;
    line-height: 7px;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    span {
        display: inline-block;
        width: 6px;
        height: 6px;
        @include border-radius(50%);
        background-color: $YOHO-dot-color;
    }
    span.on {
        background-color: $YOHO-black-color;
    }
}

.detailTitle {
    font-size: 18px;
    text-align: center;
    padding: 5px 0 0;
}

.vipLevel {
    color: $YOHO-search-color;
    text-align: center;
    padding-bottom: 20px;
    span {
        padding:0 5px;
    }
}

.detailToBuy {
    padding: 0 10px;
    height: 50px;
    margin-bottom: 20px;
    line-height: 50px;
    text-align: center;
    a {
        float: left;
    }
    .AddFavorite {
        width: 55px;
        height: 50px;
        background-color: $YOHO-border-color;
        color: $YOHO-white-color;
        font-size: 20px;
        margin-right: 10px;
    }
    .toBuyNow {
        width: 235px;
        height: 50px;
        background-color: $YOHO-red-color;
        color: $YOHO-white-color;
        font-size: 22px;
    }
}

.discountNotice {
    margin-bottom: 20px;
    span {
        padding: 4px 6px;
        margin-right: 10px;
        background-color: $YOHO-normal-color;
        color: $YOHO-white-color;
    }
    p {
        height: 44px;
        line-height: 44px;
        padding: 0 10px;
        margin-bottom: 1px;
        font-size: 12px;
        background-color: #eeeeee
    }
}

.detailSize {
    padding: 0 10px;
    margin-bottom: 20px;
    h3 {
        text-align: center;
        font-size: 16px;
        margin-bottom: 5px;
        span {
            font-size: 9px;
            display: block;
        }
    }
    table {
        background-color: $YOHO-white-color;
        width: 100%;
    }
    td {
        height: 25px;
        line-height: 25px;
        border: 1px solid $YOHO-white-color;
        text-align: center;
        background-color: #eee;
    }
}

.detailGoodsInfo {
    td {
        text-align: left;
        padding: 0 5px;
    }
}

.detailToShop {
    margin: 0 10px 10px;
    padding: 10px;
    height: 47px;
    line-height: 47px;
    overflow: hidden;
    background-color: #eee;
    a {
        display: block;
        font-size: 14px;
    }
}