follow.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .page {
  2. min-height: 100vh;
  3. background-color: #fff;
  4. padding-top: 10px;
  5. }
  6. .tabs {
  7. display: flex;
  8. height: 100%;
  9. justify-content: space-between;
  10. align-items: center;
  11. width: 246rpx;
  12. .tab {
  13. position: relative;
  14. width: 96rpx;
  15. height: 48rpx;
  16. font-size: 32rpx;
  17. font-family: 'PingFang SC-Bold';
  18. color: #999;
  19. font-weight: 400;
  20. &.active {
  21. color: #1F1F1F;
  22. background: url("../../static/me/wd_img_qiehuan.png") center / cover no-repeat;
  23. }
  24. }
  25. }
  26. .follow-list {
  27. padding: 0 20px;
  28. .follow-item {
  29. display: flex;
  30. align-items: center;
  31. padding: 15px 0;
  32. .avator {
  33. width: 120rpx ;
  34. height: 120rpx ;
  35. margin-right: 24rpx;
  36. }
  37. .info {
  38. flex: 1;
  39. .top-box {
  40. display: flex;
  41. align-items: center;
  42. .name {
  43. font-size: 32rpx;
  44. font-weight: 500;
  45. margin-bottom: 8rpx;
  46. }
  47. > image {
  48. width: 36rpx;
  49. margin-left: 8rpx;
  50. margin-right: 10rpx;
  51. }
  52. .level {
  53. font-weight: 400;
  54. font-size: 20rpx;
  55. font-family: "PingFang SC-Bold";
  56. background: linear-gradient(360deg, #acf934 0%, #ffe439 100%);
  57. border-radius: 8rpx;
  58. padding: 2rpx 8rpx;
  59. display: inline-block;
  60. margin-left: 10rpx;
  61. }
  62. }
  63. .desc {
  64. font-size: 24rpx;
  65. color: #999;
  66. }
  67. }
  68. .unfollow-btn {
  69. font-size: 24rpx;
  70. width: 144rpx;
  71. height: 52rpx;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. color: #666;
  76. background: none;
  77. border: 2rpx solid #000;
  78. border-radius:12rpx;
  79. margin: 0;
  80. font-family: 'PingFang SC-Bold';
  81. image{
  82. display: none;
  83. width: 16rpx;
  84. height: 16rpx;
  85. margin-right: 5rpx;
  86. }
  87. &.active {
  88. color: #ACF934;
  89. background: #000;
  90. image{
  91. display: inline-block;
  92. }
  93. }
  94. }
  95. }
  96. }