memberCenter.wxss 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. .member-center-page{
  2. /* background: #2E3235; */
  3. /* height: 100vh; */
  4. padding-bottom:140rpx;
  5. /* padding:16rpx 70rpx 80rpx; */
  6. }
  7. .center-top{
  8. width: 610rpx;
  9. height: 286rpx;
  10. background: linear-gradient(162deg, #F1E3C8 0%, #E6C162 100%);
  11. border-radius: 10rpx;
  12. margin:0 0 26rpx;
  13. padding:32rpx 32rpx 20rpx;
  14. }
  15. .user-info{
  16. height: 112rpx;
  17. margin:0 0 32rpx;
  18. display: flex;
  19. justify-content: space-between;
  20. align-items: flex-end;
  21. }
  22. .user-avatar{
  23. width:112rpx;
  24. height: 112rpx;
  25. background-color: #fff;
  26. border-radius: 112rpx;
  27. margin:0 40rpx 0 0;
  28. }
  29. .user-detail{
  30. flex:1;
  31. padding:0 0 12rpx;
  32. color: #5D3A11;
  33. font-size:26rpx;
  34. }
  35. .user-name{
  36. height: 30rpx;
  37. display: flex;
  38. align-items: center;
  39. margin:0 0 20rpx 0;
  40. }
  41. .user-name text{
  42. font-size: 30rpx;
  43. }
  44. .member-date{
  45. height: 36rpx;
  46. line-height:36rpx;
  47. }
  48. .member-bage{
  49. width: 28rpx;
  50. height: 28rpx;
  51. line-height: 24rpx;
  52. background: #2E3235;
  53. border-radius: 50%;
  54. margin:0 0 0 10rpx;
  55. text-align: center;
  56. font-size:20rpx;
  57. color: #E6C162;
  58. }
  59. .member-bage text{
  60. font-weight: bold;
  61. color: #5D3A11;
  62. font-size:20rpx;
  63. line-height: 24rpx;
  64. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  65. -webkit-background-clip: text;
  66. -webkit-text-fill-color: transparent;
  67. }
  68. .amount-info{
  69. height: 90rpx;
  70. display: flex;
  71. justify-content: space-between;
  72. align-items: flex-end;
  73. }
  74. .save-text{
  75. color: #5D3A11;
  76. font-size: 24rpx;
  77. height: 24rpx;
  78. line-height: 22rpx;
  79. margin:0 0 6rpx 0;
  80. }
  81. .save-cost{
  82. font-size: 60rpx;
  83. height: 64rpx;
  84. line-height: 64rpx;
  85. font-weight: bold;
  86. color: #5D3A11;
  87. }
  88. .save-cost text{
  89. font-size: 32rpx;
  90. font-weight: bold;
  91. }
  92. .buy-record{
  93. /* padding: 0 0 12rpx; */
  94. display: flex;
  95. align-items: center;
  96. color: #5D3A11;
  97. font-weight: 26rpx;
  98. }
  99. .buy-record text{
  100. padding-left:10rpx;
  101. }
  102. .renew-btn{
  103. width: 130rpx;
  104. height: 36rpx;
  105. line-height: 34rpx;
  106. background: #2E3235;
  107. border-radius: 18rpx;
  108. text-align: center;
  109. }
  110. .renew-btn text{
  111. font-size: 24rpx;
  112. color: #5D3A11;
  113. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  114. -webkit-background-clip: text;
  115. -webkit-text-fill-color: transparent;
  116. }
  117. .center-content{
  118. height: 602rpx;
  119. width:610rpx;
  120. border-radius: 10rpx;
  121. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/new/member-center-bg.png') no-repeat center top;
  122. background-size: 100%;
  123. padding:48rpx 24rpx 20rpx;
  124. }
  125. .h1-title{
  126. text-align: center;
  127. height: 44rpx;
  128. line-height: 44rpx;
  129. font-size: 44rpx;
  130. color: #FFFFFF;
  131. font-weight: bold;
  132. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  133. -webkit-background-clip: text;
  134. -webkit-text-fill-color: transparent;
  135. }
  136. .h2-title{
  137. text-align: center;
  138. height: 24rpx;
  139. line-height: 24rpx;
  140. font-size: 24rpx;
  141. color: #FFFFFF;
  142. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  143. -webkit-background-clip: text;
  144. -webkit-text-fill-color:transparent;
  145. margin:24rpx 0 66rpx;
  146. }
  147. .category-block{
  148. display: flex;
  149. justify-content: space-between;
  150. margin:0 0 20rpx;
  151. }
  152. .category-item{
  153. display: flex;
  154. flex-direction: column;
  155. align-items: center;
  156. justify-content: space-between;
  157. height:160rpx;
  158. flex:1;
  159. }
  160. .category-img{
  161. width:88rpx;
  162. height: 88rpx;
  163. }
  164. .category-name{
  165. height: 28rpx;
  166. line-height: 28rpx;
  167. font-size: 28rpx;
  168. color: #FFFFFF;
  169. background: linear-gradient(181deg, #F1E3C8 0%, #E6C162 100%);
  170. -webkit-background-clip: text;
  171. -webkit-text-fill-color: transparent;
  172. }
  173. .category-discount{
  174. height: 24rpx;
  175. font-size: 24rpx;
  176. color: #85868A;
  177. }
  178. .rule{
  179. text-align: center;
  180. padding-bottom: 20rpx;
  181. color: #E6C162;
  182. margin: 0 0 20rpx;
  183. }
  184. /* 海报的样式 */
  185. .poster{
  186. padding: 50rpx;
  187. background: linear-gradient(162deg, #F1E3C8 0%, #E6C162 100%);
  188. text-align: left;
  189. /* height: 650rpx; */
  190. top: 20%;
  191. margin: 50rpx;
  192. position: absolute;
  193. z-index: 99;
  194. text-align: left;
  195. left: 0;
  196. right: 0;
  197. border-radius: 20rpx;
  198. }
  199. .title{
  200. color: #333;
  201. margin: 20rpx 0;
  202. font-size: 36rpx;
  203. text-align: center;
  204. }
  205. .ads{
  206. margin: 10rpx 0rpx;
  207. color: #333;
  208. }
  209. .tool{
  210. display: flex;
  211. text-align: center;
  212. justify-content: baseline;
  213. width: 100%;
  214. margin-top: 20rpx;
  215. }
  216. .tool view{
  217. flex: 1;
  218. }
  219. .img{
  220. width: 107rpx;
  221. height: 128rpx;
  222. }
  223. .closeImg{
  224. width: 57rpx;
  225. height: 57rpx;
  226. }
  227. .share-btn{
  228. background: #2E3235;
  229. width: 260rpx;
  230. height: 76rpx;
  231. line-height: 76rpx;
  232. margin: 0 auto;
  233. color: #fff;
  234. border-radius: 38rpx;
  235. }
  236. .share-btn::after {
  237. border: none;
  238. }
  239. .pay-btn{
  240. margin:80rpx auto 0;
  241. width: 530rpx;
  242. height: 100rpx;
  243. background: linear-gradient(0deg, #E4CFA8, #E4CFA8);
  244. box-shadow: 0rpx 9rpx 18rpx 0rpx rgba(50, 50, 50, 0.06);
  245. border-radius: 100rpx;
  246. font-weight: bold;
  247. color: #663315;
  248. text-shadow: 2rpx 6rpx 8rpx rgba(30, 4, 4, 0.18);
  249. font-size: 36rpx;
  250. text-align: center;
  251. line-height: 100rpx;
  252. }
  253. .benefit-title{
  254. font-weight: bold;
  255. color: #000000;
  256. font-size: 34rpx;
  257. margin:48rpx 0 28rpx 34rpx;
  258. height: 34rpx;
  259. }
  260. .benefit-banner-item{
  261. width:700rpx;
  262. height: 182rpx;
  263. margin:0 25rpx 12rpx;
  264. }
  265. .benefit-banner-item image{
  266. width:700rpx;
  267. height: 182rpx;
  268. }
  269. .benefit-icon-block{
  270. margin:26rpx 0 0;
  271. padding:0 66rpx 0 ;
  272. display: flex;
  273. justify-content: space-between;
  274. }
  275. .benefit-icon-item{
  276. width:124rpx;
  277. display: flex;
  278. flex-direction: column;
  279. align-items: center;
  280. }
  281. .benefit-icon-item image{
  282. width:112rpx;
  283. height:112rpx;
  284. }
  285. .benefit-icon-title{
  286. color: #515151;
  287. font-size: 24rpx;
  288. height: 32rpx;
  289. line-height: 32rpx;
  290. }
  291. .benfit-icon-remark{
  292. color: #9D9D9D;
  293. font-size: 20rpx;
  294. }
  295. .first-buy-title{
  296. height: 34px;
  297. line-height: 34rpx;
  298. padding:0 34rpx;
  299. display: flex;
  300. align-items: flex-end;
  301. font-size: 34rpx;
  302. font-weight: bold;
  303. }
  304. .first-buy-title .remark{
  305. margin-left:16rpx;
  306. font-size: 20rpx;
  307. font-weight: normal;
  308. }
  309. .good-list{
  310. padding:0 20rpx;
  311. display: flex;
  312. justify-content: space-between;
  313. flex-wrap: wrap;
  314. }
  315. .good-item{
  316. margin-bottom:10rpx;
  317. }
  318. .good-img{
  319. width:350rpx;
  320. height: 224rpx;
  321. }
  322. .banner-item{
  323. margin:0 auto 10rpx;
  324. width:712rpx;
  325. }
  326. .banner-img{
  327. width:712rpx;
  328. height: 190rpx;
  329. margin:0 auto;
  330. }
  331. .member-valid-wrapper{
  332. text-align: center;
  333. }
  334. .user-info{
  335. height: 112rpx;
  336. margin:0 0 32rpx;
  337. display: flex;
  338. justify-content: space-between;
  339. align-items: center;
  340. padding:0 80rpx 0 40rpx;
  341. }
  342. .user-avatar{
  343. width:112rpx;
  344. height: 112rpx;
  345. background-color: #fff;
  346. border-radius: 112rpx;
  347. margin:0 20rpx 0 0;
  348. }
  349. .user-detail{
  350. flex:1;
  351. padding:8rpx 0 0rpx;
  352. color: #fff;
  353. font-size:26rpx;
  354. }
  355. .user-name{
  356. height: 30rpx;
  357. display: flex;
  358. align-items: center;
  359. margin:0 0 20rpx 0;
  360. }
  361. .user-name text{
  362. font-size: 32rpx;
  363. }
  364. .member-date{
  365. height: 30rpx;
  366. font-size: 22rpx;
  367. line-height:30rpx;
  368. color: #828387;
  369. display: flex;
  370. align-items: center;
  371. }
  372. .member-invalid-top{
  373. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/memberCard-1229/member-center-bg.png') no-repeat center top;
  374. background-size: 100%;
  375. height: 342rpx;
  376. width:750rpx;
  377. padding:30rpx 0 0;
  378. }
  379. .member-invalid-wrapper .buy-record,.member-valid-wrapper .buy-record{
  380. display: flex;
  381. align-items: center;
  382. color: #FFFFFF;
  383. font-size: 22rpx;
  384. font-weight: 26rpx;
  385. width: 136rpx;
  386. justify-content: center;
  387. height: 42rpx;
  388. line-height: 42rpx;
  389. border-radius: 5rpx;
  390. background-color: #45474C;
  391. }
  392. .member-invalid-card{
  393. width: 608rpx;
  394. height: 180rpx;
  395. background: linear-gradient(180deg, #FFE3AF, #FEBF4F);
  396. box-shadow: 0rpx 10rpx 16rpx 0rpx rgba(197, 148, 60, 0.16);
  397. border-radius: 15rpx;
  398. margin:-156rpx auto 0;
  399. padding:50rpx 54rpx 44rpx 40rpx;
  400. display: flex;
  401. justify-content: space-between;
  402. }
  403. .invalid-card-left{
  404. color: #A26428;
  405. text-shadow: 2rpx 6rpx 8rpx rgba(30, 4, 4, 0.18);
  406. font-size: 24rpx;
  407. }
  408. .invalid-card-left .card-title{
  409. font-weight: bold;
  410. color: #663315;
  411. text-shadow: 2rpx 6rpx 8rpx rgba(30, 4, 4, 0.18);
  412. font-size: 32rpx;
  413. height: 44rpx;
  414. line-height: 44rpx;
  415. margin-bottom:8rpx;
  416. }
  417. .invalid-card-right{
  418. display: flex;
  419. flex-direction: column;
  420. justify-content: flex-end;
  421. align-items: center;
  422. color: #A26428;
  423. opacity: 0.8;
  424. text-shadow: 2rpx 6rpx 8rpx rgba(30, 4, 4, 0.18);
  425. font-size: 20rpx;
  426. width: 144rpx;
  427. }
  428. .invalid-card-right .btn{
  429. width: 144rpx;
  430. height: 42rpx;
  431. line-height: 42rpx;
  432. background: #FFFFFF;
  433. border-radius:42rpx;
  434. color: #663315;
  435. font-size: 24rpx;
  436. opacity: 1;
  437. text-align: center;
  438. margin-top:8rpx;
  439. }
  440. .member-valid-top{
  441. padding:30rpx 0 32rpx;
  442. background: #1F232D;
  443. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/memberCard-1229/member-valid-bg.png') no-repeat center;
  444. background-size: 100%;
  445. height: 700rpx;
  446. width:750rpx;
  447. color:#fff;
  448. }
  449. .member-valid-benefit{
  450. height: 526rpx;
  451. width:750rpx;
  452. }
  453. .valid-benefit-item image{
  454. width:100rpx;
  455. height: 100rpx;
  456. }
  457. .valid-benefit-title{
  458. display: flex;
  459. justify-content: center;
  460. font-size: 28rpx;
  461. font-weight: bold;
  462. align-items: center;
  463. }
  464. .valid-benefit-title .line{
  465. width: 50rpx;
  466. height: 3rpx;
  467. background: rgba(255,255,255,0.85);
  468. border-radius: 0rpx 3rpx 3rpx 0rpx;
  469. }
  470. .valid-benefit-title .text{
  471. margin:0 14rpx;
  472. }
  473. .valid-benefit-block{
  474. padding:0 30rpx 0 26rpx;
  475. }
  476. .valid-benefit-line{
  477. display: flex;
  478. justify-content: space-between;
  479. text-align: center;
  480. margin-top:30rpx;
  481. }
  482. .valid-benefit-item{
  483. flex:1;
  484. font-size: 24rpx;
  485. }
  486. .valid-benefit-item .remark{
  487. color: #9D9D9D;
  488. font-size: 21rpx;
  489. }
  490. .member-date .renew{
  491. color: #E6C78B;
  492. font-size: 24rpx;
  493. margin-left:14rpx;
  494. }