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

    .tide-title {
        font-weight: 900;
        font-size: 37px;
        color: #000;
        text-align: center;
        padding: 30px 0 5px;
        letter-spacing: 10px;
    }

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

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

            .brand-block {
                width: 216px;
                height: 242px;
                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;
                    word-break: break-all;
                    font-weight: bold;
                }
            }

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

                span {
                    font-size: 13px;
                    vertical-align: middle;
                }
            }
        }
    }

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

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

            .goods-img img {
                width: 217px;
                height: 288px;
            }

            .goods-footer {
                font-size: 19px;
                color: #fff;
                font-weight: bold;
                position: absolute;
                bottom: 0;
                width: 100%;
                padding: 3px 15px;
                opacity: 0.7;
                background-color: #000;

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

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

            .market-price {
                font-size: 13px;
                color: #ccc;
                font-weight: normal;
            }

            .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: 306px;
            position: relative;

            img {
                width: 100%;
                height: 100%;
                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: 180px;
            height: 40px;
            line-height: 40px;
            bottom: -20px;
            position: absolute;
            left: 50%;
            margin-left: -100px;
            box-shadow: 1px 1px 1px #000;

            span {
                font-size: 15px;
            }
        }
    }

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

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

        .brand-info {
            width: 314px;
            height: 352px;
            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: 105px;
                overflow: hidden;
                margin: 40px auto 20px;
            }

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

            .promotion-title {
                font-size: 24px;
                margin: 10px;
                -webkit-line-clamp: 2;
            }

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

            .entry-brand {
                background-color: #000;
                text-align: center;
                font-size: 19px;
                font-weight: bold;
                color: #fff;
                width: 160px;
                height: 30px;
                line-height: 30px;
                box-shadow: 1px 1px 1px #000;
                display: inline-block;

                span {
                    font-size: 17px;
                }
            }
        }
    }

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