index.module.less 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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. .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. // height: calc(100vh - 196px);
  106. // overflow-y: auto;
  107. background-color: #fff;
  108. border-radius: 18px 18px 0px 0px;
  109. position: relative;
  110. margin-top: -15px;
  111. padding: 0 14px 75px;
  112. z-index: 99;
  113. }
  114. .memberItem {
  115. padding-top: 20px;
  116. .title {
  117. font-size: 16px;
  118. color: #333333;
  119. font-weight: 500;
  120. span {
  121. color: #f7b500;
  122. }
  123. }
  124. }
  125. .member_function {
  126. display: flex;
  127. justify-content: space-between;
  128. flex-wrap: wrap;
  129. .function_item__content {
  130. height: 100%;
  131. }
  132. .function_item {
  133. width: 80px;
  134. padding: 12px 0;
  135. margin-top: 8px;
  136. border-radius: 8px;
  137. overflow: hidden;
  138. background-color: #faefe3;
  139. text-align: center;
  140. }
  141. .function_text {
  142. font-size: 12px;
  143. color: #814014;
  144. line-height: 16px;
  145. }
  146. }
  147. .system-list::-webkit-scrollbar {
  148. display: none; /* Chrome Safari */
  149. }
  150. .system-list {
  151. width: 100%;
  152. overflow-x: auto;
  153. overflow-y: hidden;
  154. display: flex;
  155. position: relative;
  156. user-select: none;
  157. box-sizing: content-box;
  158. padding-top: 16px;
  159. padding-bottom: 10px;
  160. }
  161. .system-item {
  162. display: flex;
  163. flex-direction: column;
  164. // align-items: center;
  165. // justify-content: center;
  166. flex: 1 0 auto;
  167. // width: 96px;
  168. min-height: 120px;
  169. box-sizing: border-box;
  170. background: #ffffff;
  171. border-radius: 12px;
  172. // border: 1px solid #e5e5e5;
  173. .title {
  174. font-weight: 500;
  175. font-size: 14px;
  176. color: #814014 !important;
  177. line-height: 20px;
  178. span {
  179. color: #814014 !important;
  180. }
  181. padding: 11px 0 9px;
  182. margin: 0 11px;
  183. // border-bottom: 1px solid #b1652e;
  184. &::after {
  185. border-color: rgba(177, 101, 46, 0.27);
  186. }
  187. }
  188. .priceGroup {
  189. display: flex;
  190. align-items: baseline;
  191. padding: 19px 12px 9px;
  192. }
  193. .price {
  194. font-size: 36px;
  195. font-weight: 500;
  196. color: #b1652e;
  197. span {
  198. font-size: 16px;
  199. }
  200. }
  201. .originalPrice {
  202. margin-left: 8px;
  203. font-size: 24px;
  204. color: #c59575 !important;
  205. line-height: 16px;
  206. font-weight: 300;
  207. }
  208. &.active {
  209. // background: linear-gradient(215deg, #ffe7c4 0%, rgba(250, 211, 156, 0.21) 100%);
  210. background: url('./images/vip_bg.png') no-repeat center center;
  211. background-size: cover;
  212. // border: 1px solid #b1652e;
  213. position: relative;
  214. .title {
  215. color: #814014;
  216. }
  217. .price {
  218. color: #b1652e;
  219. }
  220. .originalPrice {
  221. color: #937059;
  222. }
  223. &::before {
  224. content: '\e728';
  225. font: 14px/1 'vant-icon';
  226. color: #fff;
  227. background-color: #b1652e;
  228. width: 27px;
  229. height: 18px;
  230. display: flex;
  231. align-items: center;
  232. justify-content: center;
  233. position: absolute;
  234. top: -1px;
  235. right: -1px;
  236. border-radius: 0 12px 0 12px;
  237. }
  238. }
  239. }
  240. .btnGroup {
  241. position: fixed;
  242. bottom: 0;
  243. left: 0;
  244. right: 0;
  245. z-index: 100;
  246. background-color: #fff;
  247. display: flex;
  248. align-items: center;
  249. padding: 12px 16px;
  250. justify-content: space-between;
  251. border-top: 1px solid #f0f0f0;
  252. .btn {
  253. padding: 0 22px;
  254. color: #7a3104 !important;
  255. }
  256. .priceSection {
  257. display: flex;
  258. align-items: center;
  259. font-size: 16px;
  260. color: #1a1a1a;
  261. .price {
  262. font-size: 18px;
  263. font-weight: bold;
  264. color: #ff3535;
  265. .priceUnit {
  266. font-size: 14px;
  267. }
  268. }
  269. }
  270. }
  271. }
  272. .memberDiscount {
  273. margin-top: 16px;
  274. position: relative;
  275. background: url('./images/discount_bg.png') no-repeat center;
  276. background-size: contain;
  277. display: flex;
  278. align-items: center;
  279. height: 44px;
  280. font-size: 16px;
  281. color: #ff7100;
  282. line-height: 18px;
  283. .discountAvatar {
  284. margin-left: 15px;
  285. width: 36px;
  286. height: 36px;
  287. border-radius: 50%;
  288. overflow: hidden;
  289. border: 1px solid #ffaf59;
  290. }
  291. .discountName {
  292. padding-left: 30px;
  293. max-width: 200px;
  294. white-space: nowrap;
  295. overflow: hidden;
  296. text-overflow: ellipsis;
  297. }
  298. .discountGift {
  299. position: absolute;
  300. right: 26px;
  301. top: 7px;
  302. width: 29px;
  303. height: 29px;
  304. }
  305. }