index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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,.medal {
  12. width: 100%;
  13. margin: 20rpx 0;
  14. border-radius: 25rpx;
  15. padding: 32rpx 24rpx;
  16. box-sizing: border-box;
  17. background: #fff;
  18. }
  19. .user {
  20. display: flex;
  21. justify-content: space-between;
  22. border-bottom: 2rpx solid #CDCED3;
  23. padding-bottom: 20rpx;
  24. }
  25. .head {
  26. display: flex;
  27. align-items: center;
  28. }
  29. .left {
  30. display: flex;
  31. flex-direction: column;
  32. justify-content: center;
  33. margin-left: 34rpx;
  34. }
  35. .userinfo-avatar {
  36. width: 86rpx;
  37. height: 86rpx;
  38. border-radius: 50%;
  39. }
  40. .name {
  41. height:44rpx;
  42. font-size: 36rpx;
  43. font-weight: 600;
  44. }
  45. .LV {
  46. font-size: 24rpx;
  47. }
  48. .student {
  49. height:34rpx;
  50. font-size: 28rpx;
  51. color: #8C8C8C;
  52. margin-top: 10rpx;
  53. }
  54. .grade {
  55. width: 128rpx;
  56. height: 46rpx;
  57. font-size: 28rpx;
  58. font-weight: bolder;
  59. color: #878787;
  60. border: 2rpx solid #CECDD2;
  61. border-radius: 30rpx;
  62. text-align: center;
  63. line-height: 48rpx;
  64. }
  65. .personal {
  66. display: flex;
  67. margin-top: 34rpx;
  68. }
  69. .personal .particulars {
  70. flex: 1;
  71. display: flex;
  72. flex-direction: column;
  73. text-align: center;
  74. }
  75. /*勋章*/
  76. .medal {
  77. padding: 28rpx;
  78. }
  79. .medal .title {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. }
  84. .medal .title text:nth-child(1){
  85. font-size: 36rpx;
  86. font-weight: 600;
  87. }
  88. .medal .title text:nth-child(2){
  89. font-size: 28rpx;
  90. color: #878787;
  91. }
  92. .img {
  93. display: flex;
  94. margin-top: 38rpx;
  95. }
  96. .img view {
  97. flex: 1;
  98. display: flex;
  99. flex-direction: column;
  100. justify-content: center;
  101. align-items: center;
  102. }
  103. .img image {
  104. width: 100rpx;
  105. height: 100rpx;
  106. }
  107. .img text {
  108. font-size: 24rpx;
  109. color: #878787;
  110. margin-top: 10rpx;
  111. }
  112. .personal .particulars text:nth-child(1) {
  113. font-size: 24rpx;
  114. color: #8D8C91;
  115. }
  116. .personal .particulars text:nth-child(2) {
  117. font-size: 28rpx;
  118. color: #000;
  119. font-weight: 600;
  120. }
  121. .questions, .share {
  122. width: 100%;
  123. margin-top: 40rpx;
  124. }
  125. .questions text, .share text {
  126. width: 100%;
  127. display: inline-block;
  128. border: 1px solid #ccc;
  129. background: #fff;
  130. }
  131. .questions view, .share view {
  132. height: 1400rpx;
  133. margin-top: 20rpx;
  134. background: red;
  135. }
  136. .adsorb {
  137. position: fixed;
  138. left: 0;
  139. top: 84rpx;
  140. }