index.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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-top: 30rpx;
  36. box-sizing: border-box;
  37. width: 100%;
  38. background-color: white;
  39. border-radius: 20rpx;
  40. padding: 20rpx 34rpx 16rpx;
  41. display: flex;
  42. align-items: center;
  43. box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
  44. .left {
  45. display: flex;
  46. flex-direction: column;
  47. align-items: center;
  48. .avatar {
  49. width: 106rpx;
  50. height: 106rpx;
  51. border-radius: 50%;
  52. }
  53. .profession {
  54. display: inline-block;
  55. margin-top: 4rpx;
  56. padding: 4rpx 20rpx;
  57. font-size: 24rpx;
  58. color: white;
  59. background-color: #10CA61;
  60. border-radius: 20rpx;
  61. }
  62. }
  63. .right {
  64. margin-left: 46rpx;
  65. flex: 1;
  66. .infoBox {
  67. border-bottom: 1rpx solid #00000020;
  68. .top {
  69. display: flex;
  70. align-items: center;
  71. justify-content: space-between;
  72. .nickName {
  73. font-size: 32rpx;
  74. }
  75. .state {
  76. text-align: center;
  77. .stateText {
  78. width: 160rpx;
  79. padding: 12rpx 0rpx;
  80. border-radius: 50rpx;
  81. font-size: 24rpx;
  82. }
  83. .already {
  84. background-color: #E4EDFB;
  85. }
  86. .yet {
  87. background-color: #1BC665;
  88. color: white;
  89. }
  90. }
  91. }
  92. .number {
  93. padding-bottom: 14rpx;
  94. font-size: 24rpx;
  95. color: #00000060;
  96. }
  97. }
  98. .statistics {
  99. display: flex;
  100. justify-content: space-between;
  101. align-items: center;
  102. padding-top: 12rpx;
  103. font-size: 28rpx;
  104. color: #00000060;
  105. text {
  106. margin-left: 6rpx;
  107. }
  108. }
  109. }
  110. }
  111. }
  112. .empty {
  113. margin-top: 200rpx;
  114. }
  115. }