index.module.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  1. .memberCenter {
  2. min-height: 100vh;
  3. background: url('./new-images/icon-banner.png') no-repeat top center;
  4. background-size: contain;
  5. box-sizing: border-box;
  6. :global {
  7. .van-nav-bar__left .van-icon {
  8. color: #000000;
  9. }
  10. }
  11. .shareBtn {
  12. width: 16px;
  13. height: 16px;
  14. }
  15. }
  16. .userSection {
  17. position: absolute;
  18. top: 10px;
  19. left: 16px;
  20. display: flex;
  21. align-items: flex-start;
  22. .userImgSection {
  23. position: relative;
  24. width: 48px;
  25. height: 48px;
  26. margin-right: 13px;
  27. flex-shrink: 0;
  28. .userImg {
  29. width: 48px;
  30. height: 48px;
  31. border-radius: 50%;
  32. overflow: hidden;
  33. border: 1px solid #F2F6F7;
  34. }
  35. .showMemeber {
  36. position: absolute;
  37. bottom: 1px;
  38. right: -3px;
  39. width: 18px;
  40. height: 18px;
  41. }
  42. &.userVip {
  43. .showMemeber {
  44. background: url('./new-images/icon-vip-disabled.png') no-repeat center;
  45. background-size: contain;
  46. }
  47. &.isVip {
  48. .userImg {
  49. border: 1px solid #F0AF88;
  50. }
  51. .showMemeber {
  52. background: url('./new-images/icon-vip.png') no-repeat center;
  53. background-size: contain;
  54. }
  55. }
  56. }
  57. &.userSVip {
  58. .showMemeber {
  59. background: url('./new-images/icon-svip-disabled.png') no-repeat center;
  60. background-size: contain;
  61. }
  62. &.isVip {
  63. .userImg {
  64. border: 1px solid #F0AF88;
  65. }
  66. .showMemeber {
  67. background: url('./new-images/icon-svip.png') no-repeat center;
  68. background-size: contain;
  69. }
  70. }
  71. }
  72. }
  73. .userInfo {
  74. padding-top: 5px;
  75. max-width: 185px;
  76. .userName {
  77. display: flex;
  78. align-items: center;
  79. padding-bottom: 4px;
  80. }
  81. .name {
  82. font-weight: 500;
  83. font-size: 18px;
  84. color: #000000;
  85. max-width: 90px;
  86. overflow: hidden;
  87. text-overflow: ellipsis;
  88. white-space: nowrap;
  89. }
  90. .phone {
  91. font-size: 13px;
  92. color: #777777;
  93. }
  94. .member_time {
  95. font-size: 12px;
  96. color: #777777;
  97. line-height: 17px;
  98. span {
  99. color: #FF623A;
  100. font-weight: bold;
  101. }
  102. }
  103. }
  104. }
  105. .memberContainer {
  106. position: relative;
  107. padding-top: 100px;
  108. .showBrid {
  109. position: absolute;
  110. right: 0;
  111. top: -17px;
  112. display: inline-block;
  113. width: 129px;
  114. height: 144px;
  115. background: url('./new-images/icon-banner-brid.png') no-repeat center;
  116. background-size: contain;
  117. }
  118. }
  119. .shareVip {
  120. position: relative;
  121. margin-top: 50px;
  122. display: flex;
  123. flex: 1;
  124. align-items: center;
  125. padding: 11px 6px 11px;
  126. background: #ffffff;
  127. border-radius: 10px;
  128. .icon {
  129. width: 36px;
  130. height: 36px;
  131. border-radius: 10px;
  132. }
  133. .info {
  134. margin-left: 6px;
  135. flex: 1;
  136. word-break: break-all;
  137. >h4 {
  138. color: var(--music-list-item-title-color);
  139. font-size: 14px;
  140. font-weight: 600;
  141. }
  142. >p {
  143. color: var(--music-list-item-mate-color);
  144. line-height: 17px;
  145. }
  146. }
  147. }
  148. .tagDiscount {
  149. position: absolute;
  150. top: -23px;
  151. left: 15px;
  152. padding: 0 10px;
  153. height: 23px;
  154. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  155. border-radius: 8px 8px 0px 0px;
  156. font-size: 14px;
  157. font-weight: 600;
  158. color: #ffffff;
  159. line-height: 24px;
  160. }
  161. .memberSection {
  162. position: relative;
  163. z-index: 1;
  164. background: linear-gradient(179deg, #FFFFFF 0%, #FFFFFF 45%, #BEF5D8 70%, #CDF7CB 100%);
  165. border-radius: 16px 16px 0px 0px;
  166. padding-bottom: 10px;
  167. }
  168. .member_tabs {
  169. display: flex;
  170. align-items: center;
  171. justify-content: space-around;
  172. .member_tab {
  173. flex: 1;
  174. text-align: center;
  175. padding: 12px 0;
  176. cursor: pointer;
  177. opacity: 0.3;
  178. }
  179. .member_tab_active {
  180. opacity: 1;
  181. }
  182. .icon_member {
  183. display: inline-block;
  184. width: 24px;
  185. height: 24px;
  186. margin-right: 6px;
  187. }
  188. .icon_text {
  189. position: relative;
  190. margin-top: 3px;
  191. }
  192. .bottom_line {
  193. position: absolute;
  194. left: 0;
  195. right: 0;
  196. bottom: -3px;
  197. z-index: -1;
  198. height: 7px;
  199. width: 100%;
  200. display: inline-block;
  201. }
  202. .top_tab {
  203. display: flex;
  204. align-items: center;
  205. justify-content: center;
  206. padding-bottom: 5px;
  207. }
  208. .vip_member_tip {
  209. width: 71px;
  210. height: 14px;
  211. background: url('./new-images/vip-bottom-tip.png') no-repeat center;
  212. background-size: contain;
  213. display: inline-block;
  214. }
  215. .top_tab_vip {
  216. .icon_member {
  217. background: url('./new-images/icon-vip.png') no-repeat center;
  218. background-size: contain;
  219. }
  220. .icon_text {
  221. background: url('./new-images/icon-vip-text.png') no-repeat center;
  222. background-size: contain;
  223. width: 59px;
  224. height: 15px;
  225. }
  226. .bottom_line {
  227. background: url('./new-images/icon-vip-bottom-line.png') no-repeat center;
  228. background-size: contain;
  229. }
  230. }
  231. .svip_member_tip {
  232. width: 122px;
  233. height: 14px;
  234. background: url('./new-images/svip-bottom-tip.png') no-repeat center;
  235. background-size: contain;
  236. display: inline-block;
  237. }
  238. .top_tab_svip {
  239. .icon_member {
  240. background: url('./new-images/icon-svip.png') no-repeat center;
  241. background-size: contain;
  242. }
  243. .icon_text {
  244. background: url('./new-images/icon-svip-text.png') no-repeat center;
  245. background-size: contain;
  246. width: 68px;
  247. height: 15px;
  248. }
  249. .bottom_line {
  250. background: url('./new-images/icon-svip-bottom-line.png') no-repeat center;
  251. background-size: contain;
  252. }
  253. }
  254. .member_tab_single {
  255. display: flex;
  256. align-items: center;
  257. justify-content: space-between;
  258. padding: 11px 16px 0;
  259. }
  260. }
  261. .memberDiscount {
  262. margin: 10px 16px 6px;
  263. position: relative;
  264. background: url('./new-images/icon-discount-bg.png') no-repeat center;
  265. background-size: contain;
  266. display: flex;
  267. align-items: center;
  268. height: 40px;
  269. font-size: 14px;
  270. color: #6B4429;
  271. line-height: 18px;
  272. .discountAvatar {
  273. margin-left: 12px;
  274. width: 34px;
  275. height: 34px;
  276. border-radius: 50%;
  277. overflow: hidden;
  278. border: 1px solid #ffaf59;
  279. }
  280. .discountName {
  281. margin-left: 30px;
  282. width: 200px;
  283. white-space: nowrap;
  284. overflow: hidden;
  285. text-overflow: ellipsis;
  286. background: transparent;
  287. font-size: 14px;
  288. color: #6B4429;
  289. span {
  290. color: #FF491A;
  291. font-weight: 500;
  292. }
  293. }
  294. .discountGift {
  295. position: absolute;
  296. right: 11px;
  297. top: 0;
  298. width: 40px;
  299. height: 40px;
  300. }
  301. }
  302. .btnGroup {
  303. padding: 18px 15px 23px;
  304. background-color: #fff;
  305. .btn {
  306. border-radius: 12px;
  307. font-weight: bold;
  308. font-size: 18px;
  309. color: #662610 !important;
  310. line-height: 24px;
  311. }
  312. .btnDisabled {
  313. opacity: .4;
  314. }
  315. }
  316. .system_list_section {
  317. // margin: 0 16px;
  318. }
  319. .system-list::-webkit-scrollbar {
  320. display: none;
  321. /* Chrome Safari */
  322. }
  323. .system-list {
  324. width: calc(100% - 16px);
  325. overflow-x: auto;
  326. overflow-y: hidden;
  327. display: flex;
  328. position: relative;
  329. user-select: none;
  330. box-sizing: content-box;
  331. padding-top: 15px;
  332. padding-bottom: 2px;
  333. padding-right: 16px;
  334. &.list_two {
  335. .system-item {
  336. width: 141px;
  337. &.active {
  338. width: 191px;
  339. }
  340. }
  341. }
  342. }
  343. .system-item {
  344. position: relative;
  345. display: flex;
  346. flex-direction: column;
  347. align-items: center;
  348. justify-content: flex-start;
  349. flex: 1 0 auto;
  350. width: 96px;
  351. min-height: 120px;
  352. // overflow: hidden;
  353. box-sizing: border-box;
  354. background: #ffffff;
  355. border-radius: 8px;
  356. border: 1px solid #E7E7E7;
  357. margin-left: 10px;
  358. &:first-child {
  359. margin-left: 16px;
  360. }
  361. // &:last-child {
  362. // margin-right: 16px;
  363. // }
  364. .discountTag {
  365. position: absolute;
  366. top: 13px;
  367. left: 0;
  368. right: 0;
  369. width: 100%;
  370. // background: linear-gradient(180deg, #FF491A 0%, #FF9F7E 100%);
  371. // color: #FFFFFF;
  372. display: inline-block;
  373. width: 48px;
  374. height: 16px;
  375. background: url('./new-images/icon_discount-text.png') no-repeat center;
  376. background-size: contain;
  377. // margin-top: 1px;
  378. margin: 0 auto;
  379. }
  380. .iconPermanent {
  381. position: absolute;
  382. left: -1px;
  383. top: -9px;
  384. width: 77px;
  385. height: 20px;
  386. background: url('./new-images/icon-permanent1.png') no-repeat center;
  387. background-size: contain;
  388. }
  389. .s_title {
  390. position: relative;
  391. font-weight: 500;
  392. font-size: 13px;
  393. color: #333333;
  394. line-height: 18px;
  395. padding-top: 30px;
  396. width: 100%;
  397. text-align: center;
  398. }
  399. .price {
  400. font-family: DINAlternate-Bold, DINAlternate;
  401. font-weight: bold;
  402. font-size: 28px;
  403. color: #333333;
  404. padding: 3px 0 6px;
  405. span {
  406. font-size: 16px;
  407. vertical-align: middle;
  408. }
  409. }
  410. .originalPrice {
  411. color: #999999;
  412. font-size: 12px;
  413. line-height: 16px;
  414. &.originalPriceHide {
  415. opacity: 0;
  416. }
  417. }
  418. .extraTip {
  419. position: absolute;
  420. bottom: -1px;
  421. left: 0;
  422. right: 0;
  423. width: 100%;
  424. box-sizing: border-box;
  425. background: #FFF5E0;
  426. line-height: 21px;
  427. font-weight: 500;
  428. font-size: 12px;
  429. color: #84520F;
  430. text-align: center;
  431. text-overflow: ellipsis;
  432. white-space: nowrap;
  433. overflow: hidden;
  434. padding: 2px 8px 1px;
  435. border-radius: 0 0 8px 8px;
  436. // border-radius: 0 0 8px 8px;
  437. }
  438. &.active {
  439. border: 2px solid #0ED8B0;
  440. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  441. width: 130px;
  442. .iconPermanent {
  443. left: -2px;
  444. }
  445. .extraTip {
  446. background: #0ED8B0;
  447. color: #FFFFFF;
  448. font-weight: 500;
  449. }
  450. }
  451. }
  452. .list_one {
  453. padding-top: 10px;
  454. .system-item {
  455. flex-direction: row;
  456. justify-content: space-between;
  457. padding: 0 20px;
  458. width: calc(100% - 32px);
  459. margin: 0 0 0 16px;
  460. // margin: 0;
  461. min-height: 81px;
  462. border: 2px solid #0ED8B0;
  463. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  464. .iconPermanent {
  465. left: -2px;
  466. top: -2px;
  467. background: url('./new-images/icon-permanent.png') no-repeat center;
  468. background-size: contain;
  469. width: 61px;
  470. height: 16px;
  471. }
  472. .discountTag {
  473. position: absolute;
  474. right: -2px;
  475. top: -2px;
  476. left: auto;
  477. background: url('./new-images/icon_discount2.png') no-repeat center;
  478. background-size: contain;
  479. width: 48px;
  480. height: 16px;
  481. padding: 0;
  482. margin: 0;
  483. border-radius: 0;
  484. }
  485. .itemBg {
  486. position: absolute;
  487. right: 71px;
  488. top: 0;
  489. bottom: 0;
  490. width: 100px;
  491. background: url('./new-images/icon-svip-big-icon.png') no-repeat center;
  492. background-size: contain;
  493. }
  494. }
  495. .priceS {
  496. position: relative;
  497. z-index: 1;
  498. display: flex;
  499. align-items: center;
  500. .price {
  501. color: #03A385;
  502. padding-bottom: 0;
  503. padding-top: 0;
  504. }
  505. .s_title {
  506. padding-top: 4px;
  507. padding-left: 10px;
  508. font-weight: 500;
  509. font-size: 15px;
  510. color: #333333;
  511. line-height: 21px;
  512. }
  513. }
  514. .oneMaxNum {
  515. margin-left: 4px;
  516. display: inline-block;
  517. background: linear-gradient(90deg, #BEFCE8 0%, #BFFAE8 100%);
  518. border-radius: 2px;
  519. font-size: 12px;
  520. color: #03A385;
  521. margin-top: 2px;
  522. padding: 1px 2px;
  523. }
  524. .oneMaxNumPrice {
  525. text-decoration: line-through;
  526. }
  527. .oneBtn {
  528. position: relative;
  529. z-index: 1;
  530. width: 71px;
  531. height: 30px;
  532. background: url('./new-images/btn-svip.png') no-repeat center;
  533. background-size: contain;
  534. cursor: pointer;
  535. &.onBtnRenew {
  536. background: url('./new-images/btn-svip-review.png') no-repeat center;
  537. background-size: contain;
  538. }
  539. &.onBtnDisbled {
  540. opacity: .4;
  541. }
  542. }
  543. }
  544. .system_list_vip {
  545. .system-item {
  546. &.active {
  547. border: 2px solid #FFDB66;
  548. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  549. width: 130px;
  550. .extraTip {
  551. background-color: #FFDB66;
  552. }
  553. }
  554. }
  555. &.list_two {
  556. .system-item {
  557. width: 141px;
  558. &.active {
  559. width: 191px;
  560. }
  561. }
  562. }
  563. &.list_one {
  564. .system-item {
  565. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  566. border: 2px solid #FFDB66;
  567. .itemBg {
  568. background: url('./new-images/icon-vip-big-icon.png') no-repeat center;
  569. background-size: contain;
  570. }
  571. }
  572. .priceS {
  573. .price {
  574. color: #FF7452;
  575. }
  576. }
  577. .oneMaxNum {
  578. background: linear-gradient(90deg, #FEDA66 0%, #FEDA66 100%);
  579. color: #FF7452;
  580. text-decoration: line-through;
  581. }
  582. .oneBtn {
  583. background: url('./new-images/btn-vip.png') no-repeat center;
  584. background-size: contain;
  585. cursor: pointer;
  586. &.onBtnRenew {
  587. background: url('./new-images/btn-vip-review.png') no-repeat center;
  588. background-size: contain;
  589. }
  590. }
  591. }
  592. }
  593. // 弹窗样式
  594. .dialogContainer {
  595. width: 287px;
  596. box-sizing: border-box;
  597. background: #FFFFFF;
  598. border-radius: 12px;
  599. padding: 16px 24px 22px;
  600. text-align: center;
  601. .dialogTitle {
  602. font-weight: 500;
  603. font-size: 18px;
  604. color: #333333;
  605. line-height: 25px;
  606. }
  607. .dialogContent {
  608. padding: 16px 0 21px;
  609. font-size: 15px;
  610. color: #777777;
  611. line-height: 26px;
  612. }
  613. .dialogBtnGroup {
  614. padding: 0 16px;
  615. &.orderGroup {
  616. display: flex;
  617. align-items: center;
  618. padding: 0;
  619. }
  620. :global {
  621. .van-button {
  622. font-weight: 500;
  623. font-size: 16px;
  624. }
  625. }
  626. }
  627. .dialogBtn {
  628. margin-left: 12px;
  629. color: #FFFFFF;
  630. line-height: 22px;
  631. }
  632. }
  633. .discountTips {
  634. background: linear-gradient(203deg, rgba(254, 237, 197, 0.5) 0%, rgba(255, 198, 179, 0.5) 100%);
  635. border-radius: 6px;
  636. padding: 6px 3px 6px 8px;
  637. // font-weight: 500;
  638. font-size: 12px;
  639. line-height: 17px;
  640. color: #6B4429;
  641. margin-top: 12px;
  642. margin-left: 16px;
  643. margin-right: 16px;
  644. span {
  645. color: #FF491A;
  646. }
  647. }