index.wxss 3.7 KB

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