new.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. @charset "utf-8";
  2. //font
  3. $bg-color:#f8f9fa; // 全局背景色
  4. $tag-bg:#f2f2fa; // 标签背景色
  5. $highlight-color: #f0f0f0; // 弱线分割
  6. $grey-color: #efefef; // 列表分隔
  7. $grey-border-bottom: 1px solid $highlight-color; // 列表底部分隔线
  8. $red:#ff5c5c; // 品牌色
  9. $black202020:#202020; // 大黑
  10. $black7a7a7a:#7a7a7a; // 中黑
  11. $blackafafaf:#afafaf; // 灰
  12. $efefef:#efefef;
  13. $f0f0f0:#f0f0f0;
  14. // 我的界面嵌套样式css
  15. // 头部个人消息
  16. .top_info{
  17. width: 100%;
  18. background-color: #fff;
  19. background-image: url('../static/img/bg-me.png');
  20. background-repeat: no-repeat;
  21. background-size: 100%;
  22. margin-bottom: 1rem;
  23. height: auto;
  24. .user_info{
  25. padding: 1rem 0.5rem;
  26. padding-left: 2rem;
  27. padding-top: 6rem;
  28. h2{
  29. width: 6rem;
  30. height: 6rem;
  31. border-radius: 50%;
  32. float: left;
  33. margin-right: 1rem;
  34. display:flex;
  35. align-items:center;
  36. }
  37. h2 img{
  38. width: 100%;
  39. }
  40. div{
  41. float: left;
  42. // display:flex;
  43. align-items:center;
  44. p{
  45. display: block;
  46. color: #fff;
  47. }
  48. }
  49. }
  50. // end:头像姓名结束
  51. // 会员尊享
  52. .verify{
  53. border-radius: 0.8rem;
  54. padding:0 1rem;
  55. margin: 0 1.5rem;
  56. box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  57. background-color: #fff;
  58. height: 6rem;
  59. line-height: 6rem;
  60. position: relative;
  61. margin-top: 1rem;
  62. p{
  63. color: #d4ae5b;
  64. font-size: 1.8rem;
  65. font-weight: bold;
  66. padding-left: 3rem;
  67. &::after{
  68. content: '';
  69. display: block;
  70. position: absolute;
  71. width: 2.2rem;
  72. height: 2.2rem;
  73. left: 1rem;
  74. top: 50%;
  75. margin-top: -1.1rem;
  76. background-image: url('../static/img/icon_V.png');
  77. background-repeat: no-repeat;
  78. background-size: 100%;
  79. }
  80. }
  81. a{
  82. padding: 0 0.8rem;
  83. border-radius: 0.5rem;
  84. color: #fff;
  85. font-weight: bold;
  86. height: 3rem;
  87. line-height: 3rem;
  88. position: absolute;
  89. top: 50%;
  90. right: 2rem;
  91. margin-top: -1.5rem;
  92. font-size: 1.5rem;
  93. }
  94. }
  95. // end:会员尊享结束
  96. .real_name{
  97. padding-left: 1.5rem;
  98. background-color: #fff;
  99. }
  100. }
  101. // 菜单列表
  102. .menu-list{
  103. margin-bottom: 1rem;
  104. background-color: #fff;
  105. li{
  106. position: relative;
  107. height: 5.5rem;
  108. line-height: 5.5rem;
  109. z-index: 99;
  110. padding-left: 1.5rem;
  111. &:last-child::after{
  112. height: 0;
  113. }
  114. &::after{
  115. content: '';
  116. display: block;
  117. background-color: $efefef;
  118. position: relative;
  119. height: 0.05rem;
  120. left: 0;
  121. right: 0;
  122. }
  123. img{
  124. width: 2.2rem;
  125. height: 2.2rem;
  126. position: absolute;
  127. top: 50%;
  128. margin-top: -1.1rem;
  129. }
  130. a{
  131. position: absolute;
  132. top: 0;
  133. left: 0;
  134. right: 0;
  135. bottom: 0;
  136. background-color: rgba($color: #000000, $alpha: 0);
  137. z-index: 100;
  138. }
  139. p{
  140. padding-left: 3rem;
  141. // &::before{
  142. // content: '';
  143. // display: block;
  144. // background-color: pink;
  145. // position: absolute;
  146. // width: 2.2rem;
  147. // height: 2.2rem;
  148. // left: 0;
  149. // top: 50%;
  150. // margin-top: -1.1rem;
  151. // }
  152. &::after{
  153. content: '';
  154. display: block;
  155. position: absolute;
  156. width: 0.6rem;
  157. height: 1.2rem;
  158. right: 1.5rem;
  159. top: 50%;
  160. margin-top: -0.6px;
  161. background-image: url('../static/img/arr_back_next.png');
  162. background-repeat: no-repeat;
  163. background-size: 100%;
  164. }
  165. }
  166. }
  167. }