index.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. background: #52C41A;
  76. border-radius: 20rpx 0px 0px 20rpx;
  77. font-size: 24rpx;
  78. font-family: PingFang SC-Regular, PingFang SC;
  79. color: #FFFFFF;
  80. text-align: center;
  81. }
  82. }
  83. .tag-box {
  84. display: flex;
  85. align-items: center;
  86. width: 100%;
  87. .datatag,
  88. .systemtag {
  89. flex-shrink: 0;
  90. margin-top: 6rpx;
  91. background: #FAAB16;
  92. color: #ffffff;
  93. margin-right: 10rpx;
  94. display: flex;
  95. align-items: center;
  96. height: 40rpx;
  97. font-size: 20rpx;
  98. padding: 0 10rpx;
  99. border-radius: 20rpx;
  100. font-family: PingFang SC-Regular, PingFang SC;
  101. }
  102. .systemtag {
  103. background: #FA8C16;
  104. }
  105. }
  106. .replenish {
  107. display: flex;
  108. min-height: 34rpx;
  109. font-size: 24rpx;
  110. font-family: PingFang SC-Regular, PingFang SC;
  111. color: #333333;
  112. margin-top: 8rpx;
  113. word-break: break-all;
  114. white-space: pre-wrap;
  115. }
  116. .leader {
  117. position: absolute;
  118. width: 60rpx;
  119. height: 60rpx;
  120. border-radius: 50%;
  121. right: 30rpx;
  122. bottom: 10rpx;
  123. overflow: hidden;
  124. image {
  125. width: 100%;
  126. height: 100%;
  127. }
  128. >view {
  129. font-size: 28rpx;
  130. font-family: PingFang SC-Regular, PingFang SC;
  131. color: #FFFFFF;
  132. background-color: #3874F6;
  133. line-height: 60rpx;
  134. text-align: center;
  135. }
  136. }
  137. }
  138. }
  139. .line-1 {
  140. overflow: hidden;
  141. white-space: nowrap;
  142. text-overflow: ellipsis;
  143. }