index.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. padding: 4rpx 0rpx;
  18. color: #666;
  19. font-size: 26rpx;
  20. }
  21. .currentType {
  22. color: #333;
  23. font-weight: bold;
  24. border-bottom: 6rpx solid #00C657;
  25. }
  26. .searchFriend {
  27. font-size: 26rpx;
  28. display: flex;
  29. align-items: center;
  30. padding: 10rpx 30rpx;
  31. border-radius: 25rpx;
  32. color: #666666;
  33. background-color: white;
  34. image {
  35. width: 22rpx;
  36. height: 22rpx;
  37. margin-right: 10rpx;
  38. }
  39. }
  40. }
  41. .box {
  42. padding-bottom: 20rpx;
  43. margin-top: 100rpx;
  44. .follow {
  45. margin-top: 20rpx;
  46. box-sizing: border-box;
  47. width: 100%;
  48. background-color: white;
  49. border-radius: 10rpx;
  50. margin-bottom: 20rpx;
  51. padding: 20rpx;
  52. display: flex;
  53. align-items: center;
  54. justify-content: space-between;
  55. .userInfo {
  56. flex: 1;
  57. display: flex;
  58. .avatar {
  59. position: relative;
  60. .avatar-image {
  61. width: 96rpx;
  62. height: 96rpx;
  63. background-color: wheat;
  64. border-radius: 50%;
  65. border: 4rpx solid #61CA54;
  66. }
  67. .user-profession {
  68. position: absolute;
  69. bottom: -4rpx;
  70. left: 17rpx;
  71. width: 68rpx;
  72. height: 24rpx;
  73. background: rgba(97, 202, 84, 1);
  74. border-radius: 50rpx;
  75. border: 2rpx solid rgba(255, 255, 255, 1);
  76. font-size: 16rpx;
  77. color: rgba(255, 255, 255, 1);
  78. line-height: 24rpx;
  79. text-align: center;
  80. }
  81. }
  82. .infoBox {
  83. display: flex;
  84. flex-direction: column;
  85. justify-content: space-around;
  86. margin-left: 14rpx;
  87. margin-top: 2rpx;
  88. .gmtCreated {
  89. font-size: 26rpx;
  90. color: #888;
  91. }
  92. }
  93. }
  94. .state {
  95. text-align: center;
  96. .stateText {
  97. width: 160rpx;
  98. padding: 16rpx 0rpx;
  99. border-radius: 50rpx;
  100. font-size: 24rpx;
  101. }
  102. .already {
  103. background-color: #E4EDFB;
  104. }
  105. .yet {
  106. background-color: #1BC665;
  107. color: white;
  108. }
  109. }
  110. }
  111. }
  112. .empty {
  113. margin-top: 200rpx;
  114. }
  115. }