category.page.css 6.83 KB
.activity-tide-page {
    .ellipsis {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .tide-title {
        font-weight: bold;
        font-size: 37px;
        color: #000;
        text-align: center;
        padding: 40px 0 5px;
    }

    .tide-goods,
    .tide-brand {
        margin: 30px 30px 0 39px;
        display: flex;
        flex-wrap: wrap;
    }

    .tide-brand {
        .brand {
            margin: 25px 10px 0 0;
            width: 216px;
            height: 310px;
            background-color: #f7f8f8;

            .brand-block {
                width: 216px;
                height: 270px;
                overflow: hidden;
                position: relative;

                &:after {
                    content: "";
                    width: 216px;
                    height: 114px;
                    background-image: url("/activity/tide-brand-bg.png");
                    background-repeat: no-repeat;
                    background-size: contain;
                    margin-right: 10px;
                    position: absolute;
                    bottom: 0;
                }

                .brand-logo {
                    width: 130px;
                    height: 130px;
                    overflow: hidden;
                    position: absolute;
                    top: 70px;
                    left: 50%;
                    margin-left: -65px;
                    opacity: 0.6;
                    z-index: 3;
                }

                .goods-name {
                    font-size: 16px;
                    color: #fff;
                    position: absolute;
                    width: inherit;
                    text-align: center;
                    bottom: 10px;
                    z-index: 3;
                    padding: 0 5px;
                    -webkit-line-clamp: 1;
                }
            }

            .entry-brand {
                width: inherit;
                border: 2px solid #bdbdbd;
                text-align: center;
                font-size: 19px;
                height: 40px;
                line-height: 40px;
                background-color: #fff;
                border-top: none;

                span {
                    font-size: 13px;
                    margin-left: 15px;
                }
            }
        }
    }

    .tide-goods {
        .cate-block {
            margin: 25px 10px 0 0;
            width: 217px;
            overflow: hidden;
            background-color: #f7f8f8;
        }

        .goods {
            margin: 25px 10px 0 0;
            width: 217px;
            background-color: #f7f8f8;

            .goods-img img {
                width: 187px;
                height: 216px;
                margin: 15px 15px 12px;
            }

            .goods-footer {
                font-size: 17px;
                color: #000;
                margin-left: 15px;

                .goods-name {
                    -webkit-line-clamp: 1;
                    word-wrap: normal;
                }

                .goods-bottom {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }
            }

            .market-price {
                font-size: 13px;
                color: #9d9e9e;
            }

            .cart-icon {
                width: 25px;
                height: 20px;
                background-image: url("/activity/cart-icon.png");
                background-repeat: no-repeat;
                background-size: contain;
                margin-right: 10px;
            }
        }
    }

    .wonderful-container {
        display: flex;
        flex-wrap: wrap;
        margin: 20px 20px 0 40px;

        .wonderful-big {
            margin-right: 20px;
            margin-bottom: 40px;
            width: 670px;
            height: 330px;
            position: relative;

            img {
                width: inherit;
                height: inherit;
                overflow: hidden;
            }
        }

        .wonderful-small {
            margin-right: 20px;
            margin-bottom: 40px;
            width: 325px;
            height: 220px;
            position: relative;

            img {
                width: inherit;
                height: inherit;
                overflow: hidden;
            }
        }

        .see-block {
            background-color: #000;
            text-align: center;
            font-size: 17px;
            color: #fff;
            width: 200px;
            height: 40px;
            line-height: 40px;
            bottom: -20px;
            position: absolute;
            left: 50%;
            margin-left: -100px;
            box-shadow: 1px 1px 1px #000;

            span {
                font-size: 15px;
                margin-left: 20px;
            }
        }
    }

    .brand-block-big {
        width: 650px;
        display: flex;
        flex-wrap: wrap;
        margin-left: 10px;

        .brand-img {
            width: 315px;
            height: 420px;
            overflow: hidden;
            margin-right: 15px;
        }

        .brand-info {
            width: 315px;
            height: 420px;
            border: 4px solid #eaeaea;
            text-align: center;
            position: relative;

            &:before {
                content: "";
                width: 31px;
                height: 45px;
                background-image: url("/activity/l-arrow-icon.png");
                background-repeat: no-repeat;
                background-size: contain;
                position: absolute;
                left: -31px;
                top: 50%;
                margin-top: -22px;
            }

            .brand-logo {
                width: 210px;
                height: 140px;
                overflow: hidden;
                margin: 40px auto 20px;
            }

            .name {
                font-size: 20px;
                color: #000;
                margin: 5px 0;
            }

            .promotion-title {
                font-size: 30px;
                margin: 25px 10px 35px;
                -webkit-line-clamp: 1;
            }

            .promotion-title .minus {
                color: #f00000;
            }

            .entry-brand {
                background-color: #000;
                text-align: center;
                font-size: 17px;
                color: #fff;
                width: 200px;
                height: 40px;
                line-height: 40px;
                box-shadow: 1px 1px 1px #000;
                display: inline-block;

                span {
                    font-size: 17px;
                    margin-left: 20px;
                }
            }
        }
    }

    .tide-border-top {
        margin: 35px 30px -20px 40px;
        border-top: 2px solid #b0b0b0;
    }
}