upkeep.less 6.0 KB
.container {
    width: 100%;
    padding: 32rpx;
    box-sizing: border-box;

    .upkeep_box {
        width: 100%;
        height: 242rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
        padding: 0 32rpx;
        box-sizing: border-box;
        border-radius: 24rpx;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.16);

        .upkeep_mileage {
            font-size: 28rpx;
            line-height: 36rpx;
            font-weight: 600;
        }

        .upkeep_time {
            font-size: 28rpx;
            line-height: 36rpx;
            font-weight: 600;
        }

        .upkeep_change {
            font-size: 22rpx;
            line-height: 32rpx;
            color: #8C9198;
        }

        .warning {
            position: absolute;
            top: 20rpx;
            right: 25rpx;
            display: flex;
            align-items: center;

            image {
                width: 26rpx;
                height: 26rpx;
            }

            text {
                margin-left: 5rpx;
                font-size: 24rpx;
                line-height: 34rpx;
            }
        }
    }

    //  推荐保养项目
    .upkeep_project {
        // padding: ;
        width: 100%;
        margin: 30rpx 0;

        .project_title {
            margin: 30rpx 0;
            font-size: 36rpx;
            font-weight: 600;
            line-height: 50rpx;
            color: rgba(6, 18, 30, 1);
            opacity: 1;
        }

        .project_list {
            width: 100%;

            .project_list_1 {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                border-bottom: 1rpx solid #EEEEEE;

                image {
                    margin-left: 30rpx;
                    width: 24rpx;
                    height: 24rpx;
                }

                .card {
                    margin-left: 30rpx;
                    width: 100%;
                    padding: 32rpx;
                    box-sizing: border-box;

                    .card_text {
                        width: 100%;
                        font-size: 32rpx;
                        line-height: 44rpx;
                        color: #06121F;
                        font-weight: 600;
                    }

                    .card_box {
                        margin-top: 30rpx;
                        width: 100%;
                        display: flex;
                        justify-content: start;


                        .del {
                            color: #06121E;
                            font-size: 28rpx;
                            line-height: 34rpx;
                            text-decoration: line-through;
                            margin-left: 50rpx;
                        }

                        .zan_price {
                            color: #FF444B;
                            font-size: 32rpx;
                            line-height: 34rpx;
                            font-weight: 600;
                        }
                    }
                }
            }



        }
    }

    // tab按钮
    .down_tab {
        padding: 0 32rpx;
        box-sizing: border-box;
        width: 100%;
        height: 120rpx;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        border-top: 1rpx solid #EEEEEE;
        position: fixed;
        left: 0;
        bottom: 20rpx;

        .left_change {
            display: flex;
            align-items: center;

            image {
                width: 20rpx;
                height: 20rpx;
            }

            text {
                font-size: 28rpx;
                margin-left: 20rpx;
            }
        }

        .total_price {
            display: flex;
            align-items: center;

            text {
                font-size: 28rpx;
                color: #000;
            }

            text:nth-child(2) {
                color: #E8370F
            }

        }

        .btn_sure {
            display: flex;
            margin: 20rpx 0;
            align-items: center;
            justify-content: center;
            width: 240rpx;
            height: 80rpx;
            border-radius: 12rpx;
            background-color: #E8370F;
            color: #fff;
            text-align: center;
        }
    }

    // 弹窗
    .register_box {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;

        .userwrap_box {
            position: relative;
            width: 500rpx;
            height: 400rpx;
            background: rgba(255, 255, 255, 1);
            border-radius: 10rpx;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            .quit_btn {
                width: 332rpx;
                height: 88rpx;
                border-radius: 12rpx;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 10rpx 0;

                image {
                    width: 28rpx;
                    height: 28rpx;
                }

                text {
                    margin-left: 10rpx;
                }
            }

            .colors {
                background-color: #FFB100;
            }

            .colors2 {
                background-color: #E8370F;
            }

            .del_btn {
                position: absolute;
                top: 10rpx;
                right: 10rpx;
                width: 40rpx;
                height: 40rpx;

                image {
                    width: 100%;
                }
            }

        }

    }
}