chartpage.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .page-box {
  2. background: linear-gradient(#a5c6ff, $page-background-color);
  3. height: 675rpx;
  4. //数据分析模块
  5. .data-box {
  6. display: flex;
  7. flex-direction: row;
  8. flex-wrap: wrap;
  9. margin: 20rpx 20rpx 10rpx 20rpx;
  10. justify-content: space-between;
  11. .data-box-item {
  12. margin: 2% 0;
  13. display: flex;
  14. flex-direction: column;
  15. width: 48%;
  16. border-radius: $card-border-radius;
  17. overflow: hidden;
  18. padding: 20rpx 0;
  19. .item-text {
  20. margin-left: 20rpx;
  21. font-size: 30rpx;
  22. font-weight: bold;
  23. color: #FFFFFF;
  24. z-index: 2;
  25. padding: 15rpx 10rpx;
  26. }
  27. .module-item-box{
  28. width: 0rpx;
  29. height: 0rpx;
  30. }
  31. .t-icon {
  32. position: relative;
  33. width: 200rpx;
  34. height: 200rpx;
  35. top: -220rpx;
  36. right: -165rpx;
  37. z-index: 1;
  38. background-repeat: no-repeat;
  39. }
  40. .icon-text-item {
  41. width: 180rpx;
  42. font-size: 35rpx;
  43. font-weight: bold;
  44. color: #FFFFFF;
  45. margin-left: 20rpx;
  46. margin-right: 20rpx;
  47. z-index: 2;
  48. }
  49. }
  50. }
  51. .tooltip {
  52. position: absolute;
  53. width: auto;
  54. height: auto;
  55. z-index: 99;
  56. padding: 15rpx;
  57. top: 220rpx;
  58. right: 20rpx;
  59. background-color: #FFF;
  60. border-radius: $card-border-radius;
  61. .tooltip-text {
  62. font-size: 24rpx;
  63. color: $color-title;
  64. font-weight: bold;
  65. }
  66. }
  67. //头像区域
  68. .children-box {
  69. display: flex;
  70. align-items: center;
  71. margin-bottom: 40rpx;
  72. .children-avatar {
  73. margin-left: 40rpx;
  74. width: 96rpx;
  75. height: 96rpx;
  76. border-radius: 50rpx;
  77. border: 4rpx solid #FFFFFF;
  78. box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.2);
  79. }
  80. .children-msg {
  81. margin-left: 30rpx;
  82. .children-name {
  83. color: $color-title;
  84. font-size: 32rpx;
  85. font-weight: bold;
  86. margin-bottom: 10rpx;
  87. }
  88. .children-class {
  89. color: #FFF;
  90. font-size: 32rpx;
  91. font-weight: bold;
  92. margin-top: 10rpx;
  93. }
  94. }
  95. }
  96. //图表区域
  97. .chart-container {
  98. margin: 20rpx;
  99. border-radius: $card-border-radius;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. flex-direction: column;
  104. background-color: #FFFFFF;
  105. overflow: hidden;
  106. .chart-name {
  107. width: 100%;
  108. display: flex;
  109. justify-content: flex-start;
  110. align-items: center;
  111. margin-left: 45rpx;
  112. margin-top: 25rpx;
  113. .chart-name-text {
  114. line-height: 45rpx;
  115. font-size: 32rpx;
  116. font-weight: bold;
  117. color: $color-title;
  118. margin-left: 15rpx;
  119. }
  120. .btn-box {
  121. display: flex;
  122. margin-left: auto;
  123. margin-right: 45rpx;
  124. .btn {
  125. margin-right: 10rpx;
  126. line-height: 45rpx;
  127. color: $color-mixblue;
  128. font-size: 28rpx;
  129. }
  130. .t-icon{
  131. width: 45rpx;
  132. height: 45rpx;
  133. }
  134. }
  135. }
  136. .charts-box {
  137. width: 100%;
  138. height: 550rpx;
  139. }
  140. }
  141. }