index.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .chart {
  2. width: 100vw;
  3. background-color: #fff;
  4. display: flex;
  5. padding: 30rpx 0;
  6. box-sizing: border-box;
  7. .item {
  8. display: flex;
  9. flex-direction: column;
  10. align-items: center;
  11. flex: 1;
  12. justify-content: center;
  13. flex-shrink: 0;
  14. width: 0;
  15. font-weight: bold;
  16. .s-label,
  17. .s-fulfill,
  18. .s-row {
  19. width: 100%;
  20. text-align: center;
  21. padding: 0 8rpx;
  22. }
  23. .s-label {
  24. font-size: 26rpx;
  25. }
  26. .s-fulfill {
  27. font-size: 34rpx;
  28. margin-top: 8rpx;
  29. }
  30. .s-row {
  31. font-size: 22rpx;
  32. margin-top: 8rpx;
  33. }
  34. .circle {
  35. width: 100rpx;
  36. height: 100rpx;
  37. position: relative;
  38. border-radius: 50%;
  39. margin-bottom: 25rpx;
  40. transform: scale(1.15);
  41. .ab {
  42. position: absolute;
  43. left: 0;
  44. right: 0;
  45. top: 0;
  46. bottom: 0;
  47. margin: auto;
  48. }
  49. &_left {
  50. border: 8rpx solid #ccc;
  51. border-radius: 50%;
  52. clip: rect(0, 50rpx, 100rpx, 0);
  53. }
  54. &_right {
  55. border: 8rpx solid #ccc;
  56. border-radius: 50%;
  57. clip: rect(0, 100rpx, 100rpx, 50rpx);
  58. }
  59. &_text {
  60. height: 100%;
  61. display: flex;
  62. flex-direction: column;
  63. justify-content: center;
  64. align-items: center;
  65. font-size: 24rpx;
  66. font-family: PingFang SC-Regular, PingFang SC;
  67. .value {
  68. margin-top: -6rpx;
  69. }
  70. .name {
  71. margin-top: 6rpx;
  72. }
  73. }
  74. }
  75. }
  76. }
  77. .table {
  78. width: 100vw;
  79. background-color: #ffffff;
  80. box-sizing: border-box;
  81. margin-top: 30rpx;
  82. .label {
  83. display: flex;
  84. align-items: center;
  85. height: 80rpx;
  86. padding: 0 20rpx;
  87. font-weight: bold;
  88. font-size: 26rpx;
  89. color: #666;
  90. .text {
  91. display: inline-block;
  92. width: 14rpx;
  93. height: 26rpx;
  94. background: #31A7FF;
  95. margin-right: 14rpx;
  96. }
  97. }
  98. .row,
  99. .row-label {
  100. display: flex;
  101. align-items: center;
  102. height: 70rpx;
  103. background-color: #F2F2F2;
  104. font-weight: bold;
  105. padding-left: 30rpx;
  106. view {
  107. flex: 1;
  108. width: 0;
  109. flex-shrink: 0;
  110. }
  111. }
  112. .row:nth-child(odd) {
  113. background-color: #fff;
  114. }
  115. .row-label {
  116. font-weight: normal;
  117. }
  118. }