index.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. .searchFriend {
  2. .searchBox {
  3. position: fixed;
  4. top: 0px;
  5. left: 0px;
  6. width: 100%;
  7. padding: 0rpx 28rpx 18rpx;
  8. box-sizing: border-box;
  9. z-index: 9;
  10. overflow: hidden;
  11. background-color: #F2F6FC;
  12. .input {
  13. background-color: white;
  14. border-radius: 50rpx;
  15. padding: 12rpx 30rpx;
  16. padding-right: 140rpx;
  17. }
  18. .searchBtn {
  19. position: absolute;
  20. right: 50rpx;
  21. top: 6rpx;
  22. padding: 6rpx 40rpx;
  23. background: #00C657;
  24. border-radius: 40rpx;
  25. .img {
  26. width: 24rpx;
  27. height: 24rpx;
  28. }
  29. }
  30. }
  31. .box {
  32. padding-bottom: 20rpx;
  33. margin-top: 100rpx;
  34. .follow {
  35. margin: 0rpx 30rpx 20rpx 30rpx;
  36. box-sizing: border-box;
  37. background-color: white;
  38. border-radius: 10rpx;
  39. padding: 20rpx;
  40. display: flex;
  41. align-items: center;
  42. justify-content: space-between;
  43. .userInfo {
  44. flex: 1;
  45. display: flex;
  46. .avatar {
  47. position: relative;
  48. .avatar-image {
  49. width: 96rpx;
  50. height: 96rpx;
  51. background-color: wheat;
  52. border-radius: 50%;
  53. border: 4rpx solid #61CA54;
  54. }
  55. .user-profession {
  56. position: absolute;
  57. bottom: -4rpx;
  58. left: 17rpx;
  59. width: 68rpx;
  60. height: 24rpx;
  61. background: rgba(97, 202, 84, 1);
  62. border-radius: 50rpx;
  63. border: 2rpx solid rgba(255, 255, 255, 1);
  64. font-size: 16rpx;
  65. color: rgba(255, 255, 255, 1);
  66. line-height: 24rpx;
  67. text-align: center;
  68. }
  69. }
  70. .infoBox {
  71. display: flex;
  72. flex-direction: column;
  73. justify-content: space-around;
  74. margin-left: 14rpx;
  75. margin-top: 2rpx;
  76. .gmtCreated {
  77. font-size: 26rpx;
  78. color: #888;
  79. }
  80. }
  81. }
  82. .state {
  83. text-align: center;
  84. .stateText {
  85. width: 160rpx;
  86. padding: 16rpx 0rpx;
  87. border-radius: 50rpx;
  88. font-size: 24rpx;
  89. }
  90. .already {
  91. background-color: #E4EDFB;
  92. }
  93. .yet {
  94. background-color: #1BC665;
  95. color: white;
  96. }
  97. }
  98. }
  99. }
  100. .empty {
  101. margin-top: 200rpx;
  102. }
  103. }