|
- .report {
- height: 100vh;
- width: 100%;
- overflow: hidden;
- background-color: #F5F5F5;
- font-family: Source Han Sans CN;
-
- .main {
- height: calc(100vh - 90px);
- overflow: scroll;
- background-color: #fff;
-
- .line {
- height: 22px;
- background-color: $lineGray;
- }
-
- .overall-rating {
- padding: 46px 30px;
- margin-bottom: 18px;
-
- .con {
- padding: 34px 36px;
- display: flex;
- justify-content: flex-start;
- align-items: flex-start;
- flex-direction: column;
- font-size: 28px;
- background: #FFFFFF;
- border: 1px solid #535353;
- box-shadow: 2px 10px 0px 0px $green;
- border-radius: 10px;
-
- p {
- font-size: 36px;
- 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: 24px;
- }
- }
-
- .normal {
- font-size: 26px;
- line-height: 42px;
- text-align: left;
- color: #666666;
- }
-
- .bold-pro {
- color: #282828;
- font-size: 48px;
- font-weight: bold;
- padding: 24px 0;
- }
- }
- }
-
- .pie-chart-top {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- padding: 46px 30px 32px 30px;
-
- p {
- font-size: 24px;
- font-family: Source Han Sans CN;
- line-height: 42px;
- }
-
- .bold {
- font-size: 36px;
- font-weight: bold;
- color: #282828;
- line-height: 36px;
- }
- }
-
- .count {
- padding: 0 30px 10px 30px;
- text-align: left;
-
- p {
- font-size: 24px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #8B8B8B;
- line-height: 36px;
- }
- }
-
- .pie-chart-con {
- flex: 1;
- padding: 10px 0 20px 0;
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- background-color: #fff;
-
- .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%;
- @include center();
-
- .list {
- display: flex;
- justify-content: center;
- 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 {
- @include center();
- span {
- font-size: 24px;
- }
- }
- .status {
- padding: 0 10px;
- @include center();
- img {
- height: 30px;
- width: 18px;
- padding: 0 6px ;
- }
- }
- }
- }
- }
- }
-
- .statistics {
- position: relative;
- padding: 10px 28px 10px 28px;
- .list {
- flex: 1;
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 32px;
-
- .item {
- @include center();
- width: 136px;
- padding: 10px;
- /* height: px2rem(136); */
- flex-direction: column;
- border: 1px solid $border_color;
- border-radius: 30px;
- .top {
- font-size: 24px;
- }
-
- .middle {
- font-size: 48px;
- font-weight: bold;
- padding: 10px;
- }
-
- .bottom {
- font-size: 18px
- }
- }
- }
- }
-
- .bar-chart {
- height: 700px;
- background-color: #fff;
- padding: 0 10px;
-
- .echart {
- height: 700px;
- padding: 0 10px;
- }
- }
-
- .advice {
- padding: 52px 30px 60px 30px;
-
- .content {
- background: #F2F6FF;
- border-radius: 20px;
- padding: 40px 30px;
- text-align: left;
-
- p {
- font-size: 30px;
- font-weight: 400;
- color: #707070;
- line-height: 46px;
- }
-
- .title {
- font-size: 36px;
- font-weight: bold;
- color: $green;
- line-height: 36px;
- padding-bottom: 26px;
- }
- }
- }
-
- .overview {
- padding: 0 30px 32px 30px;
-
- .content {
- .title {
- text-align: left;
-
- .title-text {
- font-size: 36px;
- font-weight: bold;
- color: #282828;
- line-height: 36px;
- }
-
- .mood-list {
- display: grid;
- grid-template-columns: repeat(2, 1fr); //定义了一个 2x2 的网格布
- grid-template-rows: repeat(2, 1fr);
- gap: 42px;
- padding: 42px 42px 44px 40px;
-
- .item {
- width: 214px;
- height: 198px;
- background-color: #F2F6FF;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- flex-direction: column;
- padding-left: 60px;
-
- p {
- font-size: 28px;
- padding: 0;
- color: #666666;
- @include center();
- /* align-items: flex-end; */
- .day {
- /* padding: 5px; */
- font-size: 56px;
- }
-
- .day-text {
- font-size: 24px;
- padding: 0 10px;
- }
- img {
- height: 30px;
- width: 18px;
- }
- }
- }
- }
- }
- }
- }
- &.no-data {
- @include center();
- flex-direction: column;
- p {
- font-size: 32px;
- }
- }
- }
- }
|