index.wxss 2.4 KB

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