.today {
    /*  z-index: 15; */
    position: relative;
    overflow: hidden;

    .devicesSwitch {
        position: absolute;
        top: 0;
        left: 0;
        height: 120px;
        width: 100%;
        z-index: 20;

        .imgArea {
            position: absolute;
            top: 20px;
            left: 20px;
            padding: 8px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            background: #fff;
            border-radius: 50px;
            border: 4px solid $border_color;
            z-index: 18;

            &.cut {
                border: 2px solid $com_light_green;
            }

            img {
                width: 60px !important;
                height: 60px !important;
                border-radius: 50%;
                object-fit: cover;
            }

            span {
                padding: 0 12px;
                @include colorAndFont(#333, 28);
            }
        }

        .conArea {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            padding: 12px 0 12px 20px;
            background: #fff;
            box-sizing: border-box;
            display: flex;
            transform: translateX(-100%);
            transition: left .4s ease-in-out;
            z-index: 667;
            overflow: scroll;
            border: 1px solid $com_light_green;

            &.active {
                transform: translateX(0);
            }

            .list {
                @include center();
                flex-direction: column;
                @include colorAndFont(#333, 24);
                margin-right: 20px;

                .Myname {
                    @include center();
                    width: 120%;

                    &.active {
                        text-decoration: underline;
                        font-weight: bold;
                    }
                }

                .imgA {
                    width: 100px;
                    height: 100px;
                    background: #c5c5c5;
                    border-radius: 50%;
                    position: relative;
                    @include center();
                    margin-bottom: 12px;
                    border: 1px solid;


                    &>img {
                        width: 88px;
                        height: 88px;
                        border-radius: 50%;
                        object-fit: cover;
                    }

                    &.active {
                        width: 105px;
                        height: 105px;
                        position: relative;
                        background: #c5c5c5;
                        box-shadow: 0 0 10px 4px rgba(185, 185, 185, 0.8);

                        &:after {
                            content: '';
                            position: absolute;
                            bottom: -15px;
                            width: 0;
                            height: 0;
                            border-top: 16px solid #c5c5c5;
                            border-left: 8px solid transparent;
                            border-right: 8px solid transparent;
                        }
                    }

                    &.online {
                        background: #fff;

                        &.active {
                            position: relative;
                            background: #fff;
                            box-shadow: 0 0 10px 4px rgba(95, 204, 14, 0.8);

                            &:after {
                                content: '';
                                position: absolute;
                                bottom: -15px;
                                width: 0;
                                height: 0;
                                border-top: 16px solid #5fcc0e;
                                border-left: 8px solid transparent;
                                border-right: 8px solid transparent;
                            }
                        }
                    }
                }

            }
        }
    }

    .today-con,
    .no-data {
        position: relative;
        height: calc(100vh - 150px);
        overflow: scroll;

        .calendar {
            height: 800px;

            .van-calendar {
                height: 400px;
                overflow: scroll;

                .van-calendar__header {
                    display: 'inline-block';
                }

                .van-calendar__days .van-calendar__day {
                    width: 27px;
                    height: 27px;
                    margin: 10px 5px;
                    font-size: 24px;

                    &.custom-calendar {
                        width: 27px;
                        height: 27px;
                    }

                    &.highlight-border {
                        border: 1px solid #62bd48;
                        width: 27px;
                        height: 27px;
                        border-radius: 50%;

                        &.none {
                            border: 1px solid #62bd48;
                        }

                        &.mild {
                            border: 1px solid #8dc21f;
                        }

                        &.moderate {
                            border: 1px solid #2ea7e0;
                        }

                        &.severe {
                            border: 1px solid #ff5f8b;
                        }
                    }
                }

                .van-calendar__selected-day {
                    width: 27px;
                    height: 27px;
                    border-radius: 50%;
                    font-size: 12px;
                }
            }
        }

        .today-status {
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            position: relative;
            padding: 0 40px;

            .img {
                width: 100%;
                height: 350px;
                object-fit: contain;
                padding-top: 140px;
            }

            .icon {
                width: 70px;
                height: 70px;
                object-fit: contain;
                position: absolute;
                top: 140px;
                right: 40px;
                z-index: 999;
            }

            .status {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                align-content: space-between;
                justify-content: space-between;
                width: 100%;
                margin: 40px 0;

                p {
                    font-size: 30px;
                    color: #434144;
                    font-weight: bold;
                }

                ul {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;

                    li {
                        width: 40px;
                        height: 20px;
                        border-radius: 60px;
                        position: relative;

                        &+li {
                            margin-left: 10px;
                        }

                        &.toobad {
                            background-color: #ff5f8b;

                            &:after {
                                background-color: #ff5f8b;
                            }
                        }

                        &.ordinary {
                            background-color: #2ea7e0;

                            &:after {
                                background-color: #2ea7e0;
                            }
                        }

                        &.sameas {
                            background-color: #8dc21f;

                            &:after {
                                background-color: #8dc21f;
                            }
                        }

                        &.excellent {
                            background-color: #179b3b;

                            &:after {
                                background-color: #179b3b;
                            }
                        }

                        &.active {
                            width: 120px;

                            &:after {
                                opacity: 1;
                            }

                            &:before {
                                opacity: 1;
                            }
                        }

                        &:after {
                            content: '';
                            display: block;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translateX(-50%) translateY(-50%);
                            width: 40px;
                            height: 40px;
                            opacity: 0;
                            border-radius: 50%;
                        }

                        &:before {
                            content: '';
                            display: block;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translateX(-50%) translateY(-50%);
                            width: 25px;
                            height: 25px;
                            opacity: 0;
                            border-radius: 50%;
                            background-color: #fff;
                            z-index: 2;
                        }
                    }
                }
            }

            .interpret {
                padding: 50px 20px;
                border-radius: 40px;
                border: 1px solid $com_light_green;
                width: calc(100% - 40px);

                .no-text {
                    position: relative;
                    width: 100%;
                    @include center();
                    flex-direction: column;

                    img {
                        height: 220px;
                        width: 350px;
                    }

                    p {
                        @include colorAndFont(#999, 28);
                    }
                }

                p {
                    font-size: 28px;
                    color: #434144;
                    white-space: pre-line;
                    padding: 10px 0;
                }

                .bottom {
                    width: 100%;
                    position: relative;

                    p {
                        text-align: center;
                        color: $com_light_green;
                    }

                    div {
                        position: absolute;
                        top: 50%;
                        right: 0;
                        transform: translatey(-50%);
                        display: flex;
                        flex-wrap: wrap;
                        align-items: center;
                        justify-content: flex-start;

                        span {
                            color: $com_light_green;
                            font-size: 24px;
                        }

                        img {
                            width: 40px;
                            height: 40px;
                            object-fit: contain;
                            margin-left: 10px;
                        }
                    }
                }
            }
        }

        .title {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            align-content: space-between;
            justify-content: space-between;

            p {
                font-size: 30px;
                color: #434144;
                font-weight: bold;
            }

            >div {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: flex-start;

                p {
                    margin-right: 10px;
                }

                >div {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;

                    p {
                        font-size: 26px;
                        color: #fff;
                        background-color: #179b3b;
                        border-radius: 20px;
                        padding: 8px 20px;
                        margin-right: 10px;
                        font-weight: normal;
                    }
                }
            }
        }

        .emotion {
            padding: 0 40px;
            margin-top: 60px;
            margin-bottom: 40px;

            ul {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                align-content: space-between;
                justify-content: space-between;
                margin-top: 30px;

                li {
                    width: 25%;
                    border-radius: 40px;
                    padding: 20px;

                    &:nth-of-type(1) {
                        background-color: #179b3b;
                    }

                    &:nth-of-type(2) {
                        background-color: #ff5f8b;
                    }

                    &:nth-of-type(3) {
                        background-color: #8dc21f;
                    }

                    h4 {
                        color: #fff;
                        font-size: 50px;
                        font-weight: normal;
                    }

                    p {
                        color: #fff;
                        font-size: 32px;
                        margin-top: 0px;
                    }

                    span {
                        color: #fff;
                        font-size: 24px;
                        border-top: 1px solid #fff;
                        padding-top: 12px;
                    }

                    time {
                        color: #fff;
                        font-size: 24px;
                        display: block;
                    }
                }
            }
        }

        .perception {
            padding: 0 40px;
            margin-top: 60px;

            ul {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                align-content: space-between;
                justify-content: space-between;
                margin-top: 30px;

                li {
                    width: 25%;
                    border-radius: 40px;
                    padding: 50px 20px;
                    /*  padding-bottom: px2rem(80); */
                    display: flex;
                    align-items: flex-start;
                    justify-content: center;
                    flex-direction: column;

                    &:nth-of-type(1) {
                        background-color: #179b3b;
                    }

                    &:nth-of-type(2) {
                        background-color: #ff5f8b;
                    }

                    &:nth-of-type(3) {
                        background-color: #8dc21f;
                    }

                    h4 {
                        color: #fff;
                        font-size: 46px;
                        font-weight: normal;
                    }

                    p {
                        color: #fff;
                        font-size: 30px;
                        margin-top: 0px;
                    }

                    time {
                        color: #fff;
                        font-size: 24px;
                        display: block;
                    }
                }
            }

            .tip {
                margin-top: 30px;
                display: flex;
                justify-content: flex-start;
                border-bottom: 1px solid #dfdfdf;
                padding-bottom: 40px;

                img {
                    width: 29px;
                    height: 47px;
                    object-fit: contain;
                    margin-right: 30px;
                }

                p {
                    font-size: 28px;
                    color: #434144;
                    line-height: 1.5em;

                    span {
                        color: #edb21d;
                    }
                }
            }
        }

        .step {
            padding: 0 40px;
            margin-top: 50px;

            .main {
                border-radius: 30px;
                border: 1px solid #179b3b;
                padding: 40px 30px;
                display: flex;
                align-items: center;
                align-content: space-between;
                justify-content: space-between;

                ul {
                    li {
                        .specific {
                            font-size: 40px;
                            color: #434144;

                            span {
                                font-weight: bold;
                            }
                        }

                        .category {
                            font-size: 28px;
                            color: #434144;
                            font-weight: bold;
                            margin-top: 6px;

                            span {
                                font-weight: normal;
                                padding: 5px 15px;
                                background-color: #434144;
                                color: #fff;
                                font-size: 24px;
                                border-radius: 20px;
                                margin-left: 10px;
                            }
                        }

                        &+li {
                            margin-top: 40px;
                        }
                    }
                }

                .annular {
                    width: 50%;
                    position: relative;
                    transform: rotate(180deg);

                    .van-circle {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translateX(-50%) translateY(-50%);
                    }

                    p {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translateX(-50%) translateY(-50%) rotate(180deg);
                        font-size: 28px;
                        color: #434144;
                        font-weight: bold;
                    }
                }
            }
        }

        .diary {
            padding: 0 40px;
            margin: 50px 0;

            .main {
                width: 100%;

                .van-radio-group {
                    width: 100%;
                    margin-top: 50px;
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    /* 或者固定宽度，例如：repeat(4, 1fr) */
                    gap: 10px;


                }

                .van-radio {
                    width: 100%;

                    &:nth-of-type(n+4) {
                        margin-top: 40px;
                    }



                    .checkbox-label {
                        width: 100%;
                        display: flex !important;
                        justify-content: flex-start !important;
                        align-items: center !important;

                        img {
                            width: 25px;
                            height: 25px;
                            object-fit: contain;
                        }

                        .text {
                            position: relative;
                            height: 27px;
                            padding: 0 10px;
                            background-image: url('@/assets/today/images/text.png');
                            background-repeat: no-repeat;
                            /* 防止背景图片重复 */
                            background-size: 50px 27px;
                            background-position: center;
                            /* 水平和垂直居中 */
                            @include center();
                            color: #333;
                            font-size: 14px;

                        }
                    }



                    .van-checkbox__label img {
                        width: 30px;
                    }
                }

                .textarea {
                    border-radius: 40px;
                    border: 1px solid #179b3b;
                    margin-top: 30px;
                    overflow: hidden;

                    textarea {
                        width: 100%;
                        padding: 30px;
                        font-size: 28px;
                    }
                }


            }
        }

        .knowledge {
            padding: 0 0 40px 40px;

            .main {
                width: 100%;
                overflow-x: scroll;

                ul {
                    width: max-content;
                    margin-top: 30px;
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;

                    li {
                        width: 480px;
                        background-color: #179b3b;
                        padding: 40px;
                        border-radius: 50px;
                        display: flex;
                        align-items: center;
                        align-content: space-between;
                        justify-content: space-between;

                        &+li {
                            margin-left: 30px;
                        }

                        p {
                            width: 55%;
                            font-size: 28px;
                            color: #fff;
                            white-space: pre-line;
                        }

                        img {
                            height: 40px;
                            object-fit: contain;
                        }
                    }
                }
            }
        }
    }

    .bind-tips {
        position: fixed;
        bottom: 100px;
        left: 0;
        width: 100%;
        overflow: hidden;

        .con {
            width: 100%;
            padding: 15px 0;
            @include center();
            background-color: $next;
        }

        p {
            font-size: 32px;
            color: #fff;
        }
    }

    .no-data {
        @include center();
        flex-direction: column;

        img {
            height: 220px;
            width: 350px;
        }

        p {
            @include colorAndFont(#999, 28);
        }
    }



}