健康同学微信公众号h5项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

report.scss 9.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. .report {
  2. height: 100vh;
  3. width: 100%;
  4. overflow: hidden;
  5. background-color: #F5F5F5;
  6. font-family: Source Han Sans CN;
  7. .main {
  8. height: calc(100vh - 90px);
  9. overflow: scroll;
  10. background-color: #fff;
  11. .line {
  12. height: 22px;
  13. background-color: $lineGray;
  14. }
  15. .overall-rating {
  16. padding: 46px 30px;
  17. margin-bottom: 18px;
  18. .con {
  19. padding: 34px 36px;
  20. display: flex;
  21. justify-content: flex-start;
  22. align-items: flex-start;
  23. flex-direction: column;
  24. font-size: 28px;
  25. background: #FFFFFF;
  26. border: 1px solid #535353;
  27. box-shadow: 2px 10px 0px 0px $green;
  28. border-radius: 10px;
  29. p {
  30. font-size: 36px;
  31. font-family: Source Han Sans CN;
  32. color: #666666;
  33. .bold {
  34. color: #282828;
  35. font-weight: bold;
  36. }
  37. }
  38. .space-between {
  39. width: 100%;
  40. display: flex;
  41. justify-content: space-between;
  42. align-items: center;
  43. .time {
  44. font-size: 24px;
  45. }
  46. }
  47. .normal {
  48. font-size: 26px;
  49. line-height: 42px;
  50. text-align: left;
  51. color: #666666;
  52. }
  53. .bold-pro {
  54. color: #282828;
  55. font-size: 48px;
  56. font-weight: bold;
  57. padding: 24px 0;
  58. }
  59. }
  60. }
  61. .pie-chart-top {
  62. display: flex;
  63. justify-content: space-between;
  64. align-items: flex-start;
  65. padding: 46px 30px 32px 30px;
  66. p {
  67. font-size: 24px;
  68. font-family: Source Han Sans CN;
  69. line-height: 42px;
  70. }
  71. .bold {
  72. font-size: 36px;
  73. font-weight: bold;
  74. color: #282828;
  75. line-height: 36px;
  76. }
  77. }
  78. .count {
  79. padding: 0 30px 10px 30px;
  80. text-align: left;
  81. p {
  82. font-size: 24px;
  83. font-family: Source Han Sans CN;
  84. font-weight: 400;
  85. color: #8B8B8B;
  86. line-height: 36px;
  87. }
  88. }
  89. .pie-chart-con {
  90. flex: 1;
  91. padding: 10px 0 20px 0;
  92. display: flex;
  93. justify-content: space-between;
  94. align-items: flex-start;
  95. background-color: #fff;
  96. .pie-chart-left {
  97. position: relative;
  98. height: 300px;
  99. padding-left: 30px;
  100. width: 35%;
  101. @include center();
  102. #pieChart {
  103. height: 212px;
  104. width: 212px;
  105. }
  106. }
  107. .pie-chart-right {
  108. height: 300px;
  109. width: 65%;
  110. @include center();
  111. .list {
  112. display: flex;
  113. justify-content: center;
  114. flex-direction: column;
  115. .item {
  116. width: 100%;
  117. display: flex;
  118. justify-content: space-between;
  119. align-items: center;
  120. font-size: 24px;
  121. padding: 18px 0;
  122. .item-left {
  123. display: flex;
  124. justify-content: flex-start;
  125. align-items: center;
  126. padding-right: 20px;
  127. .circle {
  128. height: 24px;
  129. width: 24px;
  130. margin: 0 8px;
  131. }
  132. span {
  133. font-size: 24px;
  134. }
  135. .text {
  136. color: #000;
  137. font-size: 24px;
  138. }
  139. }
  140. .item-right {
  141. @include center();
  142. span {
  143. font-size: 24px;
  144. }
  145. }
  146. .status {
  147. padding: 0 10px;
  148. @include center();
  149. img {
  150. height: 30px;
  151. width: 18px;
  152. padding: 0 6px ;
  153. }
  154. }
  155. }
  156. }
  157. }
  158. }
  159. .statistics {
  160. position: relative;
  161. padding: 10px 28px 10px 28px;
  162. .list {
  163. flex: 1;
  164. width: 100%;
  165. display: flex;
  166. justify-content: space-between;
  167. align-items: center;
  168. font-size: 32px;
  169. .item {
  170. @include center();
  171. width: 136px;
  172. padding: 10px;
  173. /* height: px2rem(136); */
  174. flex-direction: column;
  175. border: 1px solid $border_color;
  176. border-radius: 30px;
  177. .top {
  178. font-size: 24px;
  179. }
  180. .middle {
  181. font-size: 48px;
  182. font-weight: bold;
  183. padding: 10px;
  184. }
  185. .bottom {
  186. font-size: 18px
  187. }
  188. }
  189. }
  190. }
  191. .bar-chart {
  192. height: 700px;
  193. background-color: #fff;
  194. padding: 0 10px;
  195. .echart {
  196. height: 700px;
  197. padding: 0 10px;
  198. }
  199. }
  200. .advice {
  201. padding: 52px 30px 60px 30px;
  202. .content {
  203. background: #F2F6FF;
  204. border-radius: 20px;
  205. padding: 40px 30px;
  206. text-align: left;
  207. p {
  208. font-size: 30px;
  209. font-weight: 400;
  210. color: #707070;
  211. line-height: 46px;
  212. }
  213. .title {
  214. font-size: 36px;
  215. font-weight: bold;
  216. color: $green;
  217. line-height: 36px;
  218. padding-bottom: 26px;
  219. }
  220. }
  221. }
  222. .overview {
  223. padding: 0 30px 32px 30px;
  224. .content {
  225. .title {
  226. text-align: left;
  227. .title-text {
  228. font-size: 36px;
  229. font-weight: bold;
  230. color: #282828;
  231. line-height: 36px;
  232. }
  233. .mood-list {
  234. display: grid;
  235. grid-template-columns: repeat(2, 1fr); //定义了一个 2x2 的网格布
  236. grid-template-rows: repeat(2, 1fr);
  237. gap: 42px;
  238. padding: 42px 42px 44px 40px;
  239. .item {
  240. width: 214px;
  241. height: 198px;
  242. background-color: #F2F6FF;
  243. display: flex;
  244. justify-content: center;
  245. align-items: flex-start;
  246. flex-direction: column;
  247. padding-left: 60px;
  248. p {
  249. font-size: 28px;
  250. padding: 0;
  251. color: #666666;
  252. @include center();
  253. /* align-items: flex-end; */
  254. .day {
  255. /* padding: 5px; */
  256. font-size: 56px;
  257. }
  258. .day-text {
  259. font-size: 24px;
  260. padding: 0 10px;
  261. }
  262. img {
  263. height: 30px;
  264. width: 18px;
  265. }
  266. }
  267. }
  268. }
  269. }
  270. }
  271. }
  272. &.no-data {
  273. @include center();
  274. flex-direction: column;
  275. p {
  276. font-size: 32px;
  277. }
  278. }
  279. }
  280. }