getCoupon.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /* 新优惠券 */
  2. .list {
  3. padding: 10rpx 30rpx 20rpx;
  4. }
  5. /* 新优惠券 */
  6. .coupon {
  7. background-color: #fefefe;
  8. position: relative;
  9. padding: 0 20rpx;
  10. border-radius: 6rpx;
  11. margin-top: 24rpx;
  12. }
  13. .coupon:before, .coupon:after {
  14. content: '';
  15. position: absolute;
  16. width: 20rpx;
  17. height: 40rpx;
  18. background: #f6f6f6;
  19. top: 70rpx;
  20. z-index: 1;
  21. }
  22. .coupon:before {
  23. border-radius: 0 40rpx 40rpx 0;
  24. left: 0;
  25. }
  26. .coupon:after {
  27. border-radius: 40rpx 0 0 40rpx;
  28. right: 0;
  29. }
  30. .coupon .header {
  31. display: flex;
  32. padding: 15rpx 0;
  33. border-bottom: 2rpx dashed #dbdbdb;
  34. height: 140rpx;
  35. }
  36. .coupon .footer {
  37. color: #747474;
  38. font-size: 24rpx;
  39. padding: 22rpx 0 20rpx 35rpx;
  40. }
  41. .coupon .price {
  42. color: #333;
  43. width: 175rpx;
  44. text-align: center;
  45. border-right: 2rpx dashed #dbdbdb;
  46. }
  47. .coupon .price .reduce-price {
  48. color: #000;
  49. font-size: 38rpx;
  50. font-weight: bold;
  51. padding-top: 30rpx;
  52. }
  53. .coupon .price .reduce-price text {
  54. font-size: 24rpx;
  55. }
  56. .coupon .price .reduce-desc {
  57. font-size: 20rpx;
  58. margin-top: 10rpx;
  59. }
  60. .coupon .info {
  61. padding-left: 30rpx;
  62. flex: 1;
  63. }
  64. .coupon .info .reduce-title {
  65. color: #000;
  66. font-size: 28rpx;
  67. font-weight: bold;
  68. padding-top: 20rpx;
  69. display: -webkit-box;
  70. -webkit-box-orient: vertical;
  71. -webkit-line-clamp: 2;
  72. overflow: hidden;
  73. }
  74. .coupon .info .reduce-type {
  75. color: #fff;
  76. font-weight: normal;
  77. font-size: 20rpx;
  78. background: #ec6b5a;
  79. padding: 2rpx 8rpx;
  80. border-radius: 4rpx;
  81. }
  82. .coupon .status {
  83. width: 130rpx;
  84. text-align: center;
  85. }
  86. .coupon .status image {
  87. width: 90rpx;
  88. height: 90rpx;
  89. margin-top: 20rpx;
  90. }
  91. .coupon.used,
  92. .coupon.expired {
  93. background: #fafafa;
  94. }
  95. .coupon.used .price,
  96. .coupon.expired .price {
  97. color: #949494;
  98. }
  99. .coupon.used .reduce-price,
  100. .coupon.expired .reduce-price,
  101. .coupon.used .reduce-title,
  102. .coupon.expired .reduce-title {
  103. color: #7a7a7a;
  104. }
  105. .coupon.used .reduce-type,
  106. .coupon.expired .reduce-type {
  107. background: #eeaea6;
  108. }
  109. .coupon.used .footer,
  110. .coupon.expired .footer {
  111. color: #b6b6b6;
  112. }
  113. .reduce-area {
  114. font-size: 24rpx;
  115. color: #666;
  116. margin-top: 10rpx;
  117. }
  118. .go-shop {
  119. border: 1rpx solid #ec6b5a;
  120. border-radius: 30rpx;
  121. color: #ec6b5a;
  122. font-size: 24rpx;
  123. margin-top: 60rpx;
  124. margin-right: 12rpx;
  125. line-height: 38rpx;
  126. }