receivingGiftsItem.less 7.18 KB
.receivingGiftsInfo {
    .giftItem_box {
        width: 640px;
        // height: 453px;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        margin: 43px auto 0 auto;
        padding: 25px;
        .user_info {
            display: flex;
            position: relative;
            padding-bottom: 22px;
            border-bottom: solid 1px rgba(247, 247, 248, 1);
            img {
                width: 50px;
                height: 50px;
                border-radius: 50px;
            }
            .name {
                height: 50px;
                font-size: 28px;
                font-weight: 400;
                color: rgba(51, 51, 51, 1);
                line-height: 50px;
                margin-left: 20px;
                width: 400px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .btn {
                width: 144px;
                height: 52px;
                line-height: 52px;
                background: rgba(254, 246, 233, 1);
                border-radius: 96px 0px 0px 96px;
                text-align: center;
                font-size: 26px;
                font-weight: 400;
                color: rgba(245, 166, 35, 1);
                position: absolute;
                right: -35px;
            }
            .gift_active {
                height: 40px;
                font-size: 28px;
                font-weight: 400;
                color: rgba(208, 2, 27, 1);
                line-height: 40px;
            }
        }
        .item_info {
            display: flex;
            margin-top: 30px;
            padding-bottom: 30px;
            border-bottom: solid 1px rgba(247, 247, 248, 1);
            img {
                width: 159px;
                height: 160px;
                border-radius: 10px;
            }
            .box {
                margin-left: 30px;
                position: relative;
                flex: 1;
                .name {
                    font-size: 28px;
                    font-weight: 400;
                    color: rgba(51, 51, 51, 1);
                    max-height: 80px;
                    /*! autoprefixer: off */
                    -webkit-box-orient: vertical;
                    /*! autoprefixer: on */
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    white-space: normal;
                }
                .pirce {
                    width: 100%;
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    display: flex;
                    justify-content: space-between;
                    .title {
                        span {
                            width: 15px;
                            height: 33px;
                            font-size: 24px;
                            font-weight: 500;
                            color: rgba(208, 2, 27, 1);
                            line-height: 33px;
                        }
                        height: 50px;
                        font-size: 36px;
                        font-weight: 500;
                        color: rgba(208, 2, 27, 1);
                        line-height: 50px;
                    }
                    .btn {
                        width: 146px;
                        height: 52px;
                        line-height: 52px;
                        background: rgba(253, 241, 242, 1);
                        border-radius: 8px;
                        text-align: center;
                        font-size: 26px;
                        color: rgba(208, 2, 27, 1);
                    }
                }
            }
        }
        .steps_box {
            margin-top: 58px;
            .line_box {
                display: flex;
                margin: 0 38px;
                .box {
                    height: 16px;
                    .item {
                        display: flex;
                        .img {
                            width: 16px;
                            height: 16px;
                            background: url("../../../static/img/spot.png") no-repeat
                                top;
                            background-size: 100%;
                        }
                        .line_box {
                            height: 19px;
                            display: flex;
                            align-items: center;
                            margin: 0 13px;
                            .line {
                                width: 140px;
                                height: 1px;
                                background: rgba(240, 240, 240, 1);
                            }
                        }
                    }
                }
                .active {
                    .item {
                        .img {
                            width: 16px;
                            height: 16px;
                            background: url("../../../static/img/spot_active.png")
                                no-repeat top;
                            background-size: 100%;
                        }
                    }
                }
                .active_line {
                    .item {
                        .line_box {
                            .line {
                                background: rgba(208, 2, 27, 1);
                            }
                        }
                    }
                }
            }
            .desc_box {
                display: flex;
                justify-content: space-between;
                margin: 17px auto 0 auto;
                .desc {
                    height: 30px;
                    font-size: 22px;
                    font-weight: 400;
                    color: rgba(202, 202, 202, 1);
                    line-height: 30px;
                    margin-top: 20px;
                }
                .active {
                    color: #666666;
                }
            }
            .box:last-child {
                .item .line_box {
                    display: none;
                }
            }
        }
        .text_tip {
            margin-top: 58px;
            display: flex;
            justify-content: flex-end;
            height: 40px;
            font-size: 28px;
            font-weight: 500;
            color: rgba(51, 51, 51, 1);
            line-height: 40px;
        }
    }
    .noGift {
        height: calc(100vh-364px);
        display: flex;
        justify-content: center;
        align-items: center;
        .tip {
            width: 100%;
            height: 42px;
            font-size: 30px;
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
            line-height: 42px;
            margin-top: 30px;
            text-align: center;
        }
        .box {
            img {
                display: block;
                width: 260px;
                height: 230px;
            }
        }
        .box2{
            img{
                width: 200px;
                height: 200px;
                display: block;
                margin: 0 auto;
            }
        }
    }
}