index.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /**index.wxss**/
  2. .container {
  3. width: 100%;
  4. height: 100%;
  5. background: #FAF8FB;
  6. padding-top:72rpx;
  7. }
  8. /*菜单*/
  9. .menu{
  10. position: fixed;
  11. top: 0;
  12. left: 0;
  13. width: 100%;
  14. z-index: 99;
  15. background: #FAF8FB;
  16. }
  17. .top-nav{
  18. white-space: nowrap;
  19. }
  20. .top-btn{
  21. position: relative;
  22. display: inline-block;
  23. padding: 12rpx 20rpx;
  24. font-size: 36rpx;
  25. color: #878787;
  26. }
  27. .top-hoverd-btn {
  28. color: #000;
  29. }
  30. .striping {
  31. position: absolute;
  32. left: 50%;
  33. bottom: 0;
  34. transform: translateX(-50%);
  35. width: 26rpx;
  36. border-bottom: #000 solid 6rpx;
  37. display: none;
  38. }
  39. .top-hoverd-striping {
  40. display: block;
  41. }
  42. /* 隐藏内容 */
  43. .none {
  44. display: none;
  45. }
  46. /*个人一些信息*/
  47. .content {
  48. height:100%;
  49. }
  50. .content scroll-view{
  51. height: 100%;
  52. }
  53. ::-webkit-scrollbar{
  54. width: 0;
  55. height: 0;
  56. color: transparent;
  57. }
  58. .my,
  59. .recommend,
  60. .art {
  61. position: relative;
  62. width: 100%;
  63. padding: 0 15rpx;
  64. box-sizing: border-box;
  65. overflow: hidden;
  66. }
  67. .message,.medal {
  68. width: 100%;
  69. margin: 20rpx 0;
  70. border-radius: 25rpx;
  71. padding: 32rpx 24rpx;
  72. box-sizing: border-box;
  73. background: #fff;
  74. }
  75. .user {
  76. display: flex;
  77. justify-content: space-between;
  78. border-bottom: 2rpx solid #CDCED3;
  79. padding-bottom: 20rpx;
  80. }
  81. .head {
  82. display: flex;
  83. align-items: center;
  84. }
  85. .left {
  86. display: flex;
  87. flex-direction: column;
  88. justify-content: center;
  89. margin-left: 34rpx;
  90. }
  91. .userinfo-avatar {
  92. width: 86rpx;
  93. height: 86rpx;
  94. border-radius: 50%;
  95. }
  96. .name {
  97. height:44rpx;
  98. font-size: 36rpx;
  99. font-weight: 600;
  100. }
  101. .LV {
  102. font-size: 24rpx;
  103. }
  104. .student {
  105. height:34rpx;
  106. font-size: 28rpx;
  107. color: #8C8C8C;
  108. margin-top: 10rpx;
  109. }
  110. .grade {
  111. width: 128rpx;
  112. height: 46rpx;
  113. font-size: 28rpx;
  114. font-weight: bolder;
  115. color: #878787;
  116. border: 2rpx solid #CECDD2;
  117. border-radius: 30rpx;
  118. text-align: center;
  119. line-height: 48rpx;
  120. }
  121. .personal {
  122. display: flex;
  123. margin-top: 34rpx;
  124. }
  125. .personal .particulars {
  126. flex: 1;
  127. display: flex;
  128. flex-direction: column;
  129. text-align: center;
  130. }
  131. /*勋章*/
  132. .medal {
  133. padding: 28rpx;
  134. }
  135. .medal .title {
  136. display: flex;
  137. justify-content: space-between;
  138. align-items: center;
  139. }
  140. .medal .title text:nth-child(1){
  141. font-size: 36rpx;
  142. font-weight: 600;
  143. }
  144. .medal .title text:nth-child(2){
  145. font-size: 28rpx;
  146. color: #878787;
  147. }
  148. .img {
  149. display: flex;
  150. margin-top: 38rpx;
  151. }
  152. .img view {
  153. flex: 1;
  154. display: flex;
  155. flex-direction: column;
  156. justify-content: center;
  157. align-items: center;
  158. }
  159. .img image {
  160. width: 100rpx;
  161. height: 100rpx;
  162. }
  163. .img text {
  164. font-size: 24rpx;
  165. color: #878787;
  166. margin-top: 10rpx;
  167. }
  168. .personal .particulars text:nth-child(1) {
  169. font-size: 24rpx;
  170. color: #8D8C91;
  171. }
  172. .personal .particulars text:nth-child(2) {
  173. font-size: 28rpx;
  174. color: #000;
  175. font-weight: 600;
  176. }
  177. .questions, .share {
  178. width: 100%;
  179. margin-top: 40rpx;
  180. }
  181. .questions text, .share text {
  182. width: 100%;
  183. display: inline-block;
  184. border: 1px solid #ccc;
  185. background: #fff;
  186. }
  187. .questions view, .share view {
  188. height: 1400rpx;
  189. margin-top: 20rpx;
  190. background: red;
  191. }
  192. .adsorb {
  193. position: fixed;
  194. left: 0;
  195. top: 84rpx;
  196. }