index.module.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  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: 15px;
  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. // background: linear-gradient(180deg, #FF491A 0%, #FF9F7E 100%);
  366. // color: #FFFFFF;
  367. display: inline-block;
  368. width: 48px;
  369. height: 16px;
  370. background: url('./new-images/icon_discount-round.png') no-repeat center;
  371. background-size: contain;
  372. margin-top: 1px;
  373. }
  374. &.discountItem {
  375. .price {
  376. padding: 0;
  377. }
  378. }
  379. .iconPermanent {
  380. position: absolute;
  381. left: -1px;
  382. top: -7px;
  383. width: 77px;
  384. height: 20px;
  385. background: url('./new-images/icon-permanent.png') no-repeat center;
  386. background-size: contain;
  387. }
  388. .s_title {
  389. font-weight: 500;
  390. font-size: 13px;
  391. color: #333333;
  392. line-height: 18px;
  393. padding-top: 25px;
  394. width: 100%;
  395. text-align: center;
  396. }
  397. .price {
  398. font-family: DINAlternate-Bold, DINAlternate;
  399. font-weight: bold;
  400. font-size: 28px;
  401. color: #333333;
  402. padding: 6px 0 9px;
  403. span {
  404. font-size: 16px;
  405. vertical-align: middle;
  406. }
  407. }
  408. .originalPrice {
  409. color: #999999;
  410. font-size: 12px;
  411. line-height: 16px;
  412. &.originalPriceHide {
  413. opacity: 0;
  414. }
  415. }
  416. .extraTip {
  417. position: absolute;
  418. bottom: -1px;
  419. left: 0;
  420. right: 0;
  421. width: 100%;
  422. box-sizing: border-box;
  423. background: #FFF5E0;
  424. line-height: 21px;
  425. font-weight: 500;
  426. font-size: 12px;
  427. color: #84520F;
  428. text-align: center;
  429. text-overflow: ellipsis;
  430. white-space: nowrap;
  431. overflow: hidden;
  432. padding: 2px 8px 1px;
  433. // border-radius: 0 0 8px 8px;
  434. }
  435. &.active {
  436. border: 2px solid #0ED8B0;
  437. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  438. width: 130px;
  439. .iconPermanent {
  440. left: -2px;
  441. }
  442. .extraTip {
  443. background: #0ED8B0;
  444. color: #FFFFFF;
  445. font-weight: 500;
  446. }
  447. }
  448. }
  449. .list_one {
  450. padding-top: 10px;
  451. .system-item {
  452. flex-direction: row;
  453. justify-content: space-between;
  454. padding: 0 20px;
  455. width: calc(100% - 32px);
  456. margin: 0 16px;
  457. // margin: 0;
  458. min-height: 81px;
  459. border: 2px solid #0ED8B0;
  460. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  461. .iconPermanent {
  462. left: -2px;
  463. }
  464. .discountTag {
  465. position: absolute;
  466. left: -2px;
  467. top: -2px;
  468. background: url('./new-images/icon_discount.png') no-repeat center;
  469. background-size: contain;
  470. width: 48px;
  471. height: 16px;
  472. padding: 0;
  473. margin: 0;
  474. border-radius: 0;
  475. }
  476. .itemBg {
  477. position: absolute;
  478. right: 71px;
  479. top: 0;
  480. bottom: 0;
  481. width: 100px;
  482. background: url('./new-images/icon-svip-big-icon.png') no-repeat center;
  483. background-size: contain;
  484. }
  485. }
  486. .priceS {
  487. position: relative;
  488. z-index: 1;
  489. display: flex;
  490. align-items: center;
  491. .price {
  492. color: #03A385;
  493. padding-bottom: 0;
  494. padding-top: 0;
  495. }
  496. .s_title {
  497. padding-top: 4px;
  498. padding-left: 10px;
  499. font-weight: 500;
  500. font-size: 15px;
  501. color: #333333;
  502. line-height: 21px;
  503. }
  504. }
  505. .oneMaxNum {
  506. margin-left: 4px;
  507. display: inline-block;
  508. background: linear-gradient(90deg, #BEFCE8 0%, #BFFAE8 100%);
  509. border-radius: 2px;
  510. font-size: 12px;
  511. color: #03A385;
  512. padding: 1px 2px;
  513. }
  514. .oneMaxNumPrice {
  515. text-decoration: line-through;
  516. }
  517. .oneBtn {
  518. position: relative;
  519. z-index: 1;
  520. width: 71px;
  521. height: 30px;
  522. background: url('./new-images/btn-svip.png') no-repeat center;
  523. background-size: contain;
  524. cursor: pointer;
  525. &.onBtnRenew {
  526. background: url('./new-images/btn-svip-review.png') no-repeat center;
  527. background-size: contain;
  528. }
  529. &.onBtnDisbled {
  530. opacity: .4;
  531. }
  532. }
  533. }
  534. .system_list_vip {
  535. .system-item {
  536. &.active {
  537. border: 2px solid #FFDB66;
  538. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  539. width: 130px;
  540. .extraTip {
  541. background-color: #FFDB66;
  542. }
  543. }
  544. }
  545. &.list_two {
  546. .system-item {
  547. width: 141px;
  548. &.active {
  549. width: 191px;
  550. }
  551. }
  552. }
  553. &.list_one {
  554. .system-item {
  555. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  556. border: 2px solid #FFDB66;
  557. .itemBg {
  558. background: url('./new-images/icon-vip-big-icon.png') no-repeat center;
  559. background-size: contain;
  560. }
  561. }
  562. .priceS {
  563. .price {
  564. color: #FF7452;
  565. }
  566. }
  567. .oneMaxNum {
  568. background: linear-gradient(90deg, #FEDA66 0%, #FEDA66 100%);
  569. color: #FF7452;
  570. text-decoration: line-through;
  571. }
  572. .oneBtn {
  573. background: url('./new-images/btn-vip.png') no-repeat center;
  574. background-size: contain;
  575. cursor: pointer;
  576. &.onBtnRenew {
  577. background: url('./new-images/btn-vip-review.png') no-repeat center;
  578. background-size: contain;
  579. }
  580. }
  581. }
  582. }
  583. // 弹窗样式
  584. .dialogContainer {
  585. width: 287px;
  586. box-sizing: border-box;
  587. background: #FFFFFF;
  588. border-radius: 12px;
  589. padding: 16px 24px 22px;
  590. text-align: center;
  591. .dialogTitle {
  592. font-weight: 500;
  593. font-size: 18px;
  594. color: #333333;
  595. line-height: 25px;
  596. }
  597. .dialogContent {
  598. padding: 16px 0 21px;
  599. font-size: 15px;
  600. color: #777777;
  601. line-height: 26px;
  602. }
  603. .dialogBtnGroup {
  604. padding: 0 16px;
  605. }
  606. .dialogBtn {
  607. font-weight: 500;
  608. font-size: 16px;
  609. color: #FFFFFF;
  610. line-height: 22px;
  611. }
  612. }
  613. .discountTips {
  614. background: linear-gradient(203deg, rgba(254, 237, 197, 0.5) 0%, rgba(255, 198, 179, 0.5) 100%);
  615. border-radius: 6px;
  616. padding: 6px 3px 6px 8px;
  617. // font-weight: 500;
  618. font-size: 12px;
  619. line-height: 17px;
  620. color: #6B4429;
  621. margin-top: 12px;
  622. margin-left: 16px;
  623. margin-right: 16px;
  624. span {
  625. color: #FF491A;
  626. }
  627. }