index.wxss 1.9 KB

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