index.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /* components/couponWrap/index.wxss */
  2. .coupon-list {
  3. display: block;
  4. padding-top: 10rpx;
  5. }
  6. .coupon-item {
  7. display: inline-block;
  8. margin-bottom: 20rpx;
  9. background: #FFF6F5;
  10. font-size: 24rpx;
  11. border-radius: 12rpx;
  12. width: 690rpx;
  13. overflow-x: hidden;
  14. }
  15. .coupon-list .coupon-item:last-child {
  16. margin-bottom: 0;
  17. }
  18. .coupon-card {
  19. height: 156rpx;
  20. width: 100%;
  21. position: relative;
  22. display: flex;
  23. flex-direction: row;
  24. }
  25. .coupon-card-left {
  26. width: 220rpx;
  27. text-align: center;
  28. }
  29. .coupon-prices {
  30. width: 100%;
  31. white-space: nowrap;
  32. }
  33. .coupon-condition {
  34. font-size: 20rpx;
  35. color: #F06255;
  36. display: inline-block;
  37. vertical-align: middle;
  38. }
  39. .coupon-prices {
  40. font-size: 70rpx;
  41. color: #F06255;
  42. font-weight: 600;
  43. height: 88rpx;
  44. vertical-align: baseline;
  45. box-sizing: border-box;
  46. padding-top: 6rpx;
  47. }
  48. .coupon-prices._small {
  49. padding-top: 20rpx;
  50. font-size: 60rpx;
  51. }
  52. .coupon-prices ._unit {
  53. font-size: 30rpx;
  54. }
  55. .coupon-condition:before, .coupon-condition:after {
  56. width: 6px;
  57. height: 6px;
  58. background: #F06255;
  59. transform:rotate(45deg);
  60. margin: 0 6rpx;
  61. display: inline-block;
  62. content: "";
  63. vertical-align: middle;
  64. position: relative;
  65. top: -3rpx;
  66. }
  67. .coupon-card-right {
  68. padding-left: 4rpx;
  69. }
  70. .coupon-card-right ._title {
  71. color: #444;
  72. font-weight: 600;
  73. font-size: 34rpx;
  74. padding-top: 32rpx;
  75. white-space: nowrap;
  76. }
  77. .coupon-card-right ._time_des {
  78. font-size: 24rpx;
  79. color: #A0A0A0;
  80. margin-top: 14rpx;
  81. }
  82. .coupon-card-num {
  83. position: absolute;
  84. display: inline-block;
  85. right: 32rpx;
  86. top: 38rpx;
  87. background: #F06255;
  88. border-radius: 20rpx;
  89. color: #fff;
  90. font-size: 26rpx;
  91. padding: 1rpx 12rpx 2px;
  92. }
  93. .coupon-card-btn {
  94. position: absolute;
  95. display: inline-block;
  96. right: 32rpx;
  97. top: 38rpx;
  98. background: #F06255;
  99. border-radius: 32rpx;
  100. color: #fff;
  101. font-size: 26rpx;
  102. padding: 8rpx 16rpx 10rpx;
  103. }
  104. .coupon-card-btn.gray {
  105. background:#a0a0a0;
  106. }
  107. .coupon-split {
  108. border-top: 2rpx dashed #F06255;
  109. position: relative;
  110. }
  111. .coupon-circule {
  112. height: 20rpx;
  113. width: 20rpx;
  114. background: #fff;
  115. border-radius: 50%;
  116. position: absolute;
  117. top: -12rpx;
  118. }
  119. .coupon-circule._left {
  120. left: -10rpx;
  121. }
  122. .coupon-circule._right {
  123. right: -10rpx;
  124. }
  125. .coupon-detail {
  126. padding: 20rpx 50rpx;
  127. }
  128. .fold-title {
  129. font-size: 24rpx;
  130. color: #444;
  131. }
  132. .fold-btn {
  133. width: 26rpx;
  134. height: 26rpx;
  135. position: relative;
  136. display: inline-block;
  137. left: 18rpx;
  138. top: 4rpx;
  139. }
  140. .coupon-detail-line {
  141. margin-top: 12rpx;
  142. font-size: 24rpx;
  143. color: #444;
  144. }
  145. .coupon-detail-line ._key{
  146. color: #A0A0A0;
  147. }
  148. .coupon-detail-des {
  149. margin-top: 10rpx;
  150. font-size: 24rpx;
  151. color: #444;
  152. }
  153. .look_more_txt {
  154. padding-left: 20rpx;
  155. color: #F06255;
  156. font-size: 22rpx;
  157. }