index.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. %relatedItem {
  2. width: 100%;
  3. height: 108rpx;
  4. border-bottom: 2rpx solid #f1f1f1;
  5. @include flex(space-between, null, null);
  6. .item-left {
  7. @include flex(center, null, 16rpx);
  8. image {
  9. width: 44rpx;
  10. height: 44rpx;
  11. display: block;
  12. }
  13. text {
  14. font-size: 28rpx;
  15. color: rgba(0, 0, 0, 0.9);
  16. }
  17. }
  18. .item-right {
  19. @include flex(center, null, 20rpx);
  20. text {
  21. font-size: 24rpx;
  22. font-weight: 500;
  23. color: rgba(0, 0, 0, 0.6);
  24. }
  25. }
  26. }
  27. .user {
  28. width: 100vw;
  29. min-height: 100vh;
  30. background-color: rgb(247, 247, 247);
  31. position: relative;
  32. .pos-box {
  33. position: relative;
  34. z-index: 2;
  35. box-sizing: border-box;
  36. .user-top {
  37. width: 100%;
  38. color: #000000;
  39. font-size: 32rpx;
  40. @include flex(center, null, null);
  41. }
  42. .box-container {
  43. margin-top: 48rpx;
  44. padding: 0 32rpx;
  45. box-sizing: border-box;
  46. .user-info {
  47. width: 100%;
  48. @include flex(null, null, 32rpx);
  49. position: relative;
  50. .info-image {
  51. position: relative;
  52. .img {
  53. width: 128rpx;
  54. height: 128rpx;
  55. padding: 5rpx;
  56. box-sizing: border-box;
  57. border-radius: 50%;
  58. background-color: rgb(255, 255, 255);
  59. @include flex(center);
  60. image {
  61. width: 118rpx;
  62. height: 118rpx;
  63. border-radius: 50%;
  64. }
  65. }
  66. .info-switch {
  67. width: 32rpx;
  68. height: 32rpx;
  69. position: absolute;
  70. right: 6rpx;
  71. bottom: 0;
  72. image {
  73. width: 100%;
  74. height: 100%;
  75. }
  76. }
  77. }
  78. .info-text {
  79. height: 128rpx;
  80. padding-top: 16rpx;
  81. box-sizing: border-box;
  82. @include flex(space-between, column, null);
  83. align-items: flex-start;
  84. .text-title {
  85. color: rgba(0, 0, 0, 0.9);
  86. font-weight: 600;
  87. font-size: 36rpx;
  88. }
  89. .text-name {
  90. background: rgba(255, 255, 255, 0.4);
  91. padding: 8rpx 16rpx;
  92. color: #3d3d3d;
  93. font-size: 24rpx;
  94. border-radius: 40rpx;
  95. text {
  96. &:nth-of-type(1) {
  97. margin-right: 16rpx;
  98. }
  99. }
  100. }
  101. }
  102. .notice {
  103. width: 48rpx;
  104. height: 48rpx;
  105. position: absolute;
  106. top: 10rpx;
  107. right: 8rpx;
  108. }
  109. }
  110. .user-money {
  111. width: 100%;
  112. height: 260rpx;
  113. position: relative;
  114. margin-top: 32rpx;
  115. border-radius: 16rpx;
  116. background: linear-gradient(180deg, #fff4f0 0%, #ffffff 17%);
  117. .money-bg {
  118. position: absolute;
  119. top: 0;
  120. left: 0;
  121. width: 100%;
  122. height: 260rpx;
  123. image {
  124. width: 100%;
  125. height: 260rpx;
  126. }
  127. }
  128. .money-container {
  129. width: 100%;
  130. height: 100%;
  131. padding: 0 32rpx;
  132. box-sizing: border-box;
  133. padding-top: 48rpx;
  134. box-sizing: border-box;
  135. .money-top {
  136. @include flex(center, null, null);
  137. .top-box {
  138. flex: 1;
  139. @include flex(center, column, 8rpx);
  140. text {
  141. &:nth-of-type(1) {
  142. font-size: 36rpx;
  143. color: #ef530e;
  144. font-weight: 600;
  145. }
  146. &:nth-of-type(2) {
  147. font-size: 28rpx;
  148. color: rgba(0, 0, 0, 0.4);
  149. }
  150. }
  151. }
  152. }
  153. .money-bottom {
  154. width: 100%;
  155. height: 76rpx;
  156. border-top: 2rpx solid #f1f1f1;
  157. @include flex(space-between, null, null);
  158. margin-top: 44rpx;
  159. view {
  160. font-size: 24rpx;
  161. &:nth-of-type(1) {
  162. color: rgba(0, 0, 0, 0.9);
  163. }
  164. &:nth-of-type(2) {
  165. @include flex(center, null, 4rpx);
  166. color: rgba(0, 0, 0, 0.4);
  167. }
  168. }
  169. }
  170. }
  171. }
  172. .user-account {
  173. width: 100%;
  174. height: 160rpx;
  175. padding: 32rpx;
  176. box-sizing: border-box;
  177. border-radius: 16rpx;
  178. @include flex(space-between, null);
  179. background-color: #ffffff;
  180. margin-top: 32rpx;
  181. .account-item {
  182. flex: 1;
  183. @include flex(center, column, 20rpx);
  184. image {
  185. width: 48rpx;
  186. height: 48rpx;
  187. }
  188. text {
  189. font-size: 28rpx;
  190. color: rgba(0, 0, 0, 0.4);
  191. }
  192. }
  193. }
  194. .user-related {
  195. margin-top: 32rpx;
  196. width: 100%;
  197. border-radius: 16rpx;
  198. padding: 0 32rpx;
  199. box-sizing: border-box;
  200. background-color: #ffffff;
  201. .related-item {
  202. @extend %relatedItem;
  203. }
  204. }
  205. .user-setup {
  206. margin-top: 32rpx;
  207. width: 100%;
  208. border-radius: 16rpx;
  209. padding: 0 32rpx;
  210. box-sizing: border-box;
  211. background-color: #ffffff;
  212. .related-item {
  213. @extend %relatedItem;
  214. }
  215. }
  216. }
  217. }
  218. .bg-box {
  219. width: 100vw;
  220. position: absolute;
  221. top: 0;
  222. left: 0;
  223. image {
  224. width: 100vw;
  225. }
  226. }
  227. }