index.less 4.5 KB

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