index.wxss 4.6 KB

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