index.module.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. .vipPopup {
  2. /* 引导页出来不能点击的问题 */
  3. pointer-events: initial !important;
  4. & * {
  5. pointer-events: initial !important;
  6. }
  7. :global {
  8. .van-popup__close-icon {
  9. color: #333333;
  10. top: 23px;
  11. right: 23px;
  12. font-size: 20px;
  13. }
  14. }
  15. .vip {
  16. padding-bottom: 20px;
  17. width: 295px;
  18. .title {
  19. height: 49px;
  20. background: linear-gradient(to bottom, #defaff, #ffffff);
  21. padding-bottom: 4px;
  22. display: flex;
  23. justify-content: center;
  24. align-items: flex-end;
  25. .tit {
  26. font-weight: 500;
  27. font-size: 18px;
  28. color: #1a1a1a;
  29. line-height: 25px;
  30. }
  31. }
  32. .text {
  33. margin-top: 16px;
  34. padding: 0 20px;
  35. font-weight: 400;
  36. font-size: 16px;
  37. color: #666666;
  38. line-height: 26px;
  39. text-align: center;
  40. }
  41. .btnCon {
  42. margin-top: 25px;
  43. display: flex;
  44. justify-content: center;
  45. :global {
  46. .van-button {
  47. width: 120px;
  48. height: 40px;
  49. border-radius: 20px;
  50. font-weight: 500;
  51. font-size: 16px;
  52. & + .van-button {
  53. margin-left: 15px;
  54. }
  55. }
  56. }
  57. }
  58. }
  59. }
  60. .popup {
  61. background: transparent;
  62. width: 270px;
  63. border-radius: 20px;
  64. overflow-y: initial;
  65. }
  66. .wrap {
  67. background: #fff;
  68. text-align: center;
  69. border-radius: 0 0 20px 20px;
  70. }
  71. .image {
  72. width: 100%;
  73. display: block;
  74. margin-bottom: -4px;
  75. }
  76. .title {
  77. font-size: 18px;
  78. font-weight: 500;
  79. color: #1a1a1a;
  80. line-height: 25px;
  81. padding: 18px 0 10px 0;
  82. }
  83. .andTitle{
  84. font-size: 14px;
  85. }
  86. .sub {
  87. font-size: 14px;
  88. font-weight: 400;
  89. color: #808080;
  90. margin-bottom: 16px;
  91. }
  92. .andSub{
  93. font-size: 14px;
  94. }
  95. .btnWrap {
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. padding-bottom: 20px;
  100. }
  101. .btn {
  102. width: 117px;
  103. height: 34px;
  104. background-color: transparent;
  105. border: none;
  106. background-size: 100% 100%;
  107. background-repeat: no-repeat;
  108. }
  109. .cancelBtn {
  110. background-image: url('./imgs/no-confirm-btn.svg');
  111. }
  112. .confirmBtn {
  113. background-image: url('./imgs/confirm-btn.svg');
  114. }
  115. .tryoutBtn {
  116. background-image: url('./imgs/tryout-btn.svg');
  117. }
  118. .discounts {
  119. position: relative;
  120. &::after {
  121. width: 25px;
  122. height: 8px;
  123. line-height: 8px;
  124. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  125. border-radius: 4px 4px 4px 0px;
  126. content: '专属优惠';
  127. font-size: 5px;
  128. color: #ffffff;
  129. top: -6px;
  130. position: absolute;
  131. left: 6px;
  132. }
  133. }
  134. .membershipBtn {
  135. background-image: url('./imgs/membership-btn.svg');
  136. }
  137. .demandBtn {
  138. background-image: url('./imgs/demand-btn.svg');
  139. }
  140. .demandBtnFree {
  141. background-image: url('./imgs/demand-btn-free.svg');
  142. }
  143. .closeBtn{
  144. position: absolute;
  145. right: -30Px;
  146. top: 20Px;
  147. }