index.wxss 2.1 KB

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