share.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. .box {
  2. position: relative;
  3. background: #FFFFFF;
  4. width: 706rpx;
  5. border-radius: 20rpx;
  6. margin: 0 auto;
  7. box-sizing: border-box;
  8. }
  9. .rules {
  10. position: absolute;
  11. top: 20rpx;
  12. right: 20rpx;
  13. }
  14. .actColor {
  15. color: #ff6139;
  16. }
  17. .actBg {
  18. background: #ff6139;
  19. }
  20. .point {
  21. font-size: 64rpx;
  22. }
  23. .point-box {
  24. background: linear-gradient(90deg, rgb(255,87,51), rgb(255,132,80));
  25. padding: 30rpx;
  26. border-radius: 30rpx;
  27. color: rgb(255,230,163);
  28. }
  29. .line-h {
  30. line-height: 1;
  31. }
  32. .coupon {
  33. background-color: #fefefe;
  34. position: relative;
  35. padding: 0 20rpx;
  36. border-radius: 6rpx;
  37. margin-top: 24rpx;
  38. box-shadow: 1px 6px 12px #ececec;
  39. }
  40. .coupon:before, .coupon:after {
  41. content: '';
  42. position: absolute;
  43. width: 20rpx;
  44. height: 40rpx;
  45. background: #f6f6f6;
  46. top: 70rpx;
  47. z-index: 1;
  48. }
  49. .coupon:before {
  50. border-radius: 0 40rpx 40rpx 0;
  51. left: 0;
  52. }
  53. .coupon:after {
  54. border-radius: 40rpx 0 0 40rpx;
  55. right: 0;
  56. }
  57. .coupon .header {
  58. display: flex;
  59. padding: 15rpx 0;
  60. border-bottom: 2rpx dashed #dbdbdb;
  61. height: 140rpx;
  62. }
  63. .coupon .footer {
  64. color: #747474;
  65. font-size: 24rpx;
  66. padding: 22rpx 0 20rpx 35rpx;
  67. }
  68. .coupon .price {
  69. color: #333;
  70. width: 175rpx;
  71. text-align: center;
  72. border-right: 2rpx dashed #dbdbdb;
  73. }
  74. .coupon .price .reduce-price {
  75. color: #000;
  76. font-size: 38rpx;
  77. font-weight: bold;
  78. padding-top: 30rpx;
  79. }
  80. .coupon .price .reduce-price text {
  81. font-size: 24rpx;
  82. }
  83. .coupon .price .reduce-desc {
  84. font-size: 20rpx;
  85. margin-top: 10rpx;
  86. }
  87. .coupon .info {
  88. padding-left: 30rpx;
  89. flex: 1;
  90. }
  91. .coupon .info .reduce-title {
  92. color: #000;
  93. font-size: 28rpx;
  94. font-weight: bold;
  95. padding-top: 20rpx;
  96. display: -webkit-box;
  97. -webkit-box-orient: vertical;
  98. -webkit-line-clamp: 2;
  99. overflow: hidden;
  100. }
  101. .coupon .info .reduce-type {
  102. color: #fff;
  103. font-weight: normal;
  104. font-size: 20rpx;
  105. background: #ec6b5a;
  106. padding: 2rpx 8rpx;
  107. border-radius: 4rpx;
  108. }
  109. .coupon .status {
  110. width: 130rpx;
  111. text-align: center;
  112. }
  113. .coupon .status image {
  114. width: 90rpx;
  115. height: 90rpx;
  116. margin-top: 20rpx;
  117. }
  118. .coupon.used,
  119. .coupon.expired {
  120. background: #fafafa;
  121. }
  122. .coupon.used .price,
  123. .coupon.expired .price {
  124. color: #949494;
  125. }
  126. .coupon.used .reduce-price,
  127. .coupon.expired .reduce-price,
  128. .coupon.used .reduce-title,
  129. .coupon.expired .reduce-title {
  130. color: #7a7a7a;
  131. }
  132. .coupon.used .reduce-type,
  133. .coupon.expired .reduce-type {
  134. background: #eeaea6;
  135. }
  136. .coupon.used .footer,
  137. .coupon.expired .footer {
  138. color: #b6b6b6;
  139. }
  140. .reduce-area {
  141. font-size: 24rpx;
  142. color: #666;
  143. margin-top: 10rpx;
  144. }
  145. .go-shop {
  146. border: 1rpx solid #ec6b5a;
  147. border-radius: 30rpx;
  148. color: #ec6b5a;
  149. font-size: 24rpx;
  150. margin-top: 60rpx;
  151. margin-right: 12rpx;
  152. line-height: 38rpx;
  153. }