index.less 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. .followBox {
  2. padding: 0rpx 20rpx 20rpx;
  3. .screening {
  4. position: fixed;
  5. top: 0px;
  6. left: 0px;
  7. width: 100%;
  8. padding: 0rpx 28rpx 20rpx;
  9. display: flex;
  10. z-index: 9;
  11. align-items: center;
  12. justify-content: space-between;
  13. box-sizing: border-box;
  14. background-color: #F2F6FC;
  15. padding-left: 20rpx;
  16. .type {
  17. position: relative;
  18. padding: 4rpx 0rpx;
  19. color: #666;
  20. font-size: 26rpx;
  21. .noticeTips {
  22. position: absolute;
  23. right: -6rpx;
  24. top: 0rpx;
  25. width: 30rpx;
  26. padding: 2rpx 0rpx;
  27. border-radius: 40rpx;
  28. color: white;
  29. font-size: 18rpx;
  30. text-align: center;
  31. background-color: #FF0000;
  32. }
  33. }
  34. .currentType {
  35. color: #333;
  36. font-weight: bold;
  37. border-bottom: 6rpx solid #00C657;
  38. }
  39. .searchFriend {
  40. font-size: 26rpx;
  41. display: flex;
  42. align-items: center;
  43. padding: 10rpx 30rpx;
  44. border-radius: 25rpx;
  45. color: #666666;
  46. background-color: white;
  47. image {
  48. width: 22rpx;
  49. height: 22rpx;
  50. margin-right: 10rpx;
  51. }
  52. }
  53. }
  54. .box {
  55. padding-bottom: 20rpx;
  56. margin-top: 88rpx;
  57. .userBox {
  58. margin-bottom: 28rpx;
  59. display: flex;
  60. align-items: flex-start;
  61. justify-content: space-between;
  62. padding: 16rpx 24rpx 24rpx;
  63. border-radius: 20rpx;
  64. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  65. background-color: white;
  66. .identity {
  67. position: relative;
  68. text-align: center;
  69. .avatar {
  70. width: 106rpx;
  71. height: 106rpx;
  72. border-radius: 50%;
  73. position: relative;
  74. background-color: #e4e1e1;
  75. }
  76. .identityText {
  77. position: absolute;
  78. top: 86rpx;
  79. left: 0rpx;
  80. right: 0rpx;
  81. margin: auto;
  82. width: 80rpx;
  83. margin-top: 6rpx;
  84. font-size: 24rpx;
  85. color: white;
  86. background-color: #10CA61;
  87. border-radius: 25rpx;
  88. }
  89. }
  90. .userRight {
  91. flex: 1;
  92. margin-left: 30rpx;
  93. .topBox {
  94. .row {
  95. display: flex;
  96. align-items: center;
  97. justify-content: space-between;
  98. .nickName {
  99. width: 200rpx;
  100. color: #333;
  101. font-size: 32rpx;
  102. }
  103. .gradeText {
  104. margin: 18rpx 0rpx 12rpx;
  105. font-size: 24rpx;
  106. color: rgba(0, 0, 0, 0.6);
  107. .copy {
  108. width: 22rpx;
  109. height: 22rpx;
  110. }
  111. }
  112. .count {
  113. margin-top: 10rpx;
  114. flex: 1;
  115. font-size: 24rpx;
  116. color: rgba(0, 0, 0, 0.6);
  117. text-align: left;
  118. .countNum {
  119. margin-left: 10rpx;
  120. }
  121. }
  122. .countEnd {
  123. text-align: right;
  124. border: none;
  125. }
  126. }
  127. }
  128. .btmBox {
  129. display: flex;
  130. align-items: center;
  131. justify-content: space-between;
  132. margin-top: 30rpx;
  133. .state {
  134. text-align: center;
  135. .character {
  136. width: 24rpx;
  137. height: 24rpx;
  138. margin-right: 6rpx;
  139. }
  140. .stateText {
  141. width: 200rpx;
  142. display: flex;
  143. justify-content: center;
  144. align-items: center;
  145. padding: 12rpx 0rpx;
  146. border-radius: 50rpx;
  147. font-size: 24rpx;
  148. }
  149. .already {
  150. background-color: #E4EDFB;
  151. }
  152. .yet {
  153. background-color: #1BC665;
  154. color: white;
  155. }
  156. }
  157. .follow {
  158. display: flex;
  159. align-items: center;
  160. justify-content: center;
  161. width: 200rpx;
  162. height: 52rpx;
  163. font-size: 24rpx;
  164. border-radius: 50rpx;
  165. background-color: #10CA61;
  166. color: white;
  167. .character {
  168. width: 24rpx;
  169. height: 24rpx;
  170. margin-right: 6rpx;
  171. }
  172. }
  173. .isFans {
  174. background-color: #E2ECFB;
  175. color: #333;
  176. }
  177. }
  178. }
  179. }
  180. }
  181. }
  182. .empty {
  183. margin-top: 200rpx;
  184. }