index.module.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. .member-center {
  2. background: url('./images/bg.png') top center no-repeat;
  3. background-size: contain;
  4. min-height: 100vh;
  5. position: relative;
  6. :global {
  7. .van-nav-bar {
  8. background-color: transparent;
  9. }
  10. }
  11. .member_container {
  12. padding: 0 5px;
  13. // .title {
  14. // display: flex;
  15. // align-items: center;
  16. // font-size: 16px;
  17. // line-height: 28px;
  18. // font-weight: 500;
  19. // color: #333333;
  20. // &::before {
  21. // content: ' ';
  22. // width: 4px;
  23. // height: 17px;
  24. // background: var(--van-primary-color);
  25. // display: inline-block;
  26. // margin-right: 7px;
  27. // border-radius: 8px;
  28. // }
  29. // }
  30. }
  31. .level {
  32. width: 18px;
  33. height: 16px;
  34. }
  35. .userMember {
  36. width: auto;
  37. border-radius: 19px;
  38. background-color: transparent;
  39. .userImgSection {
  40. border: 2px solid #fff;
  41. background-color: transparent;
  42. margin-right: 12px;
  43. border-radius: 50%;
  44. }
  45. .userImg {
  46. width: 52px;
  47. height: 52px;
  48. border-radius: 50%;
  49. vertical-align: middle;
  50. overflow: hidden;
  51. }
  52. .userInfo {
  53. display: flex;
  54. align-items: center;
  55. color: #1E464F;
  56. padding-bottom: 5px;
  57. .name {
  58. font-size: 18px;
  59. padding-right: 5px;
  60. max-width: 100px;
  61. font-weight: bold;
  62. overflow: hidden;
  63. text-overflow: ellipsis;
  64. white-space: nowrap;
  65. }
  66. .phone {
  67. font-size: 14px;
  68. }
  69. }
  70. .timeRemaining {
  71. margin-top: 0;
  72. font-size: 14px;
  73. color: #c0c0c0;
  74. .remaining {
  75. color: #f7b500;
  76. padding: 0 5px;
  77. }
  78. }
  79. .member_time {
  80. display: flex;
  81. align-items: center;
  82. justify-content: space-between;
  83. color: #1E464F;
  84. }
  85. }
  86. .memberImgs {
  87. img {
  88. margin-bottom: 6px;
  89. width: 100%;
  90. }
  91. }
  92. // .intro {
  93. // background: url('./images/tip_bg.png') no-repeat center;
  94. // background-size: contain;
  95. // height: 142px;
  96. // font-size: 14px;
  97. // color: #bb6e3a;
  98. // p {
  99. // padding: 45px 25px 0;
  100. // text-align: justify;
  101. // line-height: 22px;
  102. // }
  103. // }
  104. .memberContainer {
  105. position: relative;
  106. padding: 0 14px 75px;
  107. z-index: 99;
  108. }
  109. .memberItem {
  110. display: flex;
  111. flex-direction: column;
  112. min-height: 131px;
  113. box-sizing: border-box;
  114. border-radius: 12px;
  115. background: url('./images/vip_bg.png') no-repeat center;
  116. background-size: contain;
  117. .title {
  118. padding: 25px 17px 0;
  119. font-size: 14px;
  120. color: #FFFFFF;
  121. span {
  122. margin-left: 6px;
  123. background: rgba(255, 255, 255, 0.73);
  124. border-radius: 4px;
  125. font-size: 12px;
  126. font-weight: 600;
  127. color: #1F82ED;
  128. line-height: 18px;
  129. padding: 1px 3px;
  130. }
  131. }
  132. .priceGroup {
  133. display: flex;
  134. align-items: baseline;
  135. padding: 25px 12px 9px;
  136. }
  137. .price {
  138. font-size: 30px;
  139. font-weight: 500;
  140. color: #fff;
  141. font-family: DINAlternate-Bold, DINAlternate;
  142. span {
  143. font-size: 22px;
  144. }
  145. }
  146. .originalPrice {
  147. margin-left: 8px;
  148. font-size: 14px;
  149. color: #fff !important;
  150. font-family: DINAlternate-Bold, DINAlternate;
  151. line-height: 16px;
  152. font-weight: 300;
  153. }
  154. }
  155. .btnGroup {
  156. position: fixed;
  157. bottom: 0;
  158. left: 0;
  159. right: 0;
  160. z-index: 100;
  161. background-color: #fff;
  162. display: flex;
  163. align-items: center;
  164. padding: 12px 16px;
  165. justify-content: space-between;
  166. border-top: 1px solid #f0f0f0;
  167. .btn {
  168. line-height: 38px;
  169. height: 38px;
  170. background: linear-gradient(220deg, #F5CBAB 0%, #FFCFC0 100%);
  171. padding: 0 17px;
  172. font-size: 16px;
  173. color: #772A27;
  174. }
  175. .priceSection {
  176. display: flex;
  177. align-items: center;
  178. font-size: 16px;
  179. color: #1a1a1a;
  180. .price {
  181. font-size: 18px;
  182. font-weight: bold;
  183. color: #ff3535;
  184. font-family: DINAlternate-Bold, DINAlternate;
  185. .priceUnit {
  186. font-size: 14px;
  187. }
  188. }
  189. }
  190. }
  191. }
  192. .memberDiscount {
  193. margin-top: 16px;
  194. position: relative;
  195. background: url('./images/discount_bg.png') no-repeat center;
  196. background-size: contain;
  197. display: flex;
  198. align-items: center;
  199. height: 44px;
  200. font-size: 16px;
  201. color: #ff7100;
  202. line-height: 18px;
  203. .discountAvatar {
  204. margin-left: 15px;
  205. width: 36px;
  206. height: 36px;
  207. border-radius: 50%;
  208. overflow: hidden;
  209. border: 1px solid #ffaf59;
  210. }
  211. .discountName {
  212. padding-left: 30px;
  213. max-width: 200px;
  214. white-space: nowrap;
  215. overflow: hidden;
  216. text-overflow: ellipsis;
  217. }
  218. .discountGift {
  219. position: absolute;
  220. right: 26px;
  221. top: 7px;
  222. width: 29px;
  223. height: 29px;
  224. }
  225. }