$newBlue: #638EE4;
.psychological-container{
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    .main {
        height: calc(100vh - 45px);
        overflow: scroll;
        .top {
            flex: 1;
            .tab-bar {
                padding: 0 13px 5px 13px;
                .date-tab-con {
                    padding: 5px 0;
                    height: 30px;
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    .date-tab-list {
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        flex: 1;
                        border-radius: 15px;
                        color: #fff;
                        .date-tab-item {
                            height: 30px;
                            width: 100%;
                            color: #6D6D6D;
                            font-size: 18px;
                            @include center();
                            border: 1px solid $newBlue;
                            &.active {
                                background-color: $newBlue;
                                color: #fff;
                            }
                            &.notClick {
                                background-color: $border_color;
                                color: #fff;
                                border: 1px solid #fff;
                            }
                        }
                        .date-tab-item:first-child {
                            border-top-left-radius: 15px;
                            border-bottom-left-radius: 15px;
                        }
                        .date-tab-item:last-child {
                            border-top-right-radius: 15px;
                            border-bottom-right-radius: 15px;
                        }
                    }
                }
            }
            .title {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0px 16px 10px 13px;
                font-size: 18px;
                .title-left {
                    font-weight: bold;
                    .van-icon {
                        margin-left: 5px;
                        font-size: 18px;
                    }
                }
            }
            .monitoring-count {
                text-align: left;
                padding: 3px 14px;
                line-height: 20px;
                p {
                    font-size: 12px;
                    color: #8B8B8B;
                }
            }
            .pie-chart-con {
                flex: 1;
                padding: 5px 0 10px 0;
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                .pie-chart-left {
                    position: relative;
                    height: 150px;
                    padding-left: 15px;
                    width: 35%;
                    @include center();
                    #pieChart {
                        height: 106px;
                        width: 106px;
                    }
                }
                .pie-chart-right {
                    height: 150px;
                    width: 65%;
                    padding-right: 20px;
                    @include center();
                    .list {
                        flex-direction: column;
                        .item {
                            width: 100%;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            font-size: 12px;
                            padding: 9px 0;
                            .item-left {
                                display: flex;
                                justify-content: flex-start;
                                align-items: center;
                                padding-right: 10px;
                                .circle {
                                    height: 12px;
                                    width: 12px;
                                    margin: 0 4px;
                                }
                                span {
                                    font-size: 12px;
                                }
                                .text {
                                    color: #000;
                                    font-size: 12px;
                                }
                            }
                            .item-right {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                            }
                        }
                    }
                }
            }
            .statistics {
                position: relative;
                padding: 0px 14px 5px 14px;
                .list {
                    flex: 1;
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    font-size: 16px;
                    .item {
                        @include center();
                        width: 58px;
                        /* height: px2rem(136); */
                        flex-direction: column;
                        .top {
                            font-size: 12px;
                        }
                        .middle {
                            font-size: 24px;
                            font-weight: bold;
                            padding: 5px;
                        }
                        .bottom {
                            font-size: 9px
                        }
                    }
                }
            }
        }
        .line {
            position: relative;
            height: 11px;
            background-color: $lineGray;
        }
        .bottom {
           flex: 1;
            .echart-container {
                height: 250px;
                background-color:#fff;
                padding: 0 5px;
                .echart {
                    height: 250px;
                    padding: 0 5px;
                }
            }
            .line-gray {
                height: 11px;
                width: 100%;
                background-color: $lineGray;
                margin-top: 10px;
            }
            .result {
                .result-con {
                    height: 100%;
                    background-color: #fff;
                    border-radius: 10px;
                    &.reminder {
                        padding: 0 16px 20px 16px;
                    }
                    .title {
                        display: flex;
                        justify-content: flex-start;
                        align-items: flex-start;
                        flex-direction: column;
                        margin-bottom: 10px;
                        span {
                            font-size: 18px;
                            font-weight: bold;
                        }
                        .font-28 {
                            font-weight: 400;
                            font-size: 13px;
                            color: #8B8B8B;
                            text-align: left;
                        }
                        .title-no-data {
                            padding: 34px 0 13px 15px;
                        }
                        p {
                            font-size: 12px;
                            color: $newBlue;
                        }
                        .title-emo {
                            font-size: 24px;
                            padding: 14px 0 21px 0;
                            text-align: left;
                        }
                        .no-data {
                            height: 250px;
                            width: 100%;
                            @include center();
                            flex-direction: column;
                            img {
                                height: 110px;
                                width: 175px;
                            }
                            p {
                                color: #999;
                                font-size: 12px;
                                padding: 20px 0 65px 0;
                            }
                        }
                    }
                    .title-text {
                        padding: 34px 0 13px 15px;
                    }
                    .title-reminder {
                        padding: 34px 0 0 0;
                    }
                    .friendly-reminder, .warm-reminder {
                        display: flex;
                        justify-content: flex-start;
                        align-items: flex-start;
                        flex-direction: column;
                        margin-bottom: 10px;
                        background-color: #F2F2F2;
                        padding: 20px 19px 19px 14px;
                        p {
                            font-weight: bold;
                            text-align: left;
                            padding-bottom: 11px;
                            font-size: 15px;
                        }
                        span {
                            text-align: left;
                            font-size: 12px;
                        }
                    }
                    .mood-list {
                        display: grid;
                        grid-template-columns: repeat(2, 1fr); //定义了一个 2x2 的网格布
                        grid-template-rows: repeat(2, 1fr);
                        gap: 21px;
                        //width: 100%;
                        padding: 0 44px 20px 37px;
                        .item {
                            width: 137px;
                            height: 94px;
                            /* padding: px2rem(47) px2rem(57) px2rem(49) px2rem(57); */
                            background-color: #F2F6FF;
                            @include center();
                            flex-direction: column;
                            p {
                                font-size: 14px;
                                padding: 0;
                                color: #666666;
                                .day {
                                    padding: 5px;
                                    font-size: 28px;
                                }
                                .day-text {
                                    font-size: 12px
                                }
                            }
                        }
                    }
                    .mood-list-no-data {
                        height: 250px;
                        width: 100%;
                        .no-data {
                            @include center();
                            flex-direction: column;
                            img {
                                height: 110px;
                                width: 175px;
                            }
                            p {
                                color: #999;
                                font-size: 12px;
                                padding: 20px 0 65px 0;
                            }
                        }
                    }
                }
            }
        }
    }
    .title {
        font-size: 16px;
    }
    .van-popup {
        flex: 1;
        max-height: 600px;
        width: 100%;
        background-color: $background;
    }
    .popup {
       /*  height: 100%;
        width: 100%; */
        background-color: $background;
        padding: 20px;
        .item {
            flex: 1;
            padding: 10px;
            margin: 15px 0;
            text-align: left;
            font-size: 14px;
            background-color: #fff;
            border-radius: 10px;
            p {
                margin: 5px 0;
            }
            h5 {
               margin: 5px 0;
               font-size: 16px;
            }
            &.first {
                padding-top: 0;
            }
            &.science-tips {
                .tips {
                    width: 60px;
                    height: 20px;
                    color: #fff;
                    @include center();
                    background-color: red;
                    border-top-left-radius: 20px;
                    border-top-right-radius: 15px;
                    border-bottom-right-radius: 15px;
                }
            }
        }
        .van-button {
            height: 40px;
            background-color: $newBlue;
            color: #fff;
            border-radius: 20px;
        }
    }
}