index.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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: #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. 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: #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. max-width: 300rpx;
  76. }
  77. .coupon-card-right ._time_des {
  78. font-size: 24rpx;
  79. color: #A0A0A0;
  80. margin-top: 14rpx;
  81. padding-bottom: 20rpx;
  82. }
  83. .coupon-card-num {
  84. position: absolute;
  85. display: inline-block;
  86. right: 32rpx;
  87. top: 38rpx;
  88. background: #F06255;
  89. border-radius: 20rpx;
  90. color: #fff;
  91. font-size: 26rpx;
  92. padding: 1rpx 12rpx 2px;
  93. }
  94. .coupon-card-btn {
  95. position: absolute;
  96. display: inline-block;
  97. right: 32rpx;
  98. top: 38rpx;
  99. background: #F06255;
  100. border-radius: 32rpx;
  101. color: #fff;
  102. font-size: 26rpx;
  103. padding: 8rpx 16rpx 10rpx;
  104. }
  105. .coupon-card-btn.gray {
  106. background:#a0a0a0;
  107. }
  108. .coupon-split {
  109. border-top: 2rpx dashed #F06255;
  110. position: relative;
  111. }
  112. .coupon-circule {
  113. height: 20rpx;
  114. width: 20rpx;
  115. background: #fff;
  116. border-radius: 50%;
  117. position: absolute;
  118. top: -12rpx;
  119. }
  120. .coupon-circule._left {
  121. left: -10rpx;
  122. }
  123. .coupon-circule._right {
  124. right: -10rpx;
  125. }
  126. .coupon-detail {
  127. padding: 20rpx 50rpx;
  128. }
  129. .fold-title {
  130. font-size: 24rpx;
  131. color: #444;
  132. }
  133. .fold-btn {
  134. width: 26rpx;
  135. height: 26rpx;
  136. position: relative;
  137. display: inline-block;
  138. left: 18rpx;
  139. top: 4rpx;
  140. }
  141. .coupon-detail-line {
  142. margin-top: 12rpx;
  143. font-size: 24rpx;
  144. color: #444;
  145. }
  146. .coupon-detail-line ._key{
  147. color: #A0A0A0;
  148. }
  149. .coupon-detail-des {
  150. margin-top: 10rpx;
  151. font-size: 24rpx;
  152. color: #444;
  153. }
  154. .look_more_txt {
  155. padding-left: 20rpx;
  156. color: #F06255;
  157. font-size: 22rpx;
  158. }