index.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .project-item {
  2. display: flex;
  3. align-items: center;
  4. width: 100vw;
  5. background-color: #ffffff;
  6. border-bottom: 1px solid#F4F4F4;
  7. box-sizing: border-box;
  8. .chart {
  9. margin: 0 30rpx;
  10. width: 100rpx;
  11. flex-shrink: 0;
  12. .circle {
  13. width: 100rpx;
  14. height: 100rpx;
  15. position: relative;
  16. border-radius: 50%;
  17. box-shadow: inset 0 0 0 8rpx var(--assist);
  18. .ab {
  19. position: absolute;
  20. left: 0;
  21. right: 0;
  22. top: 0;
  23. bottom: 0;
  24. margin: auto;
  25. }
  26. &_left {
  27. border: 8rpx solid #ccc;
  28. border-radius: 50%;
  29. clip: rect(0, 50rpx, 100rpx, 0);
  30. }
  31. &_right {
  32. border: 8rpx solid #ccc;
  33. border-radius: 50%;
  34. clip: rect(0, 100rpx, 100rpx, 50rpx);
  35. }
  36. &_text {
  37. height: 100%;
  38. display: flex;
  39. flex-direction: column;
  40. justify-content: center;
  41. align-items: center;
  42. font-size: 16rpx;
  43. font-family: PingFang SC-Regular, PingFang SC;
  44. color: #666666;
  45. .name {
  46. margin-bottom: 6rpx;
  47. }
  48. }
  49. }
  50. }
  51. .main {
  52. flex: 1;
  53. box-sizing: border-box;
  54. padding: 20rpx 0;
  55. .label {
  56. display: flex;
  57. height: 42rpx;
  58. .title {
  59. flex: 1;
  60. width: 0;
  61. font-size: 30rpx;
  62. font-family: PingFang SC-Regular, PingFang SC;
  63. color: #333333;
  64. margin-right: 20rpx;
  65. }
  66. .state {
  67. flex-shrink: 0;
  68. width: 132rpx;
  69. height: 40rpx;
  70. line-height: 40rpx;
  71. background: #52C41A;
  72. border-radius: 20rpx 0px 0px 20rpx;
  73. font-size: 24rpx;
  74. font-family: PingFang SC-Regular, PingFang SC;
  75. color: #FFFFFF;
  76. text-align: center;
  77. }
  78. }
  79. .replenish {
  80. display: flex;
  81. min-height: 34rpx;
  82. font-size: 24rpx;
  83. font-family: PingFang SC-Regular, PingFang SC;
  84. color: #333333;
  85. margin-top: 8rpx;
  86. word-break: break-all;
  87. white-space: pre-wrap;
  88. }
  89. }
  90. }
  91. .line-1 {
  92. overflow: hidden;
  93. white-space: nowrap;
  94. text-overflow: ellipsis;
  95. }