index.less 2.1 KB

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