index.wxss 1.8 KB

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