.psychological-container {
  min-height: 100vh;
  overflow: hidden;
  background-color: #fff;
  .tab-bar {
    padding: 20px;
    position: relative;
    .date-tab-con {
      height: 50px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      background: #eeeeee;
      border-top-left-radius: 40px;
      border-top-right-radius: 40px;
      border-bottom-left-radius: 40px;
      border-bottom-right-radius: 40px;
      .date-tab-list {
        display: flex;
        justify-content: space-around;
        align-items: center;
        color: #fff;
        flex: 1;
        height: 50px;
        .date-tab-item {
          position: relative;
          padding: 0 20px;
          height: 100%;
          width: 100%;
          border-radius: 40px;
          color: #6d6d6d;
          font-size: 28px;
          font-weight: bold;
          @include center();

          img {
            height: 50px;
            width: 50px;
            padding: 0 16px;
          }
          .more {
            width: 20px;
            height: 12px;
          }
          &.active {
            color: #fff;
            background-color: $green;
          }
          &.notClick {
            background-color: $border_color;
            color: #fff;
            border: 1px solid #fff;
          }
        }
        .date-tab-item:nth-child(3) {
          border-right: 1px solid #e0e0e0;
        }
      }
    }
  }
  .psy-tab-bar {
    height: 50px;
    position: relative;
    margin: 20px 0 0 0;
    padding: 0 20px;
    .psy-tab-con {
      background-color: #eeeeee;
      border-top-left-radius: 40px;
      border-top-right-radius: 40px;
      border-bottom-left-radius: 40px;
      border-bottom-right-radius: 40px;
      .psy-tab-list {
        display: flex;
        justify-content: space-around;
        align-items: center;
        color: #fff;
        height: 50px;
        width: 100%;
        /* background-color: red; */
        .psy-tab-item {
          position: relative;
          padding: 0 20px;
          color: #6d6d6d;
          height: 100%;
          width: 100%;
          font-size: 28px;
          border-radius: 40px;
          font-weight: bold;
          @include center();
          &.active {
            color: #fff;
            background-color: $green;
          }
        }
      }
    }
  }
  .main {
    position: relative;
    height: calc(100vh - 100px);
    overflow: scroll;
    .top {
      flex: 1;
      .title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 32px 20px 26px;
        font-size: 36px;
        .title-left {
          font-weight: bold;
          .van-icon {
            margin-left: 5px;
            font-size: 18px;
          }
        }
      }
      .monitoring-count {
        text-align: left;
        padding: 6px 28px;
        line-height: 40px;
        p {
          font-size: 24px;
          color: #8b8b8b;
        }
      }
      .pie-chart-con {
        flex: 1;
        padding: 10px 0 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        .pie-chart-left {
          position: relative;
          height: 300px;
          padding-left: 30px;
          width: 35%;
          @include center();
          #pieChart {
            height: 212px;
            width: 212px;
          }
        }
        .pie-chart-right {
          height: 300px;
          width: 65%;
          padding-right: 40px;
          @include center();
          .list {
            flex-direction: column;
            .item {
              width: 100%;
              display: flex;
              justify-content: space-between;
              align-items: center;
              font-size: 24px;
              padding: 18px 0;
              .item-left {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                padding-right: 20px;
                .circle {
                  height: 24px;
                  width: 24px;
                  margin: 0 8px;
                }
                span {
                  font-size: 24px;
                }
                .text {
                  color: #000;
                  font-size: 24px;
                }
              }
              .item-right {
                display: flex;
                justify-content: center;
                align-items: center;
              }
            }
          }
        }
      }
      .statistics {
        height: 100%;
        padding: 10px 40px;
        .list {
          display: grid;
          grid-template-columns: repeat(3, 1fr); //定义了一个 3x3 的网格布
          /* grid-template-rows: repeat(3, 1fr); */
          gap: 40px;
          font-size: 32px;
          .item {
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 30px;
            /* height: px2rem(136); */
            flex-direction: column;
            border: 1px solid $border_color;
            border-radius: 40px;
            color: #fff;
            .top {
              font-size: 24px;
            }

            .middle {
              font-size: 48px;
            }

            .bottom {
              font-size: 18px;
            }
          }
        }
      }
    }
    .line {
      position: relative;
      height: 22px;
      background-color: $lineGray;
    }
    .bottom {
      flex: 1;
      overflow: scroll;
      .echart-container {
        position: relative;
        min-height: 600px;
        background-color: #fff;
        padding: 0 10px;
        .echart {
          height: 200px;
          padding: 0 10px;
        }
      }
      .line-gray {
        height: 22px;
        width: 100%;
        background-color: $lineGray;
        margin-top: 20px;
      }
      .result {
        .result-con {
          height: 100%;
          background-color: #fff;
          border-radius: 40px;
          overflow: hidden;
          &.reminder {
            padding: 0 32px 40px 32px;
          }
          .title {
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            flex-direction: column;
            margin-bottom: 20px;
            span {
              font-size: 36px;
              font-weight: bold;
            }
            .font-28 {
              font-weight: 400;
              font-size: 26px;
              color: #8b8b8b;
              text-align: left;
            }
            .title-no-data {
              padding: 68px 0 26px 30px;
            }
            p {
              font-size: 24px;
              color: $green;
            }
            .title-emo {
              font-size: 48px;
              padding: 28px 0 42px 0;
              text-align: left;
            }
            .no-data {
              height: 500px;
              width: 100%;
              @include center();
              flex-direction: column;
              img {
                height: 220px;
                width: 350px;
              }
              p {
                color: #999;
                font-size: 24px;
                padding: 40px 0 130px 0;
              }
            }
          }
          .title-text {
            padding: 68px 0 26px 30px;
          }
          .title-reminder {
            padding: 68px 0 0 0;
          }
          .friendly-reminder,
          .warm-reminder {
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            flex-direction: column;
            margin-bottom: 20px;
            background-color: #f2f2f2;
            padding: 40px 38px 38px 28px;
            p {
              font-weight: bold;
              text-align: left;
              padding-bottom: 22px;
              font-size: 30px;
            }
            span {
              text-align: left;
              font-size: 24px;
            }
          }
          .mood-list {
            display: grid;
            grid-template-columns: repeat(2, auto); //定义了一个 2x2 的网格布
            grid-template-rows: repeat(2, 1fr);
            gap: 42px;
            padding: 0 88px 40px 74px;
            .item {
              width: 274px;
              height: 220px;
              @include center();
              flex-direction: column;
              border-radius: 40px;
              p {
                font-size: 24px;
                padding: 0;
                color: #fff;
                .day {
                  padding: 10px;
                  font-size: 56px;
                }
                .day-text {
                  font-size: 24px;
                }
              }
            }
          }
          .mood-list-no-data {
            height: 500px;
            width: 100%;
            .no-data {
              @include center();
              flex-direction: column;
              img {
                height: 220px;
                width: 350px;
              }
              p {
                color: #999;
                font-size: 24px;
                padding: 40px 0 130px 0;
              }
            }
          }
        }
      }
    }
    &.report {
      position: relative;
      height: calc(100vh - 300px);
      overflow: scroll;
      background-color: #f5f5f5;
      .content {
        position: relative;
        .list {
          position: relative;

          .item {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            padding: 68px 30px;
            background-color: #fff;
            margin-bottom: 22px;
            .left {
              display: flex;
              justify-content: flex-start;
              align-items: flex-start;
              img {
                height: 50px;
                width: 50px;
              }
              .middle {
                .title,
                .overall,
                .trend {
                  display: flex;
                  justify-content: flex-start;
                  align-items: center;
                  /* padding-left: 26px; */
                  span,
                  p {
                    font-size: 36px;
                    font-family: Source Han Sans CN;
                    font-weight: 400;
                    color: #8d8d8d;
                    line-height: 60px;
                  }
                }
                .title {
                  span {
                    padding-right: 40px;
                  }
                  p {
                    color: #282828;
                  }
                }
                .overall {
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                  .left {
                    p {
                      padding-left: 40px;
                      font-weight: bold;
                    }
                  }
                  .right {
                    img {
                      height: 30px;
                      width: 18px;
                    }
                  }
                }
                .trend {
                  align-items: flex-start;
                  text-align: left;
                }
              }
            }
            .right {
              img {
                width: 18px;
                height: 30px;
              }
            }
          }
          &.no-data {
            height: calc(100vh - 200px);
            width: 100%;
            @include center();
            flex-direction: column;
            img {
              height: 220px;
              width: 350px;
            }
            p {
              color: #999;
              font-size: 32px;
              padding: 40px 0 130px 0;
            }
          }
        }
      }
    }
  }

  .title {
    font-size: 32px;
  }
  .van-popup {
    flex: 1;
    max-height: 600px;
    width: 100%;
    background-color: $background;
  }
  .popup {
    /*  height: 100%;
        width: 100%; */
    background-color: $background;
    padding: 40px;
    .item {
      flex: 1;
      padding: 20px;
      margin: 30px 0;
      text-align: left;
      font-size: 28px;
      background-color: #fff;
      border-radius: 20px;
      p {
        margin: 10px 0;
      }
      h5 {
        margin: 10px 0;
        font-size: 32px;
      }
      &.first {
        padding-top: 0;
      }
      &.science-tips {
        .tips {
          width: 120px;
          height: 40px;
          color: #fff;
          @include center();
          background-color: red;
          border-top-left-radius: 40px;
          border-top-right-radius: 30px;
          border-bottom-right-radius: 30px;
        }
      }
    }
    .van-button {
      height: 40px;
      background-color: $green;
      color: #fff;
      border-radius: 20px;
    }
  }
}
