index.module.less 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  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: center;
  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. background: url('./new-images/icon-vip-disabled.png') no-repeat center;
  42. background-size: contain;
  43. }
  44. }
  45. .userInfo {
  46. padding-top: 5px;
  47. .userName {
  48. display: flex;
  49. align-items: center;
  50. padding-bottom: 4px;
  51. }
  52. .name {
  53. font-weight: 500;
  54. font-size: 18px;
  55. color: #000000;
  56. max-width: 90px;
  57. overflow: hidden;
  58. text-overflow: ellipsis;
  59. white-space: nowrap;
  60. }
  61. .phone {
  62. font-size: 13px;
  63. color: #777777;
  64. }
  65. .member_time {
  66. font-size: 12px;
  67. color: #777777;
  68. span {
  69. color: #FF623A;
  70. }
  71. }
  72. }
  73. }
  74. .memberContainer {
  75. position: relative;
  76. padding-top: 100px;
  77. .showBrid {
  78. position: absolute;
  79. right: 0;
  80. top: -17px;
  81. display: inline-block;
  82. width: 129px;
  83. height: 144px;
  84. background: url('./new-images/icon-banner-brid.png') no-repeat center;
  85. background-size: contain;
  86. }
  87. }
  88. .shareVip {
  89. position: relative;
  90. margin-top: 50px;
  91. display: flex;
  92. flex: 1;
  93. align-items: center;
  94. padding: 11px 6px 11px;
  95. background: #ffffff;
  96. border-radius: 10px;
  97. .icon {
  98. width: 36px;
  99. height: 36px;
  100. border-radius: 10px;
  101. }
  102. .info {
  103. margin-left: 6px;
  104. flex: 1;
  105. word-break: break-all;
  106. >h4 {
  107. color: var(--music-list-item-title-color);
  108. font-size: 14px;
  109. font-weight: 600;
  110. }
  111. >p {
  112. color: var(--music-list-item-mate-color);
  113. line-height: 17px;
  114. }
  115. }
  116. }
  117. .tagDiscount {
  118. position: absolute;
  119. top: -23px;
  120. left: 15px;
  121. padding: 0 10px;
  122. height: 23px;
  123. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  124. border-radius: 8px 8px 0px 0px;
  125. font-size: 14px;
  126. font-weight: 600;
  127. color: #ffffff;
  128. line-height: 24px;
  129. }
  130. .memberSection {
  131. position: relative;
  132. z-index: 1;
  133. background: linear-gradient(179deg, #FFFFFF 0%, #FFFFFF 45%, #BEF5D8 70%, #CDF7CB 100%);
  134. border-radius: 16px 16px 0px 0px;
  135. padding-bottom: 10px;
  136. }
  137. .member_tabs {
  138. display: flex;
  139. align-items: center;
  140. justify-content: space-around;
  141. .member_tab {
  142. flex: 1;
  143. text-align: center;
  144. padding: 12px 0;
  145. cursor: pointer;
  146. opacity: 0.3;
  147. }
  148. .member_tab_active {
  149. opacity: 1;
  150. }
  151. .icon_member {
  152. display: inline-block;
  153. width: 24px;
  154. height: 24px;
  155. margin-right: 6px;
  156. }
  157. .icon_text {
  158. position: relative;
  159. margin-top: 3px;
  160. }
  161. .bottom_line {
  162. position: absolute;
  163. left: 0;
  164. right: 0;
  165. bottom: -3px;
  166. z-index: -1;
  167. height: 7px;
  168. width: 100%;
  169. display: inline-block;
  170. }
  171. .top_tab {
  172. display: flex;
  173. align-items: center;
  174. justify-content: center;
  175. padding-bottom: 5px;
  176. }
  177. .vip_member_tip {
  178. width: 71px;
  179. height: 14px;
  180. background: url('./new-images/vip-bottom-tip.png') no-repeat center;
  181. background-size: contain;
  182. display: inline-block;
  183. }
  184. .top_tab_vip {
  185. .icon_member {
  186. background: url('./new-images/icon-vip.png') no-repeat center;
  187. background-size: contain;
  188. }
  189. .icon_text {
  190. background: url('./new-images/icon-vip-text.png') no-repeat center;
  191. background-size: contain;
  192. width: 59px;
  193. height: 15px;
  194. }
  195. .bottom_line {
  196. background: url('./new-images/icon-vip-bottom-line.png') no-repeat center;
  197. background-size: contain;
  198. }
  199. }
  200. .svip_member_tip {
  201. width: 122px;
  202. height: 14px;
  203. background: url('./new-images/svip-bottom-tip.png') no-repeat center;
  204. background-size: contain;
  205. display: inline-block;
  206. }
  207. .top_tab_svip {
  208. .icon_member {
  209. background: url('./new-images/icon-svip.png') no-repeat center;
  210. background-size: contain;
  211. }
  212. .icon_text {
  213. background: url('./new-images/icon-svip-text.png') no-repeat center;
  214. background-size: contain;
  215. width: 68px;
  216. height: 15px;
  217. }
  218. .bottom_line {
  219. background: url('./new-images/icon-svip-bottom-line.png') no-repeat center;
  220. background-size: contain;
  221. }
  222. }
  223. .member_tab_single {
  224. display: flex;
  225. align-items: center;
  226. justify-content: space-between;
  227. padding: 11px 16px 0;
  228. }
  229. }
  230. .memberDiscount {
  231. margin: 10px 16px 0;
  232. position: relative;
  233. background: url('./new-images/icon-discount-bg.png') no-repeat center;
  234. background-size: contain;
  235. display: flex;
  236. align-items: center;
  237. height: 40px;
  238. font-size: 14px;
  239. color: #6B4429;
  240. line-height: 18px;
  241. .discountAvatar {
  242. margin-left: 15px;
  243. width: 34px;
  244. height: 34px;
  245. border-radius: 50%;
  246. overflow: hidden;
  247. border: 1px solid #ffaf59;
  248. }
  249. .discountName {
  250. padding-left: 30px;
  251. max-width: 200px;
  252. white-space: nowrap;
  253. overflow: hidden;
  254. text-overflow: ellipsis;
  255. span {
  256. color: #FF491A;
  257. }
  258. }
  259. .discountGift {
  260. position: absolute;
  261. right: 11px;
  262. top: 0;
  263. width: 40px;
  264. height: 40px;
  265. }
  266. }
  267. .btnGroup {
  268. padding: 18px 15px;
  269. background-color: #fff;
  270. .btn {
  271. border-radius: 12px;
  272. font-weight: bold;
  273. font-size: 20px;
  274. color: #662610 !important;
  275. line-height: 24px;
  276. }
  277. }
  278. .system_list_section {
  279. margin: 0 6px;
  280. }
  281. .system-list::-webkit-scrollbar {
  282. display: none;
  283. /* Chrome Safari */
  284. }
  285. .system-list {
  286. width: 100%;
  287. overflow-x: auto;
  288. overflow-y: hidden;
  289. display: flex;
  290. position: relative;
  291. user-select: none;
  292. box-sizing: content-box;
  293. padding-top: 16px;
  294. &.list_two {
  295. .system-item {
  296. width: 141px;
  297. &.active {
  298. width: 191px;
  299. }
  300. }
  301. }
  302. }
  303. .system-item {
  304. position: relative;
  305. display: flex;
  306. flex-direction: column;
  307. align-items: center;
  308. justify-content: flex-start;
  309. width: 96px;
  310. min-height: 120px;
  311. box-sizing: border-box;
  312. background: #ffffff;
  313. border-radius: 8px;
  314. border: 1px solid #E7E7E7;
  315. margin-left: 10px;
  316. // &:first-child {
  317. // margin-left: 0;
  318. // }
  319. .iconPermanent {
  320. position: absolute;
  321. left: -1px;
  322. top: -7px;
  323. width: 77px;
  324. height: 20px;
  325. background: url('./new-images/icon-permanent.png') no-repeat center;
  326. background-size: contain;
  327. }
  328. .s_title {
  329. font-weight: 500;
  330. font-size: 13px;
  331. color: #333333;
  332. line-height: 18px;
  333. padding-top: 25px;
  334. width: 100%;
  335. text-align: center;
  336. }
  337. .price {
  338. font-family: DINAlternate, DINAlternate;
  339. font-weight: bold;
  340. font-size: 30px;
  341. color: #333333;
  342. padding: 6px 0 9px;
  343. span {
  344. font-size: 16px;
  345. }
  346. }
  347. .originalPrice {
  348. color: #999999;
  349. font-size: 12px;
  350. line-height: 16px;
  351. }
  352. .extraTip {
  353. position: absolute;
  354. bottom: 0;
  355. left: 0;
  356. right: 0;
  357. width: 100%;
  358. box-sizing: border-box;
  359. background: #FFF5E0;
  360. line-height: 21px;
  361. text-align: center;
  362. text-overflow: ellipsis;
  363. white-space: nowrap;
  364. overflow: hidden;
  365. padding: 0 8px;
  366. border-radius: 0px 0px 7px 7px;
  367. }
  368. &.active {
  369. border: 2px solid #0ED8B0;
  370. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  371. width: 130px;
  372. .iconPermanent {
  373. left: -2px;
  374. }
  375. .extraTip {
  376. background: #0ED8B0;
  377. color: #FFFFFF;
  378. font-weight: 500;
  379. }
  380. }
  381. }
  382. .list_one {
  383. .system-item {
  384. flex-direction: row;
  385. justify-content: space-between;
  386. padding: 0 20px;
  387. width: 100%;
  388. margin: 0 16px;
  389. min-height: 81px;
  390. border: 2px solid #0ED8B0;
  391. background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
  392. .iconPermanent {
  393. left: -2px;
  394. }
  395. .itemBg {
  396. position: absolute;
  397. right: 71px;
  398. top: 0;
  399. bottom: 0;
  400. width: 100px;
  401. background: url('./new-images/icon-svip-big-icon.png') no-repeat center;
  402. background-size: contain;
  403. }
  404. }
  405. .priceS {
  406. position: relative;
  407. z-index: 1;
  408. display: flex;
  409. align-items: center;
  410. .price {
  411. color: #03A385;
  412. padding-bottom: 0;
  413. padding-top: 0;
  414. }
  415. .s_title {
  416. padding-top: 4px;
  417. padding-left: 10px;
  418. font-weight: 500;
  419. font-size: 15px;
  420. color: #333333;
  421. line-height: 21px;
  422. }
  423. }
  424. .oneMaxNum {
  425. margin-left: 4px;
  426. display: inline-block;
  427. background: linear-gradient(90deg, #BEFCE8 0%, #BFFAE8 100%);
  428. border-radius: 2px;
  429. font-size: 12px;
  430. color: #03A385;
  431. padding: 1px 2px;
  432. }
  433. .oneBtn {
  434. position: relative;
  435. z-index: 1;
  436. width: 71px;
  437. height: 30px;
  438. background: url('./new-images/btn-svip.png') no-repeat center;
  439. background-size: contain;
  440. cursor: pointer;
  441. &.onBtnRenew {
  442. background: url('./new-images/btn-svip-review.png') no-repeat center;
  443. background-size: contain;
  444. }
  445. }
  446. }
  447. .system_list_vip {
  448. .system-item {
  449. &.active {
  450. border: 2px solid #FFDB66;
  451. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  452. width: 130px;
  453. }
  454. }
  455. &.list_two {
  456. .system-item {
  457. width: 141px;
  458. &.active {
  459. width: 191px;
  460. }
  461. }
  462. }
  463. &.list_one {
  464. .system-item {
  465. background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
  466. border: 2px solid #FFDB66;
  467. .itemBg {
  468. background: url('./new-images/icon-vip-big-icon.png') no-repeat center;
  469. background-size: contain;
  470. }
  471. }
  472. .priceS {
  473. .price {
  474. color: #FF7452;
  475. }
  476. }
  477. .oneMaxNum {
  478. background: linear-gradient(90deg, #FEDA66 0%, #FEDA66 100%);
  479. color: #FF7452;
  480. text-decoration: line-through;
  481. }
  482. .oneBtn {
  483. background: url('./new-images/btn-vip.png') no-repeat center;
  484. background-size: contain;
  485. cursor: pointer;
  486. &.onBtnRenew {
  487. background: url('./new-images/btn-vip-review.png') no-repeat center;
  488. background-size: contain;
  489. }
  490. }
  491. }
  492. }