index.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .label {
  2. display: flex;
  3. padding: 30rpx;
  4. padding-bottom: 10rpx;
  5. box-sizing: border-box;
  6. background-color: #fff;
  7. color: #000;
  8. font-size: 30rpx;
  9. font-weight: bold;
  10. picker {
  11. color: #31A7FF;
  12. margin-left: 6rpx;
  13. }
  14. }
  15. .chart {
  16. width: 100vw;
  17. background-color: #fff;
  18. display: flex;
  19. padding: 30rpx 0;
  20. box-sizing: border-box;
  21. .item {
  22. display: flex;
  23. flex-direction: column;
  24. align-items: center;
  25. flex: 1;
  26. justify-content: center;
  27. flex-shrink: 0;
  28. width: 0;
  29. font-weight: bold;
  30. .s-label,
  31. .s-fulfill,
  32. .s-row {
  33. width: 100%;
  34. text-align: center;
  35. padding: 0 8rpx;
  36. }
  37. .s-label {
  38. font-size: 26rpx;
  39. }
  40. .s-fulfill {
  41. font-size: 34rpx;
  42. margin-top: 8rpx;
  43. }
  44. .s-row {
  45. font-size: 22rpx;
  46. margin-top: 8rpx;
  47. }
  48. .circle {
  49. width: 100rpx;
  50. height: 100rpx;
  51. position: relative;
  52. border-radius: 50%;
  53. margin-bottom: 25rpx;
  54. transform: scale(1.15);
  55. .ab {
  56. position: absolute;
  57. left: 0;
  58. right: 0;
  59. top: 0;
  60. bottom: 0;
  61. margin: auto;
  62. }
  63. &_left {
  64. border: 8rpx solid #ccc;
  65. border-radius: 50%;
  66. clip: rect(0, 50rpx, 100rpx, 0);
  67. }
  68. &_right {
  69. border: 8rpx solid #ccc;
  70. border-radius: 50%;
  71. clip: rect(0, 100rpx, 100rpx, 50rpx);
  72. }
  73. &_text {
  74. height: 100%;
  75. display: flex;
  76. flex-direction: column;
  77. justify-content: center;
  78. align-items: center;
  79. font-size: 20rpx;
  80. font-family: PingFang SC-Regular, PingFang SC;
  81. .value {
  82. margin-top: -6rpx;
  83. }
  84. .name {
  85. margin-top: 6rpx;
  86. }
  87. }
  88. }
  89. }
  90. }