index.module.less 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. .member-center {
  2. background-color: #ffe5cc;
  3. min-height: 100vh;
  4. position: relative;
  5. :global {
  6. .van-nav-bar {
  7. background-color: transparent;
  8. }
  9. }
  10. .member_container {
  11. padding: 10px 14px 0;
  12. .title {
  13. display: flex;
  14. align-items: center;
  15. font-size: 16px;
  16. line-height: 28px;
  17. font-weight: 500;
  18. color: #333333;
  19. &::before {
  20. content: ' ';
  21. width: 4px;
  22. height: 17px;
  23. background: var(--van-primary-color);
  24. display: inline-block;
  25. margin-right: 7px;
  26. border-radius: 8px;
  27. }
  28. }
  29. }
  30. .level {
  31. width: 18px;
  32. height: 16px;
  33. }
  34. .userMember {
  35. background: url('./images/member_bg.png') no-repeat center #534754;
  36. background-size: cover;
  37. width: auto;
  38. border-radius: 10px;
  39. padding: 20px 12px 30px;
  40. .userImgSection {
  41. padding: 2px;
  42. border: 1px solid #feecd2;
  43. background-color: transparent;
  44. margin-right: 12px;
  45. border-radius: 50%;
  46. }
  47. .userImg {
  48. width: 46px;
  49. height: 46px;
  50. border-radius: 50%;
  51. vertical-align: middle;
  52. overflow: hidden;
  53. }
  54. .userInfo {
  55. display: flex;
  56. align-items: center;
  57. color: #fff;
  58. padding-bottom: 5px;
  59. .name {
  60. font-size: 18px;
  61. padding-right: 5px;
  62. max-width: 100px;
  63. overflow: hidden;
  64. text-overflow: ellipsis;
  65. white-space: nowrap;
  66. }
  67. .phone {
  68. font-size: 14px;
  69. }
  70. }
  71. .timeRemaining {
  72. margin-top: 0;
  73. font-size: 14px;
  74. color: #c0c0c0;
  75. .remaining {
  76. color: #f7b500;
  77. padding: 0 5px;
  78. }
  79. }
  80. .member_time {
  81. display: flex;
  82. align-items: center;
  83. justify-content: space-between;
  84. }
  85. }
  86. .intro {
  87. background: url('./images/tip_bg.png') no-repeat center;
  88. background-size: contain;
  89. height: 142px;
  90. font-size: 14px;
  91. color: #bb6e3a;
  92. p {
  93. padding: 45px 25px 0;
  94. text-align: justify;
  95. line-height: 22px;
  96. }
  97. }
  98. .memberContainer {
  99. // height: calc(100vh - 196px);
  100. // overflow-y: auto;
  101. background-color: #fff;
  102. border-radius: 18px 18px 0px 0px;
  103. position: relative;
  104. margin-top: -15px;
  105. padding: 0 14px 75px;
  106. z-index: 99;
  107. }
  108. .memberItem {
  109. padding-top: 20px;
  110. .title {
  111. font-size: 16px;
  112. color: #333333;
  113. font-weight: 500;
  114. span {
  115. color: #f7b500;
  116. }
  117. }
  118. }
  119. .member_function {
  120. display: flex;
  121. justify-content: space-between;
  122. flex-wrap: wrap;
  123. .function_item__content {
  124. height: 100%;
  125. }
  126. .function_item {
  127. width: 80px;
  128. padding: 12px 0;
  129. margin-top: 8px;
  130. border-radius: 8px;
  131. overflow: hidden;
  132. background-color: #faefe3;
  133. text-align: center;
  134. }
  135. .function_text {
  136. font-size: 12px;
  137. color: #814014;
  138. line-height: 16px;
  139. }
  140. }
  141. .system-list::-webkit-scrollbar {
  142. display: none; /* Chrome Safari */
  143. }
  144. .system-list {
  145. width: 100%;
  146. overflow-x: auto;
  147. overflow-y: hidden;
  148. display: flex;
  149. position: relative;
  150. user-select: none;
  151. box-sizing: content-box;
  152. padding-top: 16px;
  153. padding-bottom: 10px;
  154. margin-bottom: 10px;
  155. }
  156. .system-item {
  157. display: flex;
  158. flex-direction: column;
  159. // align-items: center;
  160. // justify-content: center;
  161. flex: 1 0 auto;
  162. // width: 96px;
  163. min-height: 120px;
  164. box-sizing: border-box;
  165. background: #ffffff;
  166. border-radius: 12px;
  167. border: 1px solid #e5e5e5;
  168. .title {
  169. font-weight: 500;
  170. font-size: 14px;
  171. color: #814014 !important;
  172. line-height: 20px;
  173. span {
  174. color: #814014 !important;
  175. }
  176. padding: 11px 0 9px;
  177. margin: 0 11px;
  178. // border-bottom: 1px solid #b1652e;
  179. &::after {
  180. border-color: rgba(177, 101, 46, 0.27);
  181. }
  182. }
  183. .priceGroup {
  184. display: flex;
  185. align-items: baseline;
  186. padding: 19px 12px 9px;
  187. }
  188. .price {
  189. font-size: 36px;
  190. font-weight: 500;
  191. color: #b1652e;
  192. span {
  193. font-size: 16px;
  194. }
  195. }
  196. .originalPrice {
  197. margin-left: 8px;
  198. font-size: 24px;
  199. color: #c59575 !important;
  200. line-height: 16px;
  201. font-weight: 300;
  202. }
  203. &.active {
  204. // background: linear-gradient(215deg, #ffe7c4 0%, rgba(250, 211, 156, 0.21) 100%);
  205. background: url('./images/vip_bg.png') no-repeat center center;
  206. background-size: cover;
  207. border: 1px solid #b1652e;
  208. position: relative;
  209. .title {
  210. color: #814014;
  211. }
  212. .price {
  213. color: #b1652e;
  214. }
  215. .originalPrice {
  216. color: #937059;
  217. }
  218. &::before {
  219. content: '\e728';
  220. font: 14px/1 'vant-icon';
  221. color: #fff;
  222. background-color: #b1652e;
  223. width: 27px;
  224. height: 18px;
  225. display: flex;
  226. align-items: center;
  227. justify-content: center;
  228. position: absolute;
  229. top: -1px;
  230. right: -1px;
  231. border-radius: 0 12px 0 12px;
  232. }
  233. }
  234. }
  235. .btnGroup {
  236. position: fixed;
  237. bottom: 0;
  238. left: 0;
  239. right: 0;
  240. z-index: 100;
  241. background-color: #fff;
  242. display: flex;
  243. align-items: center;
  244. padding: 12px 16px;
  245. justify-content: space-between;
  246. border-top: 1px solid #f0f0f0;
  247. .btn {
  248. padding: 0 22px;
  249. color: #7a3104 !important;
  250. }
  251. .priceSection {
  252. display: flex;
  253. align-items: center;
  254. font-size: 16px;
  255. color: #1a1a1a;
  256. .price {
  257. font-size: 18px;
  258. font-weight: bold;
  259. color: #ff3535;
  260. .priceUnit {
  261. font-size: 14px;
  262. }
  263. }
  264. }
  265. }
  266. }
  267. .memberDiscount {
  268. margin-top: 16px;
  269. position: relative;
  270. background: url('./images/discount_bg.png') no-repeat center;
  271. background-size: contain;
  272. display: flex;
  273. align-items: center;
  274. height: 44px;
  275. font-size: 16px;
  276. color: #ff7100;
  277. line-height: 18px;
  278. .discountAvatar {
  279. margin-left: 15px;
  280. width: 36px;
  281. height: 36px;
  282. border-radius: 50%;
  283. overflow: hidden;
  284. border: 1px solid #ffaf59;
  285. }
  286. .discountName {
  287. padding-left: 30px;
  288. max-width: 200px;
  289. white-space: nowrap;
  290. overflow: hidden;
  291. text-overflow: ellipsis;
  292. }
  293. .discountGift {
  294. position: absolute;
  295. right: 26px;
  296. top: 7px;
  297. width: 29px;
  298. height: 29px;
  299. }
  300. }