index.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. .value {
  46. margin-top: -6rpx;
  47. }
  48. .name {
  49. margin-top: 6rpx;
  50. }
  51. }
  52. }
  53. }
  54. .main {
  55. position: relative;
  56. flex: 1;
  57. box-sizing: border-box;
  58. padding: 20rpx 0;
  59. .label {
  60. display: flex;
  61. height: 42rpx;
  62. .title {
  63. flex: 1;
  64. width: 0;
  65. font-size: 30rpx;
  66. font-family: PingFang SC-Regular, PingFang SC;
  67. color: #333333;
  68. margin-right: 20rpx;
  69. }
  70. .state {
  71. flex-shrink: 0;
  72. width: 132rpx;
  73. height: 40rpx;
  74. line-height: 40rpx;
  75. border-radius: 20rpx 0px 0px 20rpx;
  76. font-size: 24rpx;
  77. font-family: PingFang SC-Regular, PingFang SC;
  78. color: #FFFFFF;
  79. text-align: center;
  80. }
  81. }
  82. .tag-box {
  83. display: flex;
  84. align-items: center;
  85. width: 100%;
  86. .datatag,
  87. .systemtag {
  88. flex-shrink: 0;
  89. margin-top: 6rpx;
  90. background: #3874f6;
  91. color: #ffffff;
  92. margin-right: 10rpx;
  93. display: flex;
  94. align-items: center;
  95. height: 40rpx;
  96. font-size: 20rpx;
  97. padding: 0 10rpx;
  98. border-radius: 20rpx;
  99. font-family: PingFang SC-Regular, PingFang SC;
  100. }
  101. .datatag {
  102. background: #FA8C16;
  103. }
  104. }
  105. .replenish {
  106. display: flex;
  107. min-height: 34rpx;
  108. font-size: 24rpx;
  109. font-family: PingFang SC-Regular, PingFang SC;
  110. color: #333333;
  111. margin-top: 8rpx;
  112. word-break: break-all;
  113. white-space: pre-wrap;
  114. }
  115. .leader {
  116. position: absolute;
  117. width: 60rpx;
  118. height: 60rpx;
  119. border-radius: 50%;
  120. right: 30rpx;
  121. bottom: 10rpx;
  122. overflow: hidden;
  123. image {
  124. width: 100%;
  125. height: 100%;
  126. }
  127. >view {
  128. font-size: 28rpx;
  129. font-family: PingFang SC-Regular, PingFang SC;
  130. color: #FFFFFF;
  131. background-color: #3874F6;
  132. line-height: 60rpx;
  133. text-align: center;
  134. }
  135. }
  136. }
  137. }
  138. .line-1 {
  139. overflow: hidden;
  140. white-space: nowrap;
  141. text-overflow: ellipsis;
  142. }