index.wxss 1.8 KB

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