index.wxss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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 .historyList {
  31. padding: 80rpx 30rpx 0rpx;
  32. }
  33. .searchFriend .historyList .notes {
  34. display: flex;
  35. align-items: center;
  36. justify-content: space-between;
  37. padding: 30rpx 0rpx 14rpx;
  38. border-bottom: 1rpx solid #DDDDDD;
  39. }
  40. .searchFriend .historyList .notes .left {
  41. display: flex;
  42. align-items: center;
  43. font-size: 28rpx;
  44. }
  45. .searchFriend .historyList .notes .left .clock {
  46. width: 34rpx;
  47. height: 34rpx;
  48. margin-right: 16rpx;
  49. }
  50. .searchFriend .historyList .notes .delete {
  51. color: #A4A4A5;
  52. font-size: 50rpx;
  53. line-height: 40rpx;
  54. padding: 0rpx 20rpx;
  55. }
  56. .searchFriend .historyList .clearHistory {
  57. padding: 20rpx 0rpx;
  58. text-align: center;
  59. font-size: 28rpx;
  60. }
  61. .searchFriend .box {
  62. padding: 20rpx;
  63. margin-top: 88rpx;
  64. }
  65. .searchFriend .box .userBox {
  66. margin-bottom: 28rpx;
  67. display: flex;
  68. align-items: flex-start;
  69. justify-content: space-between;
  70. padding: 16rpx 24rpx 24rpx;
  71. border-radius: 20rpx;
  72. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  73. background-color: white;
  74. }
  75. .searchFriend .box .userBox .identity {
  76. position: relative;
  77. text-align: center;
  78. }
  79. .searchFriend .box .userBox .identity .avatar {
  80. width: 106rpx;
  81. height: 106rpx;
  82. border-radius: 50%;
  83. position: relative;
  84. background-color: #e4e1e1;
  85. }
  86. .searchFriend .box .userBox .identity .identityText {
  87. position: absolute;
  88. top: 86rpx;
  89. left: 0rpx;
  90. right: 0rpx;
  91. margin: auto;
  92. width: 80rpx;
  93. margin-top: 6rpx;
  94. font-size: 24rpx;
  95. color: white;
  96. background-color: #10CA61;
  97. border-radius: 25rpx;
  98. }
  99. .searchFriend .box .userBox .userRight {
  100. flex: 1;
  101. margin-left: 30rpx;
  102. }
  103. .searchFriend .box .userBox .userRight .topBox .row {
  104. display: flex;
  105. align-items: center;
  106. justify-content: space-between;
  107. }
  108. .searchFriend .box .userBox .userRight .topBox .row .nickName {
  109. width: 200rpx;
  110. color: #333;
  111. font-size: 32rpx;
  112. }
  113. .searchFriend .box .userBox .userRight .topBox .row .gradeText {
  114. margin: 18rpx 0rpx 12rpx;
  115. font-size: 24rpx;
  116. color: rgba(0, 0, 0, 0.6);
  117. }
  118. .searchFriend .box .userBox .userRight .topBox .row .gradeText .copy {
  119. width: 22rpx;
  120. height: 22rpx;
  121. }
  122. .searchFriend .box .userBox .userRight .topBox .row .count {
  123. margin-top: 10rpx;
  124. flex: 1;
  125. font-size: 24rpx;
  126. color: rgba(0, 0, 0, 0.6);
  127. text-align: left;
  128. }
  129. .searchFriend .box .userBox .userRight .topBox .row .count .countNum {
  130. margin-left: 10rpx;
  131. }
  132. .searchFriend .box .userBox .userRight .topBox .row .countEnd {
  133. text-align: right;
  134. border: none;
  135. }
  136. .searchFriend .box .userBox .userRight .btmBox {
  137. display: flex;
  138. align-items: center;
  139. justify-content: space-between;
  140. margin-top: 30rpx;
  141. }
  142. .searchFriend .box .userBox .userRight .btmBox .state {
  143. text-align: center;
  144. }
  145. .searchFriend .box .userBox .userRight .btmBox .state .character {
  146. width: 24rpx;
  147. height: 24rpx;
  148. margin-right: 6rpx;
  149. }
  150. .searchFriend .box .userBox .userRight .btmBox .state .stateText {
  151. width: 200rpx;
  152. display: flex;
  153. justify-content: center;
  154. align-items: center;
  155. padding: 12rpx 0rpx;
  156. border-radius: 50rpx;
  157. font-size: 24rpx;
  158. }
  159. .searchFriend .box .userBox .userRight .btmBox .state .already {
  160. background-color: #E4EDFB;
  161. }
  162. .searchFriend .box .userBox .userRight .btmBox .state .yet {
  163. background-color: #1BC665;
  164. color: white;
  165. }
  166. .searchFriend .box .userBox .userRight .btmBox .follow {
  167. display: flex;
  168. align-items: center;
  169. justify-content: center;
  170. width: 200rpx;
  171. height: 52rpx;
  172. font-size: 24rpx;
  173. border-radius: 50rpx;
  174. background-color: #10CA61;
  175. color: white;
  176. }
  177. .searchFriend .box .userBox .userRight .btmBox .follow .character {
  178. width: 24rpx;
  179. height: 24rpx;
  180. margin-right: 6rpx;
  181. }
  182. .searchFriend .box .userBox .userRight .btmBox .isFans {
  183. background-color: #E2ECFB;
  184. color: #333;
  185. }
  186. .searchFriend .empty {
  187. margin-top: 200rpx;
  188. }