index.module.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816
  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: 2px solid #ffffff;
  34. }
  35. .showMemeber {
  36. position: absolute;
  37. bottom: -1px;
  38. right: -4px;
  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: 2px solid #FFE0B9;
  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: 2px 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. .activitTip2{
  169. margin: 16px;
  170. background: linear-gradient( 90deg, #FFE9EE 0%, #FFECD9 100%);
  171. border-radius: 8px;
  172. padding: 8px 9px;
  173. .activitTipText{
  174. white-space: pre-line;
  175. font-weight: 500;
  176. font-size: 14px;
  177. color: #6B4429;
  178. line-height: 22px;
  179. background: linear-gradient(90deg, #F31234 0%, #FF6E00 100%);
  180. -webkit-background-clip: text; /* 让背景裁剪到文字上 */
  181. -webkit-text-fill-color: transparent; /* 文字填充透明色,显示背景渐变 */
  182. }
  183. }
  184. .member_tabs {
  185. display: flex;
  186. align-items: center;
  187. justify-content: space-around;
  188. .member_tab {
  189. flex: 1;
  190. text-align: center;
  191. padding: 12px 0;
  192. cursor: pointer;
  193. position: relative;
  194. & > div{
  195. opacity: 0.3;
  196. }
  197. .activitTip{
  198. background: linear-gradient( 315deg, #FF1E3D 0%, #FF0704 51%, #FF7A4F 100%);
  199. border-radius: 11px 11px 11px 0px;
  200. font-weight: 600;
  201. font-size: 12px;
  202. color: #FFFFFF;
  203. line-height: 18px;
  204. padding: 1px 6px;
  205. white-space: nowrap;
  206. position: absolute;
  207. left: 50%;
  208. top: 0;
  209. transform: translateY(-50%);
  210. opacity: 1;
  211. font-family: Helvetica Neue, Helvetica, PingFangSC;
  212. }
  213. }
  214. .member_tab_active {
  215. & > div{
  216. opacity: 1;
  217. }
  218. }
  219. .icon_member {
  220. display: inline-block;
  221. width: 24px;
  222. height: 24px;
  223. margin-right: 6px;
  224. }
  225. .icon_text {
  226. position: relative;
  227. margin-top: 3px;
  228. }
  229. .bottom_line {
  230. position: absolute;
  231. left: 0;
  232. right: 0;
  233. bottom: -3px;
  234. z-index: -1;
  235. height: 7px;
  236. width: 100%;
  237. display: inline-block;
  238. }
  239. .top_tab {
  240. display: flex;
  241. align-items: center;
  242. justify-content: center;
  243. padding-bottom: 5px;
  244. }
  245. .vip_member_tip {
  246. width: 71px;
  247. height: 14px;
  248. background: url('./new-images/vip-bottom-tip.png') no-repeat center;
  249. background-size: contain;
  250. display: inline-block;
  251. }
  252. .top_tab_vip {
  253. .icon_member {
  254. background: url('./new-images/icon-vip.png') no-repeat center;
  255. background-size: contain;
  256. }
  257. .icon_text {
  258. background: url('./new-images/icon-vip-text.png') no-repeat center;
  259. background-size: contain;
  260. width: 59px;
  261. height: 15px;
  262. }
  263. .bottom_line {
  264. background: url('./new-images/icon-vip-bottom-line.png') no-repeat center;
  265. background-size: contain;
  266. }
  267. }
  268. .svip_member_tip {
  269. width: 122px;
  270. height: 14px;
  271. background: url('./new-images/svip-bottom-tip.png') no-repeat center;
  272. background-size: contain;
  273. display: inline-block;
  274. }
  275. .top_tab_svip {
  276. .icon_member {
  277. background: url('./new-images/icon-svip.png') no-repeat center;
  278. background-size: contain;
  279. }
  280. .icon_text {
  281. background: url('./new-images/icon-svip-text.png') no-repeat center;
  282. background-size: contain;
  283. width: 68px;
  284. height: 15px;
  285. }
  286. .bottom_line {
  287. background: url('./new-images/icon-svip-bottom-line.png') no-repeat center;
  288. background-size: contain;
  289. }
  290. }
  291. .member_tab_single {
  292. display: flex;
  293. align-items: center;
  294. justify-content: space-between;
  295. padding: 11px 16px 0;
  296. }
  297. }
  298. .memberDiscount {
  299. margin: 10px 16px 6px;
  300. position: relative;
  301. background: url('./new-images/icon-discount-bg.png') no-repeat center;
  302. background-size: contain;
  303. display: flex;
  304. align-items: center;
  305. height: 40px;
  306. font-size: 14px;
  307. color: #6B4429;
  308. line-height: 18px;
  309. .discountAvatar {
  310. margin-left: 12px;
  311. width: 34px;
  312. height: 34px;
  313. border-radius: 50%;
  314. overflow: hidden;
  315. border: 1px solid #ffaf59;
  316. }
  317. .discountName {
  318. margin-left: 30px;
  319. width: 200px;
  320. white-space: nowrap;
  321. overflow: hidden;
  322. text-overflow: ellipsis;
  323. background: transparent;
  324. font-size: 14px;
  325. color: #6B4429;
  326. padding-top: 1px;
  327. line-height: 1.2;
  328. span {
  329. color: #FF491A;
  330. font-weight: 500;
  331. }
  332. }
  333. .discountGift {
  334. position: absolute;
  335. right: 11px;
  336. top: 0;
  337. width: 40px;
  338. height: 40px;
  339. }
  340. }
  341. .btnGroup {
  342. padding: 18px 15px 23px;
  343. background-color: #fff;
  344. .btn {
  345. border-radius: 12px;
  346. font-weight: bold;
  347. font-size: 18px;
  348. color: #662610 !important;
  349. line-height: 24px;
  350. }
  351. .btnDisabled {
  352. opacity: .4;
  353. }
  354. }
  355. .system_list_section {
  356. // margin: 0 16px;
  357. }
  358. .system-list::-webkit-scrollbar {
  359. display: none;
  360. /* Chrome Safari */
  361. }
  362. .system-list {
  363. width: calc(100% - 16px);
  364. overflow-x: auto;
  365. overflow-y: hidden;
  366. display: flex;
  367. position: relative;
  368. user-select: none;
  369. box-sizing: content-box;
  370. padding-top: 15px;
  371. padding-bottom: 2px;
  372. padding-right: 16px;
  373. &.list_two {
  374. .system-item {
  375. width: 141px;
  376. &.active {
  377. width: 191px;
  378. }
  379. }
  380. }
  381. }
  382. .system-item {
  383. position: relative;
  384. display: flex;
  385. flex-direction: column;
  386. align-items: center;
  387. justify-content: flex-start;
  388. flex: 1 0 auto;
  389. width: 96px;
  390. min-height: 120px;
  391. // overflow: hidden;
  392. box-sizing: border-box;
  393. background: #ffffff;
  394. border-radius: 8px;
  395. border: 1px solid #E7E7E7;
  396. margin-left: 10px;
  397. &:first-child {
  398. margin-left: 16px;
  399. }
  400. // &:last-child {
  401. // margin-right: 16px;
  402. // }
  403. .discountTag {
  404. position: absolute;
  405. top: 13px;
  406. left: 0;
  407. right: 0;
  408. width: 100%;
  409. // background: linear-gradient(180deg, #FF491A 0%, #FF9F7E 100%);
  410. // color: #FFFFFF;
  411. display: inline-block;
  412. width: 48px;
  413. height: 16px;
  414. background: url('./new-images/icon_discount-text.png') no-repeat center;
  415. background-size: contain;
  416. // margin-top: 1px;
  417. margin: 0 auto;
  418. }
  419. .iconPermanent {
  420. position: absolute;
  421. left: -1px;
  422. top: -9px;
  423. width: 77px;
  424. height: 20px;
  425. background: url('./new-images/icon-permanent1.png') no-repeat center;
  426. background-size: cover;
  427. }
  428. .activitTip1{
  429. position: absolute;
  430. background: linear-gradient( 315deg, #FF3C83 0%, #FF0704 51%, #FF7A4F 100%);
  431. border-radius: 6px 6px 6px 0px;
  432. font-weight: 600;
  433. font-size: 12px;
  434. color: #FFFFFF;
  435. line-height: 17px;
  436. padding: 1px 6px 2px;
  437. left: -1px;
  438. top: -9px;
  439. font-family: Helvetica Neue, Helvetica, PingFangSC;
  440. }
  441. .s_title {
  442. position: relative;
  443. font-weight: 500;
  444. font-size: 13px;
  445. color: #333333;
  446. line-height: 18px;
  447. padding-top: 30px;
  448. width: 100%;
  449. text-align: center;
  450. }
  451. .price {
  452. font-family: DINAlternate-Bold, DINAlternate;
  453. font-weight: bold;
  454. font-size: 28px;
  455. color: #333333;
  456. padding: 3px 0 6px;
  457. span {
  458. font-size: 16px;
  459. vertical-align: middle;
  460. }
  461. }
  462. .originalPrice {
  463. color: #999999;
  464. font-size: 12px;
  465. line-height: 16px;
  466. &.originalPriceHide {
  467. opacity: 0;
  468. }
  469. }
  470. .extraTip {
  471. position: absolute;
  472. bottom: 0;
  473. left: 0;
  474. right: 0;
  475. width: 100%;
  476. box-sizing: border-box;
  477. background: #FFF5E0;
  478. line-height: 21px;
  479. font-weight: 500;
  480. font-size: 12px;
  481. color: #84520F;
  482. text-align: center;
  483. text-overflow: ellipsis;
  484. white-space: nowrap;
  485. overflow: hidden;
  486. padding: 2px 8px 1px;
  487. border-radius: 0 0 6px 6px;
  488. }
  489. &.active {
  490. border: 2px solid #0ED8B0;
  491. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  492. width: 130px;
  493. .iconPermanent {
  494. left: -2px;
  495. }
  496. .activitTip1 {
  497. left: -2px;
  498. }
  499. .extraTip {
  500. background: #0ED8B0;
  501. color: #FFFFFF;
  502. font-weight: 500;
  503. bottom: -1px;
  504. left: -1px;
  505. width: calc(100% + 2px);
  506. }
  507. }
  508. }
  509. .list_one {
  510. padding-top: 10px;
  511. .system-item {
  512. flex-direction: row;
  513. justify-content: space-between;
  514. padding: 0 20px;
  515. width: calc(100% - 32px);
  516. margin: 0 0 0 16px;
  517. // margin: 0;
  518. min-height: 81px;
  519. border: 2px solid #0ED8B0;
  520. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  521. .iconPermanent {
  522. left: -2px;
  523. top: -2px;
  524. background: url('./new-images/icon-permanent.png') no-repeat center;
  525. background-size: cover;
  526. width: 61px;
  527. height: 16px;
  528. }
  529. .discountTag {
  530. position: absolute;
  531. right: -2px;
  532. top: -2px;
  533. left: auto;
  534. background: url('./new-images/icon_discount2.png') no-repeat center;
  535. background-size: contain;
  536. width: 48px;
  537. height: 16px;
  538. padding: 0;
  539. margin: 0;
  540. border-radius: 0;
  541. }
  542. .itemBg {
  543. position: absolute;
  544. right: 71px;
  545. top: 0;
  546. bottom: 0;
  547. width: 100px;
  548. background: url('./new-images/icon-svip-big-icon.png') no-repeat center;
  549. background-size: contain;
  550. }
  551. }
  552. .priceS {
  553. position: relative;
  554. z-index: 1;
  555. display: flex;
  556. align-items: center;
  557. .price {
  558. color: #03A385;
  559. padding-bottom: 0;
  560. padding-top: 0;
  561. }
  562. .s_title {
  563. padding-top: 4px;
  564. padding-left: 10px;
  565. font-weight: 500;
  566. font-size: 15px;
  567. color: #333333;
  568. line-height: 21px;
  569. }
  570. }
  571. .oneMaxNum {
  572. margin-left: 4px;
  573. display: inline-block;
  574. background: linear-gradient(90deg, #BEFCE8 0%, #BFFAE8 100%);
  575. border-radius: 2px;
  576. font-size: 12px;
  577. color: #03A385;
  578. margin-top: 2px;
  579. padding: 1px 2px;
  580. }
  581. .oneMaxNumPrice {
  582. text-decoration: line-through;
  583. }
  584. .oneBtn {
  585. position: relative;
  586. z-index: 1;
  587. width: 71px;
  588. height: 30px;
  589. background: url('./new-images/btn-svip.png') no-repeat center;
  590. background-size: contain;
  591. cursor: pointer;
  592. &.onBtnRenew {
  593. background: url('./new-images/btn-svip-review.png') no-repeat center;
  594. background-size: contain;
  595. }
  596. &.onBtnDisbled {
  597. opacity: .4;
  598. }
  599. }
  600. }
  601. .system_list_vip {
  602. .system-item {
  603. &.active {
  604. border: 2px solid #FFDB66;
  605. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  606. width: 130px;
  607. .extraTip {
  608. background-color: #FFDB66;
  609. }
  610. }
  611. }
  612. &.list_two {
  613. .system-item {
  614. width: 141px;
  615. &.active {
  616. width: 191px;
  617. }
  618. }
  619. }
  620. &.list_one {
  621. .system-item {
  622. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  623. border: 2px solid #FFDB66;
  624. .itemBg {
  625. background: url('./new-images/icon-vip-big-icon.png') no-repeat center;
  626. background-size: contain;
  627. }
  628. }
  629. .priceS {
  630. .price {
  631. color: #FF7452;
  632. }
  633. }
  634. .oneMaxNum {
  635. background: linear-gradient(90deg, #FEDA66 0%, #FEDA66 100%);
  636. color: #FF7452;
  637. text-decoration: line-through;
  638. }
  639. .oneBtn {
  640. background: url('./new-images/btn-vip.png') no-repeat center;
  641. background-size: contain;
  642. cursor: pointer;
  643. &.onBtnRenew {
  644. background: url('./new-images/btn-vip-review.png') no-repeat center;
  645. background-size: contain;
  646. }
  647. }
  648. }
  649. }
  650. // 弹窗样式
  651. .dialogContainer {
  652. width: 287px;
  653. box-sizing: border-box;
  654. background: #FFFFFF;
  655. border-radius: 12px;
  656. padding: 16px 24px 22px;
  657. text-align: center;
  658. .dialogTitle {
  659. font-weight: 500;
  660. font-size: 18px;
  661. color: #333333;
  662. line-height: 25px;
  663. }
  664. .dialogContent {
  665. padding: 16px 0 21px;
  666. font-size: 15px;
  667. color: #777777;
  668. line-height: 26px;
  669. }
  670. .dialogBtnGroup {
  671. padding: 0 16px;
  672. &.orderGroup {
  673. display: flex;
  674. align-items: center;
  675. padding: 0;
  676. }
  677. :global {
  678. .van-button {
  679. font-weight: 500;
  680. font-size: 16px;
  681. }
  682. }
  683. }
  684. .dialogBtn {
  685. margin-left: 12px;
  686. color: #FFFFFF;
  687. line-height: 22px;
  688. }
  689. }
  690. .discountTips {
  691. background: linear-gradient(203deg, rgba(254, 237, 197, 0.5) 0%, rgba(255, 198, 179, 0.5) 100%);
  692. border-radius: 6px;
  693. padding: 6px 3px 6px 8px;
  694. // font-weight: 500;
  695. font-size: 12px;
  696. line-height: 17px;
  697. color: #6B4429;
  698. margin-top: 12px;
  699. margin-left: 16px;
  700. margin-right: 16px;
  701. span {
  702. color: #FF491A;
  703. }
  704. }