giftGivingItem.less 4.07 KB
.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;
        justify-content: space-between;
        position: relative;
        padding-bottom: 22px;
        border-bottom: solid 1px rgba(247, 247, 248, 1);
        .name {
            height: 50px;
            font-size: 28px;
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
            line-height: 50px;
            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 {
                    height: 40px;
                    font-size: 28px;
                    font-weight: 400;
                    color: rgba(180, 180, 180, 1);
                    line-height: 40px;
                }
            }
        }
    }
    .text_tip {
        height: 40px;
        font-size: 28px;
        font-weight: 400;
        color: rgba(180, 180, 180, 1);
        line-height: 40px;
        margin-top: 30px;
        num {
            color: #666666;
        }
    }
    .btn_list {
        padding-top: 30px;
        border-top: solid 1px #f7f7f8;
        margin-top: 30px;
        display: flex;
        justify-content: flex-end;
        .box {
            width: 312px;
            display: flex;
            justify-content: space-between;
            div {
                width: 146px;
                height: 52px;
                line-height: 52px;
                border-radius: 8px;
                text-align: center;
                font-size: 26px;
            }
            .btn {
                background: rgba(249, 249, 249, 1);
                color: #999999;
            }
            .active {
                background: rgba(253, 241, 242, 1);
                color: #d0021b;
            }
        }
    }
}