index.wxss 2.5 KB

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