微信

page.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. .mainPage{
  2. overflow-y: scroll;
  3. overflow-x: hidden;
  4. }
  5. .loading{
  6. width: 100%;
  7. height: 100%;
  8. display: flex;
  9. justify-content: center;
  10. align-items: center;
  11. }
  12. .long{
  13. margin-bottom: .65rem;
  14. }
  15. .user-card{
  16. width: 3.35rem;
  17. background:rgba(255,255,255,1);
  18. box-shadow: 0px 0px .1rem 0px rgba(0,0,0,.1);
  19. border-radius: 8px;
  20. position: absolute;
  21. top: .35rem;
  22. left: 50%;
  23. transform: translateX(-50%);
  24. z-index: 3;
  25. padding: .2rem .2rem .05rem .2rem;
  26. box-sizing: border-box;
  27. >div:nth-of-type(1){
  28. display: flex;
  29. margin-bottom: .1rem;
  30. img{
  31. width: .56rem;
  32. height: .56rem;
  33. margin-right: .1rem;
  34. border-radius: 50%;
  35. }
  36. div{
  37. color: #7D7D7D;
  38. font-size: .14rem;
  39. }
  40. .user-name{
  41. color: #000;
  42. font-size: .18rem;
  43. }
  44. }
  45. .code{
  46. text-align: center;
  47. div{
  48. color: #999999;
  49. text-align: left;
  50. }
  51. }
  52. .bind{
  53. margin: .1rem;
  54. span:nth-of-type(1){
  55. color: #7D7D7D;
  56. font-size: .14rem;
  57. }
  58. span:nth-of-type(2){
  59. border:1px solid #FC6243;
  60. padding: .02rem .1rem .03rem;
  61. border-radius: .2rem;
  62. color: #FC6243;
  63. margin-left: .1rem;
  64. }
  65. }
  66. }
  67. .userTop_view {
  68. position: relative;
  69. height: 1.7rem;
  70. .gradient_bg {
  71. position: absolute;
  72. width: 100%;
  73. height: 1.7rem;
  74. background-image: linear-gradient(24deg, #fa508c 0%, #ffc86e 100%);
  75. z-index: 2;
  76. }
  77. .zIndex_bg {
  78. position: absolute;
  79. bottom: -.6rem;
  80. left: 0;
  81. width: 120%;
  82. height: .6rem;
  83. transform: rotate(351.5deg);
  84. transform-origin: bottom left;
  85. z-index: 3;
  86. background-color: #fff;
  87. }
  88. .userAvatar_Border {
  89. position: absolute;
  90. bottom: -0.25rem;
  91. left: 50%;
  92. border: 0.1rem solid rgba(255, 255, 255, 0.2);
  93. transform: translateX(-50%);
  94. width: 1rem;
  95. height: 1rem;
  96. z-index: 3;
  97. border-radius: 50%;
  98. }
  99. .userAvatar {
  100. width: 1rem;
  101. height: 1rem;
  102. background-color: #000;
  103. box-sizing: border-box;
  104. border-radius: 50%;
  105. text-align: center;
  106. img {
  107. display: inline-block;
  108. vertical-align: middle;
  109. border-radius: 50%;
  110. }
  111. }
  112. .uesr-info {
  113. position: absolute;
  114. bottom: -1rem;
  115. left: 0;
  116. width: 100%;
  117. z-index: 4;
  118. .user-name {
  119. font-size: .24rem;
  120. text-align: center;
  121. color:rgba(0,0,0,1);
  122. }
  123. .mobile{
  124. color:rgba(125,125,125,1);
  125. font-size: .2rem;
  126. padding-top: .1rem;
  127. text-align: center;
  128. }
  129. }
  130. }
  131. .vip-privilege{
  132. height: 1.2rem;
  133. margin: 0 .25rem;
  134. background:rgba(255,255,255,1);
  135. border-radius:8px;
  136. box-sizing: border-box;
  137. .privilege-item {
  138. display: flex;
  139. flex-flow: column nowrap;
  140. justify-content: center;
  141. align-items: center;
  142. position: relative;
  143. .icon-01{
  144. position: absolute;
  145. top: .05rem;
  146. right: .05rem;
  147. font-size: .18rem;
  148. }
  149. .img-box {
  150. width: 0.24rem;
  151. height: 0.18rem;
  152. }
  153. span:nth-of-type(1){
  154. font-size: .14rem;
  155. color:rgba(102,102,102,1);
  156. padding: 0.08rem 0 0.04rem;
  157. }
  158. span:nth-of-type(2){
  159. font-size: 12px;
  160. color:rgba(153,153,153,1);
  161. }
  162. }
  163. }
  164. .userCenter-menu{
  165. padding: 0 0.25rem 0.2rem;
  166. box-sizing: border-box;
  167. .menu-item{
  168. justify-content: space-between;
  169. padding: 0.1rem 0.05rem;
  170. border-bottom: 1px solid rgba(242,242,242,1);
  171. span,i{
  172. font-size: .14rem;
  173. color:rgba(102,102,102,1);
  174. }
  175. }
  176. }