index.wxss 2.1 KB

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