index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. .personalBox {
  2. display: flex;
  3. width: 100%;
  4. height: 100vh;
  5. box-sizing: border-box;
  6. flex-direction: column;
  7. padding: 0rpx 20rpx;
  8. .userBox {
  9. display: flex;
  10. align-items: center;
  11. justify-content: space-between;
  12. background-color: white;
  13. padding: 20rpx 12rpx 0rpx;
  14. border-radius: 20rpx;
  15. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  16. .identity {
  17. display: flex;
  18. flex-direction: column;
  19. align-items: center;
  20. text-align: center;
  21. .avatar {
  22. width: 106rpx;
  23. height: 106rpx;
  24. border-radius: 50%;
  25. position: relative;
  26. }
  27. .identityText {
  28. width: 80rpx;
  29. margin-top: 6rpx;
  30. font-size: 24rpx;
  31. color: white;
  32. background-color: #10CA61;
  33. border-radius: 25rpx;
  34. }
  35. }
  36. .userRight {
  37. flex: 1;
  38. margin-left: 30rpx;
  39. padding: 0px 10rpx;
  40. .uRtop {
  41. display: flex;
  42. justify-content: space-between;
  43. align-items: center;
  44. .uRtopleft {
  45. .nickName {
  46. max-width: 340rpx;
  47. color: #333;
  48. font-size: 32rpx;
  49. }
  50. .gradeText {
  51. margin: 18rpx 0rpx 12rpx;
  52. font-size: 24rpx;
  53. color: #989A9C;
  54. }
  55. }
  56. .follow {
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. width: 140rpx;
  61. height: 52rpx;
  62. font-size: 24rpx;
  63. border-radius: 50rpx;
  64. border: 1rpx solid #1BC665;
  65. color: #1BC665;
  66. .character {
  67. width: 22rpx;
  68. height: 22rpx;
  69. margin-right: 6rpx;
  70. }
  71. }
  72. .isFans {
  73. border: 1rpx solid #969696;
  74. color: #969696;
  75. }
  76. }
  77. .uRBtm {
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. border-top: 1px solid rgba(0, 0, 0, 0.1);
  82. padding: 18rpx 0rpx;
  83. .count {
  84. width: 33%;
  85. font-size: 28rpx;
  86. color: rgba(0, 0, 0, 0.6);
  87. text-align: center;
  88. .countNum {
  89. margin-left: 10rpx;
  90. }
  91. }
  92. .countFirst {
  93. text-align: left;
  94. }
  95. .countEnd {
  96. text-align: right;
  97. border: none;
  98. }
  99. }
  100. }
  101. }
  102. .divider {
  103. margin: 36rpx 4rpx;
  104. .title {
  105. font-size: 32rpx;
  106. font-weight: bold;
  107. }
  108. }
  109. .worksList {
  110. width: 100%;
  111. height: 100%;
  112. box-sizing: border-box;
  113. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  114. .worksBox {
  115. display: flex;
  116. align-items: center;
  117. justify-content: space-between;
  118. padding: 26rpx 20rpx;
  119. box-sizing: border-box;
  120. background-color: white;
  121. border-radius: 20rpx;
  122. margin-bottom: 20rpx;
  123. .left {
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. .cover {
  128. width: 144rpx;
  129. height: 80rpx;
  130. border-radius: 8rpx;
  131. }
  132. .work {
  133. margin-left: 26rpx;
  134. .title {
  135. font-size: 32rpx;
  136. font-weight: bold;
  137. margin-bottom: 10rpx;
  138. }
  139. .statistic {
  140. display: flex;
  141. align-items: center;
  142. justify-content: space-between;
  143. .playImg {
  144. width: 34rpx;
  145. height: 28rpx;
  146. }
  147. .num {
  148. font-size: 26rpx;
  149. color: #666666;
  150. }
  151. }
  152. }
  153. }
  154. .goRead {
  155. padding: 6rpx 32rpx 8rpx;
  156. color: white;
  157. font-size: 32rpx;
  158. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  159. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  160. border-radius: 50rpx;
  161. }
  162. }
  163. }
  164. }