_product.css 3.73 KB
.video {
    position: fixed;
    top: -100%;
    width: 100%;
    height: 360px;
    z-index: 3;

    &.android {
        top: 30%;
        z-index: 1002;
    }
}

.video-android-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background: #000;
    opacity: 0.7;
}

.video-android-close {
    position: fixed;
    top: 26.2%;
    right: 10px;
    width: 35px;
    height: 35px;
    z-index: 1003;
    background-image: resolve("activity/close.png");
    background-size: cover;
}

.product-container {
    overflow: hidden;
    padding: 0 20px 10px;
    font-size: 22px;

    &.item3 {
        padding: 0 20px 10px;
        font-size: 20px;

        .feature-product-info {
            width: 193px;
            margin-right: 10px;

            &:nth-of-type(3n) {
                margin-right: 0;
            }

            .product-detail-img {
                height: 257px;
            }

            .price {
                line-height: 34px;
                height: 34px;
            }

            .sale-price {
                font-size: 26px;
            }
        }

        .brand-name {
            line-height: 23px;
            font-size: 12px;
        }
    }

    .product-source {
        display: block;
        overflow: hidden;
        position: relative;
    }

    .feature-product-info {
        float: left;
        width: 288px;
        margin-right: 20px;
        border: 1px solid #eee;
        margin-top: 25px;
        overflow: hidden;

        &.novisible {
            visibility: hidden;
        }

        &:nth-of-type(2n) {
            margin-right: 0;
        }

        a {
            display: block;
            text-decoration: none;
        }

        img {
            display: block;
            width: 100%;
        }

        .first-part {
            background: #fff;
        }

        .product-detail-imgbox {
            position: relative;

            .product-detail-img {
                width: 100%;
                height: 380px;
            }
        }

        .product-name {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            color: #444;
            height: 60px;
            line-height: 35px;
            padding: 0 5px;
        }

        .leftopimg {
            position: absolute;
            left: 0;
            top: 0;
            width: 40%;
            height: auto;
            z-index: 1;
        }

        .rigtopimg {
            position: absolute;
            right: 0;
            top: 0;
            width: 40%;
            height: auto;
            z-index: 1;
        }

        .price {
            font-size: 18px;
            line-height: 40px;
            height: 40px;
            white-space: nowrap;
            text-align: center;
        }

        .sale-price {
            color: #f73207;
            font-size: 30px;
        }

        .market-price {
            margin: 0 0 0 3px;
            color: #bebebe;
            text-decoration: line-through;
        }
    }

    .second-part {
        display: block;
        color: #fff;
        font-size: 32px;
        position: relative;

        .brand-div {
            position: absolute;
            top: 8px;
            left: 50%;
            width: 100%;
            transform: translateX(-50%);
        }

        .brand-name {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            text-align: center;
            line-height: 30px;
            overflow: hidden;
            font-size: 26px;
        }

        .brand-img {
            display: block;
            margin: 0 auto;
        }
    }
}