user.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. page {
  2. background: #f4f4f4;
  3. min-height: 100%;
  4. }
  5. .container {
  6. background: #f4f4f4;
  7. min-height: 100%;
  8. }
  9. /* 用户信息 */
  10. .top {
  11. height: 350rpx;
  12. border-bottom: 1rpx solid #e1e1e1;
  13. margin-bottom: 10rpx;
  14. }
  15. .bg {
  16. filter: blur(1px);
  17. width: 100%;
  18. height: 345rpx;
  19. position: absolute;
  20. background-repeat: no-repeat;
  21. background-size: cover;
  22. background-position: center;
  23. }
  24. .profile-info {
  25. width: 100%;
  26. height: 350rpx;
  27. align-items: center;
  28. padding: 0 30.25rpx;
  29. position: absolute;
  30. }
  31. .profile-info .img {
  32. display: block;
  33. margin-left: auto;
  34. margin-right: auto;
  35. width: 50%;
  36. margin-top: 50rpx;
  37. }
  38. .profile-info .avatar {
  39. display: block;
  40. height: 150rpx;
  41. width: 150rpx;
  42. border-radius: 50%;
  43. margin-left: auto;
  44. margin-right: auto;
  45. border: 5rpx solid #fff;
  46. }
  47. .profile-info .info {
  48. height: 85rpx;
  49. text-align: center;
  50. margin-top: 20rpx;
  51. }
  52. .profile-info .name {
  53. display: block;
  54. height: 45rpx;
  55. line-height: 45rpx;
  56. color: #555;
  57. font-size: 37.5rpx;
  58. margin-top: 20rpx;
  59. }
  60. .profile-info .desc {
  61. color: #555;
  62. }
  63. /* 用户历史 */
  64. .userhis {
  65. height: auto;
  66. overflow: hidden;
  67. width: 100%;
  68. border-top: 1px solid #e1e1e1;
  69. }
  70. .userhis .day-item {
  71. height: auto;
  72. overflow: hidden;
  73. width: 100%;
  74. margin-bottom: 20rpx;
  75. }
  76. .userhis .day-hd {
  77. height: 94rpx;
  78. width: 100%;
  79. line-height: 94rpx;
  80. background: #fff;
  81. padding-left: 30rpx;
  82. color: #333;
  83. font-size: 28rpx;
  84. }
  85. .userhis .day-list {
  86. width: 100%;
  87. height: auto;
  88. overflow: hidden;
  89. background: #fff;
  90. padding-left: 30rpx;
  91. border-top: 1px solid #e1e1e1;
  92. }
  93. .userhis .item {
  94. height: 212rpx;
  95. width: 720rpx;
  96. background: #fff;
  97. padding: 30rpx 30rpx 30rpx 0;
  98. border-bottom: 1px solid #e1e1e1;
  99. }
  100. .userhis .item:last-child {
  101. border-bottom: 1px solid #fff;
  102. }
  103. .userhis .item .img {
  104. float: left;
  105. width: 150rpx;
  106. height: 150rpx;
  107. }
  108. .userhis .item .info {
  109. float: right;
  110. width: 540rpx;
  111. height: 150rpx;
  112. display: flex;
  113. flex-direction: column;
  114. justify-content: center;
  115. padding-left: 20rpx;
  116. }
  117. .userhis .item .info .name {
  118. font-size: 28rpx;
  119. color: #333;
  120. line-height: 40rpx;
  121. }
  122. .userhis .item .info .flex {
  123. display: flex;
  124. }
  125. .userhis .item .info .price {
  126. margin-top: 8rpx;
  127. font-size: 28rpx;
  128. color: #f94b4b;
  129. line-height: 40rpx;
  130. width: 160rpx;
  131. }
  132. .userhis .item .info .msg {
  133. display: flex;
  134. align-items: center;
  135. padding: 0 10rpx;
  136. width: auto;
  137. color: #999;
  138. overflow: hidden;
  139. font-size: 26rpx;
  140. line-height: 55rpx;
  141. margin-left: 100rpx;
  142. }
  143. /* 用户历史为空 */
  144. .result-empty {
  145. width: 100%;
  146. height: 76vh;
  147. padding-top: 200rpx;
  148. background: #fff;
  149. overflow: hidden;
  150. }
  151. .result-empty .icon {
  152. margin: 0 auto;
  153. display: block;
  154. width: 240rpx;
  155. height: 240rpx;
  156. }
  157. .result-empty .text {
  158. display: block;
  159. width: 100%;
  160. height: 40rpx;
  161. font-size: 28rpx;
  162. text-align: center;
  163. color: #999;
  164. }