action.scss 2.12 KB
@import '/style/common.wxss';
.buy_car_wrapper {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    height: 96rpx;
    z-index: 10;

    // .desc {
    //     height: 48rpx;
    //     background: #FFEBE6;
    //     display: flex;
    //     align-items: center;
    //     box-sizing: border-box;
    //     padding-left: 12rpx;
    //     font-weight: 400;
    //     font-size: 24rpx;
    //     color: #FF6038;
    // }

    .buy_action {
        display: flex;
        align-items: center;
        margin-top: 8rpx;
        position: relative;

        .buy_bag {
            position: relative;
            margin-right: 20rpx;

            .icon {
                width: 120rpx;
                height: 80rpx;
            }

            .count {
                position: absolute;
                right: -4rpx;
                top: 1rpx;
                width: 28rpx;
                height: 28rpx;
                background: #F25544;
                border-radius: 50%;
                font-size: 20rpx;
                color: #FFFFFF;
                text-align: center;
            }

        }



        .buy_btn {
            width: 208rpx;
            height: 72rpx;
            background: #FF6038;
            border-radius: 40rpx;
            font-weight: 500;
            font-size: 30rpx;
            color: #FFFFFF;
            position: absolute;
            right: 24rpx;
            top: 50%;
            transform: translateY(-50%);
        }
    }
}


.red_price {
    display: table-cell;
    vertical-align: bottom;
    font-size: 38rpx;
    color: #FC5B32;
    font-weight: 500;


    .unit {
        font-size: 22rpx;
    }
}

.grey_price {
    display: table-cell;
    vertical-align: bottom;
    color: #858a94;
    font-size: 24rpx;
    font-weight: 400;
    text-decoration: line-through;
    line-height: 38rpx;
}

.btnText {
    font-weight: 400;
    font-size: 20rpx;
    color: #FC5B32;
    margin-left: 12rpx;
    padding-top: 8rpx;

    .up-icon {
        width: 28rpx;
        height: 28rpx;
    }
}

.flex_cc {
    display: flex;
    align-items: center;
    justify-content: center;
}