index.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .followBox {
  2. padding: 0rpx 20rpx 20rpx;
  3. }
  4. .followBox .follow {
  5. box-sizing: border-box;
  6. width: 100%;
  7. background-color: white;
  8. border-radius: 10rpx;
  9. margin-bottom: 20rpx;
  10. padding: 20rpx;
  11. display: flex;
  12. align-items: center;
  13. justify-content: space-between;
  14. }
  15. .followBox .follow .userInfo {
  16. display: flex;
  17. }
  18. .followBox .follow .userInfo .avatar {
  19. position: relative;
  20. }
  21. .followBox .follow .userInfo .avatar .avatar-image {
  22. width: 96rpx;
  23. height: 96rpx;
  24. background-color: wheat;
  25. border-radius: 50%;
  26. border: 4rpx solid #61CA54;
  27. }
  28. .followBox .follow .userInfo .avatar .user-profession {
  29. width: 68rpx;
  30. height: 24rpx;
  31. background: #61ca54;
  32. border-radius: 50rpx;
  33. border: 2rpx solid #ffffff;
  34. font-size: 16rpx;
  35. color: #ffffff;
  36. line-height: 24rpx;
  37. text-align: center;
  38. position: absolute;
  39. bottom: -4rpx;
  40. left: 17rpx;
  41. }
  42. .followBox .follow .userInfo .nickName {
  43. margin-left: 14rpx;
  44. margin-top: 2rpx;
  45. }
  46. .followBox .follow .state {
  47. padding: 0rpx 30rpx;
  48. text-align: center;
  49. }
  50. .followBox .follow .state .stateImg {
  51. width: 46rpx;
  52. height: 40rpx;
  53. }
  54. .followBox .follow .state .stateText {
  55. color: #686868;
  56. font-size: 20rpx;
  57. }