follow.scss 1.9 KB

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