index.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .personalBox {
  2. padding: 12rpx 20rpx;
  3. .userBox {
  4. display: flex;
  5. align-items: center;
  6. justify-content: space-between;
  7. background-color: white;
  8. padding: 20rpx 12rpx 0rpx;
  9. border-radius: 20rpx;
  10. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  11. .identity {
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. text-align: center;
  16. .avatar {
  17. width: 106rpx;
  18. height: 106rpx;
  19. border-radius: 50%;
  20. position: relative;
  21. }
  22. .identityText {
  23. width: 80rpx;
  24. margin-top: 6rpx;
  25. font-size: 24rpx;
  26. color: white;
  27. background-color: #10CA61;
  28. border-radius: 25rpx;
  29. }
  30. }
  31. .userRight {
  32. flex: 1;
  33. margin-left: 30rpx;
  34. padding: 0px 10rpx;
  35. .uRtop {
  36. display: flex;
  37. justify-content: space-between;
  38. align-items: center;
  39. .uRtopleft {
  40. .nickName {
  41. max-width: 340rpx;
  42. color: #333;
  43. font-size: 32rpx;
  44. }
  45. .gradeText {
  46. margin: 18rpx 0rpx 12rpx;
  47. font-size: 24rpx;
  48. color: #989A9C;
  49. }
  50. }
  51. .follow {
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. width: 140rpx;
  56. height: 52rpx;
  57. font-size: 24rpx;
  58. border-radius: 50rpx;
  59. border: 1rpx solid #1BC665;
  60. color: #1BC665;
  61. .character {
  62. width: 22rpx;
  63. height: 22rpx;
  64. margin-right: 6rpx;
  65. }
  66. }
  67. .isFans {
  68. border: 1rpx solid #969696;
  69. color: #969696;
  70. }
  71. }
  72. .uRBtm {
  73. display: flex;
  74. align-items: center;
  75. justify-content: space-between;
  76. border-top: 1px solid rgba(0, 0, 0, 0.1);
  77. padding: 18rpx 0rpx;
  78. .count {
  79. width: 33%;
  80. font-size: 28rpx;
  81. color: rgba(0, 0, 0, 0.6);
  82. text-align: center;
  83. .countNum {
  84. margin-left: 10rpx;
  85. }
  86. }
  87. .countFirst {
  88. text-align: left;
  89. }
  90. .countEnd {
  91. text-align: right;
  92. border: none;
  93. }
  94. }
  95. }
  96. }
  97. }