index.less 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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: flex-start;
  11. justify-content: space-between;
  12. padding: 16rpx 24rpx 24rpx;
  13. border-radius: 20rpx;
  14. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  15. background-color: white;
  16. .identity {
  17. position: relative;
  18. text-align: center;
  19. .avatar {
  20. width: 106rpx;
  21. height: 106rpx;
  22. border-radius: 50%;
  23. position: relative;
  24. background-color: #e4e1e1;
  25. }
  26. .identityText {
  27. position: absolute;
  28. top: 86rpx;
  29. left: 0rpx;
  30. right: 0rpx;
  31. margin: auto;
  32. width: 80rpx;
  33. margin-top: 6rpx;
  34. font-size: 24rpx;
  35. color: white;
  36. background-color: #10CA61;
  37. border-radius: 25rpx;
  38. }
  39. }
  40. .userRight {
  41. flex: 1;
  42. margin-left: 30rpx;
  43. .topBox {
  44. .row {
  45. display: flex;
  46. align-items: center;
  47. justify-content: space-between;
  48. .nickName {
  49. width: 200rpx;
  50. color: #333;
  51. font-size: 32rpx;
  52. }
  53. .gradeText {
  54. margin: 18rpx 0rpx 12rpx;
  55. font-size: 24rpx;
  56. color: rgba(0, 0, 0, 0.6);
  57. .copy {
  58. width: 22rpx;
  59. height: 22rpx;
  60. }
  61. }
  62. .count {
  63. margin-top: 10rpx;
  64. flex: 1;
  65. font-size: 24rpx;
  66. color: rgba(0, 0, 0, 0.6);
  67. text-align: left;
  68. .countNum {
  69. margin-left: 10rpx;
  70. }
  71. }
  72. .countEnd {
  73. text-align: right;
  74. border: none;
  75. }
  76. }
  77. }
  78. .btmBox {
  79. display: flex;
  80. align-items: center;
  81. justify-content: space-between;
  82. margin-top: 30rpx;
  83. .follow {
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. width: 200rpx;
  88. height: 52rpx;
  89. font-size: 24rpx;
  90. border-radius: 50rpx;
  91. background-color: #10CA61;
  92. color: white;
  93. .character {
  94. width: 24rpx;
  95. height: 24rpx;
  96. margin-right: 6rpx;
  97. }
  98. }
  99. .isFans {
  100. background-color: #E2ECFB;
  101. color: #333;
  102. }
  103. }
  104. }
  105. }
  106. .divider {
  107. margin: 36rpx 4rpx;
  108. .title {
  109. font-size: 32rpx;
  110. font-weight: bold;
  111. }
  112. }
  113. .worksList {
  114. width: 100%;
  115. height: 100%;
  116. box-sizing: border-box;
  117. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  118. .worksBox {
  119. display: flex;
  120. align-items: center;
  121. justify-content: space-between;
  122. padding: 8rpx 12rpx;
  123. box-sizing: border-box;
  124. background-color: white;
  125. border-radius: 20rpx;
  126. margin-bottom: 20rpx;
  127. .left {
  128. display: flex;
  129. align-items: center;
  130. justify-content: space-between;
  131. .cover {
  132. width: 230rpx;
  133. height: 128rpx;
  134. border-radius: 8rpx;
  135. }
  136. .audioCover {
  137. position: relative;
  138. width: 230rpx;
  139. height: 128rpx;
  140. display: flex;
  141. align-items: center;
  142. justify-content: center;
  143. border-radius: 8rpx;
  144. overflow: hidden;
  145. background-size: cover;
  146. background-position: center;
  147. .audioPlayBg {
  148. width: 100rpx;
  149. height: 100rpx;
  150. }
  151. .audioPlayZhen {
  152. position: absolute;
  153. right: 52rpx;
  154. top: 20rpx;
  155. width: 24rpx;
  156. height: 30rpx;
  157. }
  158. .cover {
  159. position: absolute;
  160. width: 84rpx;
  161. height: 84rpx;
  162. border-radius: 50%;
  163. }
  164. }
  165. .work {
  166. margin-left: 16rpx;
  167. .title {
  168. width: 270rpx;
  169. font-size: 34rpx;
  170. font-weight: bold;
  171. margin-bottom: 12rpx;
  172. }
  173. .statistics {
  174. display: flex;
  175. align-items: center;
  176. .statistic {
  177. margin-right: 20rpx;
  178. display: flex;
  179. align-items: center;
  180. justify-content: space-between;
  181. .playImg {
  182. width: 22rpx;
  183. height: 22rpx;
  184. }
  185. .num {
  186. margin-left: 4rpx;
  187. font-size: 22rpx;
  188. color: #666666;
  189. }
  190. }
  191. }
  192. }
  193. }
  194. .goRead {
  195. padding: 6rpx 28rpx 8rpx;
  196. color: white;
  197. font-size: 32rpx;
  198. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  199. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  200. border-radius: 50rpx;
  201. }
  202. }
  203. }
  204. }