index.less 3.9 KB

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