index.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. .commodity .cardBox {
  2. display: flex;
  3. align-items: center;
  4. justify-content: space-between;
  5. padding: 34rpx 21rpx;
  6. background-color: white;
  7. }
  8. .commodity .cardBox .vipBox {
  9. position: relative;
  10. width: 340rpx;
  11. height: 198rpx;
  12. background-size: cover;
  13. -webkit-box-reflect: below 0rpx linear-gradient(top, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.24));
  14. -webkit-box-reflect: below 4rpx -webkit-linear-gradient(top, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.24));
  15. }
  16. .commodity .cardBox .bg1 {
  17. background-image: url(http://reader-wx.ai160.com/images/reader/v3/learn/svip.png);
  18. }
  19. .commodity .cardBox .bg2 {
  20. background-image: url(http://reader-wx.ai160.com/images/reader/v3/learn/vip.png);
  21. }
  22. .commodity .cardBox .selectBtn {
  23. position: absolute;
  24. bottom: 10rpx;
  25. right: 10rpx;
  26. width: 48rpx;
  27. height: 46rpx;
  28. line-height: 50rpx;
  29. text-align: center;
  30. border-radius: 50%;
  31. color: white;
  32. font-size: 34rpx;
  33. background-color: white;
  34. }
  35. .commodity .cardBox .checked {
  36. background-color: #30C866;
  37. }
  38. .commodity .introduce {
  39. margin: 20rpx 0;
  40. position: relative;
  41. z-index: 2;
  42. width: 100%;
  43. padding: 0rpx 20rpx 30rpx;
  44. background-color: white;
  45. box-shadow: 0 -31rpx 30rpx #ffffff;
  46. }
  47. .commodity .introduce .title {
  48. margin-bottom: 20rpx;
  49. font-size: 32rpx;
  50. font-weight: bold;
  51. }
  52. .commodity .introduce .price {
  53. font-size: 34rpx;
  54. font-weight: bold;
  55. color: #FF3B00;
  56. }
  57. .commodity .entry {
  58. margin-top: 10rpx;
  59. padding: 36rpx 0rpx;
  60. display: flex;
  61. align-items: center;
  62. background-color: white;
  63. font-size: 30rpx;
  64. }
  65. .commodity .entry .title {
  66. width: 140rpx;
  67. text-align: center;
  68. color: #666666;
  69. }
  70. .commodity .entry .detaild {
  71. font-weight: bold;
  72. }
  73. .commodity .remind {
  74. padding: 25rpx 36rpx;
  75. }
  76. .commodity .remind .title {
  77. font-weight: bold;
  78. color: #212122;
  79. }
  80. .commodity .remind .li {
  81. margin-top: 20rpx;
  82. font-size: 28rpx;
  83. display: flex;
  84. align-items: center;
  85. }
  86. .commodity .remind .li .resetBtn {
  87. margin-left: 30rpx;
  88. border: none;
  89. }
  90. .commodity .remind .li .img {
  91. width: 70rpx;
  92. height: 70rpx;
  93. }
  94. .commodity .payBox {
  95. position: fixed;
  96. width: 100%;
  97. bottom: 0px;
  98. left: 0;
  99. display: flex;
  100. align-items: center;
  101. justify-content: space-between;
  102. padding: 22rpx 36rpx 30rpx;
  103. box-sizing: border-box;
  104. background-color: white;
  105. box-shadow: rgba(0, 0, 0, 0.35) 0px 30rpx 20rpx 20rpx;
  106. }
  107. .commodity .payBox .left {
  108. font-size: 32rpx;
  109. }
  110. .commodity .payBox .left text {
  111. font-size: 36rpx;
  112. color: #FF3B00;
  113. }
  114. .commodity .payBox .buyBtn {
  115. padding: 14rpx 100rpx;
  116. background-color: #FF8E20;
  117. border-radius: 50rpx;
  118. color: white;
  119. font-size: 36rpx;
  120. }
  121. .commodity .activationModal {
  122. position: fixed;
  123. z-index: 2;
  124. left: 0rpx;
  125. top: 0rpx;
  126. width: 100vw;
  127. height: 100vh;
  128. background: rgba(0, 0, 0, 0.7);
  129. }
  130. .commodity .activationModal .bg {
  131. position: absolute;
  132. width: 100%;
  133. height: 200rpx;
  134. z-index: -1;
  135. border-radius: 0 0 100rpx 100rpx;
  136. background-image: linear-gradient(132deg, #FFF4DB 14%, #FFF4DB 62%, #FEE5B5 100%);
  137. font-size: 40rpx;
  138. font-weight: bold;
  139. padding-top: 60rpx;
  140. box-sizing: border-box;
  141. text-align: center;
  142. }
  143. .commodity .activationModal .box {
  144. position: absolute;
  145. left: 0;
  146. right: 0;
  147. top: 30%;
  148. margin: auto;
  149. width: 660rpx;
  150. height: 550rpx;
  151. background-color: white;
  152. border-radius: 20rpx;
  153. text-align: center;
  154. }
  155. .commodity .activationModal .box .sLcon {
  156. margin-top: 164rpx;
  157. width: 580rpx;
  158. height: 326rpx;
  159. }
  160. .commodity .activationModal .box .close {
  161. position: absolute;
  162. padding: 40rpx;
  163. width: 54rpx;
  164. height: 54rpx;
  165. left: 0;
  166. right: 0;
  167. bottom: -140rpx;
  168. margin: auto;
  169. }