memberCenter.wxss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. .member-center-page{
  2. background: #2E3235;
  3. height: 100vh;
  4. padding:16rpx 70rpx 80rpx;
  5. }
  6. .center-top{
  7. width: 610rpx;
  8. height: 286rpx;
  9. background: linear-gradient(162deg, #F1E3C8 0%, #E6C162 100%);
  10. border-radius: 10rpx;
  11. margin:0 0 26rpx;
  12. padding:32rpx 32rpx 20rpx;
  13. }
  14. .user-info{
  15. height: 112rpx;
  16. margin:0 0 32rpx;
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: flex-end;
  20. }
  21. .user-avatar{
  22. width:112rpx;
  23. height: 112rpx;
  24. background-color: #fff;
  25. border-radius: 112rpx;
  26. margin:0 40rpx 0 0;
  27. }
  28. .user-detail{
  29. flex:1;
  30. padding:0 0 12rpx;
  31. color: #5D3A11;
  32. font-size:26rpx;
  33. }
  34. .user-name{
  35. height: 30rpx;
  36. display: flex;
  37. align-items: center;
  38. margin:0 0 20rpx 0;
  39. }
  40. .user-name text{
  41. font-size: 30rpx;
  42. }
  43. .member-date{
  44. height: 36rpx;
  45. line-height:36rpx;
  46. }
  47. .member-bage{
  48. width: 28rpx;
  49. height: 28rpx;
  50. line-height: 24rpx;
  51. background: #2E3235;
  52. border-radius: 50%;
  53. margin:0 0 0 10rpx;
  54. text-align: center;
  55. font-size:20rpx;
  56. color: #E6C162;
  57. }
  58. .member-bage text{
  59. font-weight: bold;
  60. color: #5D3A11;
  61. font-size:20rpx;
  62. line-height: 24rpx;
  63. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  64. -webkit-background-clip: text;
  65. -webkit-text-fill-color: transparent;
  66. }
  67. .amount-info{
  68. height: 90rpx;
  69. display: flex;
  70. justify-content: space-between;
  71. align-items: flex-end;
  72. }
  73. .save-text{
  74. color: #5D3A11;
  75. font-size: 24rpx;
  76. height: 24rpx;
  77. line-height: 22rpx;
  78. margin:0 0 6rpx 0;
  79. }
  80. .save-cost{
  81. font-size: 60rpx;
  82. height: 64rpx;
  83. line-height: 64rpx;
  84. font-weight: bold;
  85. color: #5D3A11;
  86. }
  87. .save-cost text{
  88. font-size: 32rpx;
  89. font-weight: bold;
  90. }
  91. .buy-record{
  92. padding: 0 0 12rpx;
  93. display: flex;
  94. align-items: center;
  95. color: #5D3A11;
  96. font-weight: 26rpx;
  97. }
  98. .buy-record text{
  99. }
  100. .renew-btn{
  101. width: 130rpx;
  102. height: 36rpx;
  103. line-height: 34rpx;
  104. background: #2E3235;
  105. border-radius: 18rpx;
  106. text-align: center;
  107. }
  108. .renew-btn text{
  109. font-size: 24rpx;
  110. color: #5D3A11;
  111. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  112. -webkit-background-clip: text;
  113. -webkit-text-fill-color: transparent;
  114. }
  115. .center-content{
  116. height: 602rpx;
  117. width:610rpx;
  118. border-radius: 10rpx;
  119. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/new/member-center-bg.png') no-repeat center top;
  120. background-size: 100%;
  121. padding:48rpx 24rpx 20rpx;
  122. }
  123. .h1-title{
  124. text-align: center;
  125. height: 44rpx;
  126. line-height: 44rpx;
  127. font-size: 44rpx;
  128. color: #FFFFFF;
  129. font-weight: bold;
  130. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  131. -webkit-background-clip: text;
  132. -webkit-text-fill-color: transparent;
  133. }
  134. .h2-title{
  135. text-align: center;
  136. height: 24rpx;
  137. line-height: 24rpx;
  138. font-size: 24rpx;
  139. color: #FFFFFF;
  140. background: linear-gradient(78deg, #F1E3C8 0%, #E6C162 100%);
  141. -webkit-background-clip: text;
  142. -webkit-text-fill-color:transparent;
  143. margin:24rpx 0 66rpx;
  144. }
  145. .category-block{
  146. display: flex;
  147. justify-content: space-between;
  148. margin:0 0 20rpx;
  149. }
  150. .category-item{
  151. display: flex;
  152. flex-direction: column;
  153. align-items: center;
  154. justify-content: space-between;
  155. height:160rpx;
  156. flex:1;
  157. }
  158. .category-img{
  159. width:88rpx;
  160. height: 88rpx;
  161. }
  162. .category-name{
  163. height: 28rpx;
  164. line-height: 28rpx;
  165. font-size: 28rpx;
  166. color: #FFFFFF;
  167. background: linear-gradient(181deg, #F1E3C8 0%, #E6C162 100%);
  168. -webkit-background-clip: text;
  169. -webkit-text-fill-color: transparent;
  170. }
  171. .category-discount{
  172. height: 24rpx;
  173. font-size: 24rpx;
  174. color: #85868A;
  175. }
  176. .rule{
  177. text-align: center;
  178. padding-bottom: 20rpx;
  179. color: #E6C162;
  180. margin: 0 0 20rpx;
  181. }
  182. /* 海报的样式 */
  183. .poster{
  184. padding: 50rpx;
  185. background: linear-gradient(162deg, #F1E3C8 0%, #E6C162 100%);
  186. text-align: left;
  187. /* height: 650rpx; */
  188. top: 20%;
  189. margin: 50rpx;
  190. position: absolute;
  191. z-index: 99;
  192. text-align: left;
  193. left: 0;
  194. right: 0;
  195. border-radius: 20rpx;
  196. }
  197. .title{
  198. color: #333;
  199. margin: 20rpx 0;
  200. font-size: 36rpx;
  201. text-align: center;
  202. }
  203. .ads{
  204. margin: 10rpx 0rpx;
  205. color: #333;
  206. }
  207. .tool{
  208. display: flex;
  209. text-align: center;
  210. justify-content: baseline;
  211. width: 100%;
  212. margin-top: 20rpx;
  213. }
  214. .tool view{
  215. flex: 1;
  216. }
  217. .img{
  218. width: 107rpx;
  219. height: 128rpx;
  220. }
  221. .closeImg{
  222. width: 57rpx;
  223. height: 57rpx;
  224. }
  225. .share-btn{
  226. background: #2E3235;
  227. width: 260rpx;
  228. height: 76rpx;
  229. line-height: 76rpx;
  230. margin: 0 auto;
  231. color: #fff;
  232. border-radius: 38rpx;
  233. }
  234. .share-btn::after {
  235. border: none;
  236. }