index.module.less 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. .memberH {
  2. :global {
  3. .van-sticky {
  4. background: url('./images/member-bg.png') no-repeat top center;
  5. background-size: 100% 214px;
  6. }
  7. }
  8. }
  9. .member-center {
  10. // background: url('./images/member-bg.png') no-repeat top center #FFEAE9;
  11. background: #FFEAE9; //linear-gradient(180deg, #FFEBE9 0%, #F7C6D2 33%, #FFD0D0 100%);
  12. // background-size: contain;
  13. min-height: 100vh;
  14. position: relative;
  15. .bgImg {
  16. position: fixed;
  17. top: 0;
  18. left: 0;
  19. width: 100%;
  20. height: 214px;
  21. // object-fit: cover;
  22. z-index: 0;
  23. }
  24. :global {
  25. .van-nav-bar {
  26. background-color: transparent;
  27. }
  28. }
  29. .member_container {
  30. position: relative;
  31. // padding: 10px 14px 0;
  32. background: url('./images/vip-bg.png') no-repeat center;
  33. background-size: contain;
  34. height: 156px;
  35. .title {
  36. display: flex;
  37. align-items: center;
  38. font-size: 16px;
  39. line-height: 28px;
  40. font-weight: 500;
  41. color: #333333;
  42. &::before {
  43. content: ' ';
  44. width: 4px;
  45. height: 17px;
  46. background: #01c1b5;
  47. display: inline-block;
  48. margin-right: 7px;
  49. border-radius: 8px;
  50. }
  51. }
  52. .iconMember {
  53. position: absolute;
  54. top: 16px;
  55. right: 6px;
  56. width: 135px;
  57. height: 108px;
  58. }
  59. }
  60. .level {
  61. width: 44px;
  62. height: 17px;
  63. }
  64. .userMember {
  65. background-color: transparent;
  66. width: auto;
  67. padding: 0;
  68. // border-radius: 10px;
  69. padding: 18px 12px 30px 26px;
  70. .userImgSection {
  71. position: relative;
  72. padding: 3px;
  73. background: linear-gradient(270deg, rgba(255, 123, 87, 1), rgba(255, 138, 91, 1), rgba(255, 52, 96, 1));
  74. margin-right: 12px;
  75. border-radius: 50%;
  76. &::before {
  77. content: ' ';
  78. position: absolute;
  79. left: 1px;
  80. top: 1px;
  81. bottom: 1px;
  82. right: 1px;
  83. background-color: #fff;
  84. border-radius: 50%;
  85. }
  86. }
  87. .userImg {
  88. width: 46px;
  89. height: 46px;
  90. border-radius: 50%;
  91. vertical-align: middle;
  92. overflow: hidden;
  93. }
  94. .userInfo {
  95. padding-top: 4px;
  96. display: flex;
  97. align-items: center;
  98. color: #fff;
  99. padding-bottom: 5px;
  100. .name {
  101. padding-right: 5px;
  102. max-width: 100px;
  103. overflow: hidden;
  104. text-overflow: ellipsis;
  105. white-space: nowrap;
  106. font-size: 18px;
  107. font-weight: 600;
  108. color: #742626;
  109. }
  110. }
  111. .phone {
  112. font-size: 13px;
  113. font-weight: 500;
  114. color: #91555E;
  115. }
  116. .timeRemaining {
  117. margin-top: 0;
  118. font-size: 14px;
  119. color: #c0c0c0;
  120. }
  121. }
  122. .member_time {
  123. display: flex;
  124. align-items: center;
  125. padding-left: 26px;
  126. font-size: 13px;
  127. color: #742626;
  128. &::after {
  129. content: ' ';
  130. width: 5px;
  131. height: 7px;
  132. background: url('./images/icon-arrow.png') no-repeat center;
  133. background-size: contain;
  134. margin-left: 6px;
  135. margin-top: -2px;
  136. }
  137. .remaining {
  138. color: #FE2451;
  139. padding: 0 5px;
  140. font-weight: bold;
  141. }
  142. }
  143. .intro {
  144. background: #FFFFFF;
  145. border-radius: 16px;
  146. font-size: 14px;
  147. color: #bb6e3a;
  148. overflow: hidden;
  149. &::before {
  150. content: ' ';
  151. width: 196px;
  152. height: 40px;
  153. background: url('./images/info-title.png') no-repeat;
  154. background-size: contain;
  155. display: inline-block;
  156. margin-left: 50%;
  157. transform: translateX(-98px);
  158. }
  159. p {
  160. background: linear-gradient(44deg, #FCE3E1 0%, #FEF3EC 29%, #FDDDD5 59%, #FEDBE3 100%);
  161. border-radius: 12px;
  162. // opacity: 0.27;
  163. margin: 13px 12px 20px;
  164. padding: 15px;
  165. text-align: justify;
  166. line-height: 22px;
  167. font-size: 14px;
  168. color: #2D1A18;
  169. span {
  170. color: #EF2F56;
  171. }
  172. }
  173. }
  174. .memberContainer {
  175. background: rgba(255, 255, 255, 0.5);
  176. border-radius: 20px;
  177. border: 2px solid #FFFFFF;
  178. position: relative;
  179. // margin-top: -15px;
  180. padding: 12px 12px 12px;
  181. margin-bottom: 12px;
  182. z-index: 99;
  183. }
  184. .memberItem {
  185. padding-top: 20px;
  186. .title {
  187. font-size: 16px;
  188. color: #333333;
  189. font-weight: 500;
  190. span {
  191. color: #f7b500;
  192. }
  193. }
  194. }
  195. .vipFunction {
  196. margin-top: 12px;
  197. border-radius: 16px;
  198. background-color: #fff;
  199. padding: 0 12px 20px;
  200. overflow: hidden;
  201. &::before {
  202. content: ' ';
  203. width: 196px;
  204. height: 40px;
  205. background: url('./images/function-title.png') no-repeat;
  206. background-size: contain;
  207. display: inline-block;
  208. margin-left: 50%;
  209. transform: translateX(-98px);
  210. }
  211. }
  212. .member_function {
  213. display: flex;
  214. justify-content: space-between;
  215. flex-wrap: wrap;
  216. .function_item__content {
  217. height: 100%;
  218. }
  219. .function_item {
  220. width: 76px;
  221. padding: 12px 0;
  222. margin-top: 8px;
  223. border-radius: 8px;
  224. overflow: hidden;
  225. background-color: #faefe3;
  226. text-align: center;
  227. }
  228. .function_text {
  229. font-size: 12px;
  230. color: #814014;
  231. line-height: 16px;
  232. }
  233. }
  234. .system-list::-webkit-scrollbar {
  235. display: none;
  236. /* Chrome Safari */
  237. }
  238. .system-list {
  239. width: 100%;
  240. overflow-x: auto;
  241. overflow-y: hidden;
  242. display: flex;
  243. position: relative;
  244. user-select: none;
  245. box-sizing: content-box;
  246. margin-bottom: 20px;
  247. height: auto;
  248. transition: all .2s;
  249. &.systemHide {
  250. height: 0;
  251. transition: all .2s;
  252. margin-bottom: 0px;
  253. }
  254. }
  255. .system-item {
  256. display: flex;
  257. flex-direction: column;
  258. align-items: center;
  259. justify-content: center;
  260. flex: 1 0 auto;
  261. width: 96px;
  262. min-height: 120px;
  263. box-sizing: border-box;
  264. background: #ffffff;
  265. border-radius: 12px;
  266. border: 1px solid #e5e5e5;
  267. margin-left: 10px;
  268. &:last-child {
  269. margin-right: 10px;
  270. }
  271. .title {
  272. font-size: 14px;
  273. font-weight: 500;
  274. color: #333333;
  275. line-height: 20px;
  276. }
  277. .price {
  278. color: #EF2F56;
  279. font-size: 25px;
  280. line-height: 1.5;
  281. font-family: DINAlternate-Bold, DINAlternate;
  282. font-weight: bold;
  283. span {
  284. font-size: 16px;
  285. }
  286. }
  287. .originalPrice {
  288. color: #999999;
  289. font-size: 13px;
  290. }
  291. &.active {
  292. background: linear-gradient(223deg, #FEECE3 0%, #FEE4E3 52%, #FFDCE6 100%);
  293. border: 1px solid #FF4264;
  294. position: relative;
  295. .title {
  296. color: #EF2F56;
  297. }
  298. .originalPrice {
  299. color: #EF2F56;
  300. }
  301. &::before {
  302. content: ' ';
  303. font: 14px/1 'vant-icon';
  304. width: 27px;
  305. height: 18px;
  306. position: absolute;
  307. top: -1px;
  308. right: -1px;
  309. background: url('./images/icon-selected.png') no-repeat center;
  310. background-size: contain;
  311. }
  312. }
  313. }
  314. .bottom_function {
  315. background: url('./images/price-bg.png') no-repeat top center #fff;
  316. background-size: contain;
  317. box-shadow: inset 0px 1px 0px 0px #FFFFFF;
  318. border-radius: 16px 16px 0px 0px;
  319. border: 2px solid #FFFFFF;
  320. }
  321. .memberMeal {
  322. .titleMeal {
  323. display: flex;
  324. align-items: center;
  325. justify-content: space-between;
  326. font-size: 16px;
  327. font-weight: 600;
  328. color: #131415;
  329. line-height: 22px;
  330. padding: 16px 15px;
  331. .iconArrowLine {
  332. display: inline-block;
  333. width: 14px;
  334. height: 14px;
  335. background: url('./images/icon-arrow-line.png') no-repeat center;
  336. background-size: contain;
  337. }
  338. }
  339. }
  340. .btnGroup {
  341. // position: fixed;
  342. // bottom: 0;
  343. // left: 0;
  344. // right: 0;
  345. // z-index: 100;
  346. background-color: #fff;
  347. display: flex;
  348. align-items: center;
  349. padding: 0 16px 12px;
  350. justify-content: space-between;
  351. .btn {
  352. padding: 0 22px;
  353. height: 44px;
  354. color: #fff !important;
  355. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  356. border-radius: 39px;
  357. font-size: 18px;
  358. font-weight: bold;
  359. border: none;
  360. .unit {
  361. font-size: 14px;
  362. }
  363. }
  364. .priceSection {
  365. display: flex;
  366. align-items: center;
  367. font-size: 16px;
  368. color: #1a1a1a;
  369. .price {
  370. font-size: 18px;
  371. font-weight: bold;
  372. color: #ff3535;
  373. .priceUnit {
  374. font-size: 14px;
  375. }
  376. }
  377. }
  378. }
  379. }
  380. .memberDiscount {
  381. margin-top: 16px;
  382. position: relative;
  383. background: url('./images/discount_bg.png') no-repeat center;
  384. background-size: contain;
  385. display: flex;
  386. align-items: center;
  387. height: 44px;
  388. font-size: 16px;
  389. color: #ff7100;
  390. line-height: 18px;
  391. .discountAvatar {
  392. margin-left: 15px;
  393. width: 36px;
  394. height: 36px;
  395. border-radius: 50%;
  396. overflow: hidden;
  397. border: 1px solid #ffaf59;
  398. }
  399. .discountName {
  400. padding-left: 30px;
  401. max-width: 200px;
  402. white-space: nowrap;
  403. overflow: hidden;
  404. text-overflow: ellipsis;
  405. }
  406. .discountGift {
  407. position: absolute;
  408. right: 26px;
  409. top: 7px;
  410. width: 29px;
  411. height: 29px;
  412. }
  413. }
  414. .discountItem {
  415. height: 14px;
  416. padding-bottom: 2px;
  417. img {
  418. height: 100%;
  419. }
  420. }
  421. .discountBuy {
  422. height: 18px;
  423. padding-bottom: 0;
  424. margin-left: 8px;
  425. }
  426. .shareBtn {
  427. display: flex;
  428. align-items: flex-start;
  429. color: #666;
  430. font-size: 14px;
  431. line-height: 20px !important;
  432. :global(.van-image) {
  433. width: 18px;
  434. height: 18px;
  435. margin-right: 6px;
  436. }
  437. }
  438. .shareVip {
  439. position: relative;
  440. margin-top: 50px;
  441. display: flex;
  442. flex: 1;
  443. align-items: center;
  444. padding: 11px 6px 11px;
  445. background: #ffffff;
  446. border-radius: 10px;
  447. .icon {
  448. width: 36px;
  449. height: 36px;
  450. border-radius: 10px;
  451. }
  452. .info {
  453. margin-left: 6px;
  454. flex: 1;
  455. word-break: break-all;
  456. >h4 {
  457. color: var(--music-list-item-title-color);
  458. font-size: 14px;
  459. font-weight: 600;
  460. }
  461. >p {
  462. color: var(--music-list-item-mate-color);
  463. line-height: 17px;
  464. }
  465. }
  466. }
  467. .tagDiscount {
  468. position: absolute;
  469. top: -23px;
  470. left: 15px;
  471. padding: 0 10px;
  472. height: 23px;
  473. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  474. border-radius: 8px 8px 0px 0px;
  475. font-size: 14px;
  476. font-weight: 600;
  477. color: #ffffff;
  478. line-height: 24px;
  479. }