index.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /* components/couponWrap/index.wxss */
  2. .coupon-list {
  3. display: block;
  4. /* padding-top: 130rpx; */
  5. }
  6. .coupon-item {
  7. display: inline-block;
  8. margin-bottom: 20rpx;
  9. background: #F6F8EB;
  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. min-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: #b0d342; */
  36. display: inline-block;
  37. vertical-align: middle;
  38. }
  39. .coupon-prices {
  40. font-size: 70rpx;
  41. /* color: #b0d342; */
  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: #b0d342;
  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-condition-start {
  68. width: 6px;
  69. height: 6px;
  70. /* background: #b0d342; */
  71. transform:rotate(45deg);
  72. margin: 0 6rpx;
  73. display: inline-block;
  74. content: "";
  75. vertical-align: middle;
  76. position: relative;
  77. top: -3rpx;
  78. }
  79. .coupon-card-right {
  80. padding-left: 4rpx;
  81. }
  82. .coupon-card-right ._title {
  83. color: #444;
  84. font-weight: 600;
  85. font-size: 34rpx;
  86. padding-top: 32rpx;
  87. max-width: 300rpx;
  88. }
  89. .coupon-card-right ._time_des {
  90. font-size: 24rpx;
  91. color: #A0A0A0;
  92. margin-top: 14rpx;
  93. padding-bottom: 20rpx;
  94. }
  95. .coupon-card-num {
  96. position: absolute;
  97. display: inline-block;
  98. right: 32rpx;
  99. top: 38rpx;
  100. background: #b0d342;
  101. border-radius: 20rpx;
  102. color: #fff;
  103. font-size: 26rpx;
  104. padding: 1rpx 12rpx 2px;
  105. }
  106. .coupon-card-btn {
  107. position: absolute;
  108. display: inline-block;
  109. right: 32rpx;
  110. top: 38rpx;
  111. /* background: #b0d342; */
  112. border-radius: 32rpx;
  113. color: #fff;
  114. font-size: 26rpx;
  115. padding: 8rpx 16rpx 10rpx;
  116. }
  117. .coupon-card-btn.gray {
  118. background:#a0a0a0;
  119. }
  120. .coupon-split {
  121. border-top: 2rpx dashed;
  122. position: relative;
  123. }
  124. .coupon-circule {
  125. height: 20rpx;
  126. width: 20rpx;
  127. background: #fff;
  128. border-radius: 50%;
  129. position: absolute;
  130. top: -12rpx;
  131. }
  132. .coupon-circule._left {
  133. left: -10rpx;
  134. }
  135. .coupon-circule._right {
  136. right: -10rpx;
  137. }
  138. .coupon-detail {
  139. padding: 20rpx 50rpx;
  140. }
  141. .fold-title {
  142. font-size: 24rpx;
  143. color: #444;
  144. }
  145. .fold-btn {
  146. width: 26rpx;
  147. height: 26rpx;
  148. position: relative;
  149. display: inline-block;
  150. left: 18rpx;
  151. top: 4rpx;
  152. }
  153. .coupon-detail-line {
  154. margin-top: 12rpx;
  155. font-size: 24rpx;
  156. color: #444;
  157. }
  158. .coupon-detail-line ._key{
  159. color: #A0A0A0;
  160. }
  161. .coupon-detail-des {
  162. margin-top: 10rpx;
  163. font-size: 24rpx;
  164. color: #444;
  165. }
  166. .look_more_txt {
  167. padding-left: 20rpx;
  168. /* color: #b0d342; */
  169. font-size: 22rpx;
  170. }