index.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. width: 33%;
  88. font-size: 28rpx;
  89. color: rgba(0, 0, 0, 0.6);
  90. text-align: center;
  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: 26rpx 20rpx;
  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: 144rpx;
  132. height: 80rpx;
  133. border-radius: 8rpx;
  134. }
  135. .personalBox .worksList .worksBox .left .work {
  136. margin-left: 26rpx;
  137. }
  138. .personalBox .worksList .worksBox .left .work .title {
  139. font-size: 32rpx;
  140. font-weight: bold;
  141. margin-bottom: 10rpx;
  142. }
  143. .personalBox .worksList .worksBox .left .work .statistic {
  144. display: flex;
  145. align-items: center;
  146. justify-content: space-between;
  147. }
  148. .personalBox .worksList .worksBox .left .work .statistic .playImg {
  149. width: 34rpx;
  150. height: 28rpx;
  151. }
  152. .personalBox .worksList .worksBox .left .work .statistic .num {
  153. font-size: 26rpx;
  154. color: #666666;
  155. }
  156. .personalBox .worksList .worksBox .goRead {
  157. padding: 6rpx 32rpx 8rpx;
  158. color: white;
  159. font-size: 32rpx;
  160. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  161. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  162. border-radius: 50rpx;
  163. }