user.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page {
  12. height: 100%;
  13. }
  14. .top-image {
  15. position: relative;
  16. height: 370rpx;
  17. width: 750rpx;
  18. }
  19. .top-image image {
  20. width: 100%;
  21. }
  22. .user-wrap {
  23. position: absolute;
  24. width: 692rpx;
  25. height: 293rpx;
  26. background: #FFFFFF;
  27. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  28. border-radius: 28rpx;
  29. top: 83rpx;
  30. left: 0;
  31. right: 0;
  32. margin: auto;
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: center;
  36. align-items: center;
  37. }
  38. .user-wrap .user-avatar {
  39. width: 132rpx;
  40. height: 132rpx;
  41. border-radius: 50%;
  42. }
  43. .user-wrap .user-name {
  44. text-align: center;
  45. width: 300rpx;
  46. font-size: 30rpx;
  47. font-weight: bold;
  48. color: #333333;
  49. padding: 15rpx 0;
  50. }
  51. .user-wrap .user-level {
  52. font-size: 20rpx;
  53. font-weight: 500;
  54. color: #FF7E3E;
  55. }
  56. .u-up {
  57. width: 690rpx;
  58. height: 90rpx;
  59. margin: 20rpx auto;
  60. position: relative;
  61. }
  62. .u-up image {
  63. width: 690rpx;
  64. height: 90rpx;
  65. }
  66. .u-up .u-up-tit {
  67. font-size: 30rpx;
  68. font-weight: bold;
  69. color: #6A4714;
  70. line-height: 90rpx;
  71. position: absolute;
  72. top: 0;
  73. left: 80rpx;
  74. }
  75. .u-up .u-up-btn {
  76. position: absolute;
  77. right: 20rpx;
  78. top: 0;
  79. bottom: 0;
  80. margin: auto;
  81. width: 148rpx;
  82. height: 50rpx;
  83. line-height: 50rpx;
  84. border-radius: 25rpx;
  85. font-size: 28rpx;
  86. font-weight: 500;
  87. color: #F0E1C9;
  88. text-align: center;
  89. background: linear-gradient(-90deg, #8C5F1D 0%, #8C5F1C 77%, #875916 99%);
  90. }
  91. .my-box {
  92. width: 690rpx;
  93. height: 246rpx;
  94. background: #FFFFFF;
  95. box-shadow: 0px 4rpx 13rpx 0px rgba(229, 229, 229, 0.46);
  96. border-radius: 20rpx;
  97. margin: 20rpx auto;
  98. }
  99. .my-box .box-tit {
  100. font-size: 28rpx;
  101. font-weight: bold;
  102. color: #333333;
  103. padding: 0 25rpx;
  104. height: 80rpx;
  105. }
  106. .my-box .box-tit .left-img {
  107. width: 33rpx;
  108. height: 32rpx;
  109. }
  110. .my-box .box-tit view {
  111. padding-left: 20rpx;
  112. flex-grow: 1;
  113. }
  114. .my-box .box-tit .right-img {
  115. width: 13rpx;
  116. height: 23rpx;
  117. }
  118. .my-box .box-msg {
  119. height: 165rpx;
  120. }
  121. .my-box .box-msg .msg-item {
  122. width: 33%;
  123. flex-direction: column;
  124. justify-content: center;
  125. align-items: center;
  126. }
  127. .my-box .box-msg .msg-item .msg-val {
  128. font-size: 36px;
  129. font-weight: bold;
  130. color: #333333;
  131. }
  132. .my-box .box-msg .msg-item .msg-name {
  133. font-size: 22rpx;
  134. font-weight: 500;
  135. color: #666666;
  136. }
  137. .user-list {
  138. width: 691rpx;
  139. height: 104rpx;
  140. background: #FFFFFF;
  141. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  142. border-radius: 28rpx;
  143. margin: 20rpx auto;
  144. padding: 0 25rpx;
  145. }
  146. .user-list .left-img {
  147. width: 40rpx;
  148. height: 40rpx;
  149. }
  150. .user-list view {
  151. padding-left: 20rpx;
  152. flex-grow: 1;
  153. font-size: 29rpx;
  154. font-weight: bold;
  155. color: #5D5D5D;
  156. }
  157. .user-list .right-img {
  158. width: 13rpx;
  159. height: 23rpx;
  160. }