buyVip.wxss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. /* pages/buyVip/buyVip.wxss */
  2. page {
  3. height: 100%;
  4. }
  5. .buy-vip-container {
  6. position: relative;
  7. height: 100%;
  8. }
  9. .vip-card-wrapper {
  10. margin-bottom: 200rpx;
  11. }
  12. /* 会员信息 */
  13. .top-bg {
  14. background-color: #e43130;
  15. height: 530rpx;
  16. }
  17. .member-info {
  18. padding: 50rpx 30rpx;
  19. display: flex;
  20. align-items: center;
  21. position: relative;
  22. }
  23. .member-info .head-portrait {
  24. width: 120rpx;
  25. height: 120rpx;
  26. border-radius: 50%;
  27. overflow: hidden;
  28. }
  29. .member-info .head-portrait image {
  30. width: 100%;
  31. height: 100%;
  32. border-radius: 50%;
  33. }
  34. .member-info .text-box {
  35. margin: 0 30rpx 0 20rpx;
  36. flex: 1;
  37. }
  38. .member-info .text-box .name-box {
  39. display: flex;
  40. align-items: center;
  41. }
  42. .member-info .text-box .name-box .name {
  43. font-size: 32rpx;
  44. font-weight: 600;
  45. color: #fff;
  46. max-width: 216rpx;
  47. display: -webkit-box;
  48. -webkit-box-orient: vertical;
  49. -webkit-line-clamp: 1;
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. }
  53. .member-info .text-box .name-box .level {
  54. position: relative;
  55. width: 124rpx;
  56. height: 32rpx;
  57. margin-left: 10rpx;
  58. margin-top: 6rpx;
  59. box-sizing: border-box;
  60. background: #fff;
  61. border-radius: 32rpx;
  62. background: #fff;
  63. }
  64. .member-info .text-box .name-box .level .l-bg {
  65. position: absolute;
  66. left: 4rpx;
  67. top: 4rpx;
  68. width: 24rpx;
  69. height: 24rpx;
  70. }
  71. .member-info .text-box .name-box .level .text {
  72. color: #7c4733;
  73. font-size: 20rpx;
  74. font-family: arial;
  75. position: relative;
  76. line-height: 32rpx;
  77. margin-left: 36rpx;
  78. }
  79. .member-info .text-box .date {
  80. margin-top: 14rpx;
  81. font-size: 24rpx;
  82. color: #fff;
  83. }
  84. .member-info .buy-btn {
  85. width: 170rpx;
  86. height: 60rpx;
  87. line-height: 60rpx;
  88. text-align: center;
  89. font-size: 28rpx;
  90. color: #7c4733;
  91. background: #fbe3b4;
  92. box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  93. border-radius: 70rpx;
  94. font-weight: 600;
  95. }
  96. /* /会员信息 */
  97. /* 卡片轮播 */
  98. swiper {
  99. width: 100%;
  100. height: 100%;
  101. overflow: hidden;
  102. }
  103. swiper.pic-swiper {
  104. margin-top: -330rpx;
  105. position: relative;
  106. height: 340rpx;
  107. }
  108. swiper-item {
  109. font-size: 26rpx;
  110. margin-left: 35rpx;
  111. }
  112. .banner-item {
  113. box-sizing: border-box;
  114. }
  115. swiper.pic-swiper .banner {
  116. width: 640rpx;
  117. height: 340rpx;
  118. border-radius: 14rpx 14rpx 0 0;
  119. }
  120. .level-mark {
  121. position: absolute;
  122. right: 0;
  123. top: 0;
  124. background-color: #ffecc8;
  125. width: 80rpx;
  126. max-width: 100rpx;
  127. height: 40rpx;
  128. line-height: 40rpx;
  129. color: #7d4834;
  130. text-align: center;
  131. border-radius: 0 14rpx 0 14rpx;
  132. font-size: 24rpx;
  133. padding: 0 8rpx;
  134. }
  135. .card-face {
  136. display: flex;
  137. flex-direction: column;
  138. padding: 50rpx 30rpx 30rpx;
  139. height: 340rpx;
  140. box-sizing: border-box;
  141. color: #fff;
  142. justify-content: space-between;
  143. position: relative;
  144. }
  145. .vip-pic {
  146. width: 640rpx;
  147. height: 340rpx;
  148. position: absolute;
  149. top: 0;
  150. left: 0;
  151. z-index: -1;
  152. }
  153. .white-bg {
  154. background-color: #fff;
  155. }
  156. .vip-info {
  157. font-weight: 600;
  158. }
  159. .vip-level {
  160. font-size: 36rpx;
  161. }
  162. .vip-price {
  163. font-size: 26rpx;
  164. }
  165. .vip-price .amount {
  166. font-size: 70rpx;
  167. }
  168. .vip-level-progress {
  169. display: flex;
  170. justify-content: space-between;
  171. align-items: center;
  172. font-weight: lighter;
  173. font-size: 24rpx;
  174. padding-bottom: 10rpx;
  175. }
  176. .vip-level-progress .level-tips {
  177. flex: 6;
  178. margin-right: 20rpx;
  179. align-self: center;
  180. }
  181. .vip-level-progress .level-progress {
  182. margin: 6rpx 0;
  183. }
  184. .vip-level-progress .level-span {
  185. display: flex;
  186. justify-content: space-between;
  187. font-weight: bold;
  188. }
  189. .vip-level-progress .level-text {
  190. }
  191. /* 会员权益 */
  192. .vip-rights-container {
  193. background-color: #fff;
  194. width: 750rpx;
  195. height: 660rpx;
  196. border-radius: 14rpx 14rpx 0 0;
  197. position: relative;
  198. margin-top: -20rpx;
  199. padding: 50rpx 30rpx;
  200. box-sizing: border-box;
  201. }
  202. .vip-rights-container::after {
  203. border-left: 12rpx solid transparent;
  204. border-right: 12rpx solid transparent;
  205. border-bottom: 12rpx solid #fff;
  206. content: "";
  207. position: absolute;
  208. top: -10rpx;
  209. left: 50%;
  210. width: 0;
  211. z-index: 9999;
  212. transform: translateX(-50%);
  213. }
  214. .member-tit {
  215. display: flex;
  216. align-items: center;
  217. }
  218. .member-tit .text {
  219. flex: 1;
  220. font-size: 32rpx;
  221. font-weight: 600;
  222. position: relative;
  223. padding-left: 16rpx;
  224. }
  225. .member-tit .text::before {
  226. position: absolute;
  227. left: 0;
  228. top: 15%;
  229. display: block;
  230. width: 6rpx;
  231. height: 70%;
  232. content: " ";
  233. background: #e43130;
  234. border-radius: 6rpx;
  235. }
  236. .rights-item-con {
  237. display: flex;
  238. justify-content: space-between;
  239. flex-wrap: wrap;
  240. margin: 40rpx 0 80rpx 0;
  241. padding: 0 10rpx;
  242. box-sizing: border-box;
  243. height: 700rpx;
  244. overflow-y: scroll;
  245. }
  246. .rights-item-con::after{
  247. content: '';
  248. width: 30%;
  249. }
  250. .rights-item {
  251. width: 30%;
  252. display: flex;
  253. flex-direction: column;
  254. align-items: center;
  255. margin-bottom: 40rpx;
  256. padding: 0 15rpx;
  257. box-sizing: border-box;
  258. }
  259. .rights-img {
  260. width: 100rpx;
  261. height: 100rpx;
  262. border-radius: 50%;
  263. overflow: hidden;
  264. }
  265. .rights-img image{
  266. width: 100%;
  267. height: 100%;
  268. display: block;
  269. }
  270. .rights-tit {
  271. font-size: 30rpx;
  272. margin: 25rpx 0 15rpx 0;
  273. }
  274. .rights-desc {
  275. font-size: 22rpx;
  276. color: #999;
  277. text-align: center;
  278. }
  279. /* 底部按钮 */
  280. .bottom {
  281. box-shadow: 1rpx -1rpx 6rpx #eee;
  282. width: 100%;
  283. display: flex;
  284. position: fixed;
  285. bottom: 0;
  286. left: 0;
  287. }
  288. .bottom-item {
  289. flex: 1;
  290. text-align: center;
  291. padding: 25rpx 0;
  292. display: flex;
  293. align-items: center;
  294. justify-content: center;
  295. background-color: #fff;
  296. }
  297. .btn {
  298. background: #e43130;
  299. font-weight: bold;
  300. color: #fff;
  301. }
  302. .btn-gray{
  303. background: #aaa;
  304. color: #fff;
  305. }
  306. .bottom .vip-price {
  307. color: #e43130;
  308. }
  309. .vip-total-balck {
  310. color: #000;
  311. }
  312. .symbol {
  313. font-size: 26rpx;
  314. }
  315. .amount.pay-amount {
  316. font-weight: bold;
  317. font-size: 50rpx;
  318. }