index.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /**index.wxss**/
  2. /* 隐藏内容 */
  3. .none {
  4. display: none;
  5. }
  6. .my {
  7. width: 100%;
  8. padding: 0 15rpx;
  9. box-sizing: border-box;
  10. }
  11. .message,
  12. .medal,
  13. .ranking {
  14. width: 100%;
  15. margin: 20rpx 0;
  16. border-radius: 25rpx;
  17. padding: 32rpx 24rpx;
  18. box-sizing: border-box;
  19. background: #fff;
  20. }
  21. .user {
  22. display: flex;
  23. justify-content: space-between;
  24. border-bottom: 2rpx solid #CDCED3;
  25. padding-bottom: 20rpx;
  26. }
  27. .head {
  28. display: flex;
  29. align-items: center;
  30. }
  31. .left {
  32. display: flex;
  33. flex-direction: column;
  34. justify-content: center;
  35. margin-left: 34rpx;
  36. }
  37. .userinfo-avatar {
  38. width: 86rpx;
  39. height: 86rpx;
  40. border-radius: 50%;
  41. }
  42. .name {
  43. height:44rpx;
  44. font-size: 36rpx;
  45. font-weight: 600;
  46. }
  47. .LV {
  48. font-size: 24rpx;
  49. }
  50. .student {
  51. height:34rpx;
  52. font-size: 28rpx;
  53. color: #8C8C8C;
  54. margin-top: 10rpx;
  55. }
  56. .grade {
  57. width: 146rpx;
  58. height: 46rpx;
  59. font-size: 28rpx;
  60. font-weight: bolder;
  61. color: #878787;
  62. border: 2rpx solid #CECDD2;
  63. border-radius: 30rpx;
  64. text-align: center;
  65. line-height: 48rpx;
  66. }
  67. .personal {
  68. display: flex;
  69. margin-top: 34rpx;
  70. }
  71. .personal .particulars {
  72. flex: 1;
  73. display: flex;
  74. flex-direction: column;
  75. text-align: center;
  76. }
  77. /*排名*/
  78. .ranking {
  79. position: relative;
  80. }
  81. .ranking .title text{
  82. font-size: 36rpx;
  83. font-weight: 600;
  84. }
  85. .ranking-con {
  86. margin-bottom: 70rpx;
  87. }
  88. .rank {
  89. display: flex;
  90. justify-content: space-between;
  91. font-size: 28rpx;
  92. margin-top: 30rpx;
  93. }
  94. .particular {
  95. position: absolute;
  96. right: 30rpx;
  97. bottom: 30rpx;
  98. color: #5E86F8;
  99. font-size: 28rpx;
  100. }
  101. /*勋章*/
  102. .medal {
  103. padding: 28rpx;
  104. }
  105. .medal .title {
  106. display: flex;
  107. justify-content: space-between;
  108. align-items: center;
  109. }
  110. .medal .title text:nth-child(1){
  111. font-size: 36rpx;
  112. font-weight: 600;
  113. }
  114. .medal .title text:nth-child(2){
  115. font-size: 28rpx;
  116. color: #878787;
  117. }
  118. .img {
  119. display: flex;
  120. margin-top: 38rpx;
  121. }
  122. .img view {
  123. flex: 1;
  124. display: flex;
  125. flex-direction: column;
  126. justify-content: center;
  127. align-items: center;
  128. }
  129. .img image {
  130. width: 100rpx;
  131. height: 100rpx;
  132. }
  133. .img text {
  134. font-size: 24rpx;
  135. color: #878787;
  136. margin-top: 10rpx;
  137. }
  138. .personal .particulars text:nth-child(1) {
  139. font-size: 24rpx;
  140. color: #8D8C91;
  141. }
  142. .personal .particulars text:nth-child(2) {
  143. font-size: 28rpx;
  144. color: #000;
  145. font-weight: 600;
  146. }
  147. .questions, .share {
  148. width: 100%;
  149. margin-top: 40rpx;
  150. }
  151. .questions text, .share text {
  152. width: 100%;
  153. display: inline-block;
  154. border: 1px solid #ccc;
  155. background: #fff;
  156. }
  157. .questions view, .share view {
  158. height: 1400rpx;
  159. margin-top: 20rpx;
  160. background: red;
  161. }
  162. .adsorb {
  163. position: fixed;
  164. left: 0;
  165. top: 84rpx;
  166. }