index.wxss 4.7 KB

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