.report { height: 100vh; width: 100%; overflow: hidden; background-color: #F5F5F5; font-family: Source Han Sans CN; .main { height: calc(100vh - 45px); overflow: scroll; background-color: #fff; .line { height: 11px; background-color: $lineGray; } .overall-rating { padding: 23px 15px; margin-bottom: 9px; .con { padding: 17px 18px; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; font-size: 14px; background: #FFFFFF; border: 1px solid #535353; box-shadow: 4px 5px 0px 0px #638EE4; border-radius: 5px; p { font-size: 18px; font-family: Source Han Sans CN; color: #666666; .bold { color: #282828; font-weight: bold; } } .space-between { width: 100%; display: flex; justify-content: space-between; align-items: center; .time { font-size: 12px; } } .normal { font-size: 13px; line-height: 21px; text-align: left; color: #666666; } .bold-pro { color: #282828; font-size: 24px; font-weight: bold; padding: 12px 0; } } } .pie-chart-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 23px 15px 16px 15px; p { font-size: 12px; font-family: Source Han Sans CN; line-height: 21px; } .bold { font-size: 18px; font-weight: bold; color: #282828; line-height: 18px; } } .count { padding: 0 15px 5px 15px; text-align: left; p { font-size: 12px; font-family: Source Han Sans CN; font-weight: 400; color: #8B8B8B; line-height: 18px; } } .pie-chart-con { flex: 1; padding: 5px 0 10px 0; display: flex; justify-content: space-between; align-items: flex-start; background-color: #fff; .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 } } } } .bar-chart { height: 350px; background-color: #fff; padding: 0 5px; .echart { height: 350px; padding: 0 5px; } } .advice { padding: 26px 15px 30px 15px; .content { background: #F2F6FF; border-radius: 10px; padding: 20px 15px; text-align: left; p { font-size: 15px; font-weight: 400; color: #707070; line-height: 23px; } .title { font-size: 18px; font-weight: bold; color: #638EE4; line-height: 18px; padding-bottom: 13px; } } } .overview { padding: 0 15px 16px 15px; .content { .title { text-align: left; .title-text { font-size: 18px; font-weight: bold; color: #282828; line-height: 18px; } .mood-list { display: grid; grid-template-columns: repeat(2, 1fr); //定义了一个 2x2 的网格布 grid-template-rows: repeat(2, 1fr); gap: 21px; padding: 21px 21px 22px 20px; .item { width: 107px; height: 94px; background-color: #F2F6FF; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; padding-left: 30px; p { font-size: 14px; padding: 0; color: #666666; .day { /* padding: 5px; */ font-size: 28px; } .day-text { font-size: 12px } } } } } } } &.no-data { @include center(); flex-direction: column; p { font-size: 16px; } } } }