style.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. @CHARSET "UTF-8";
  2. /* 弹框样式 */
  3. .coupon-wrap .coupon-list-style {
  4. display: none;
  5. }
  6. .style-list-con-coupon {
  7. display: flex;
  8. flex-wrap: wrap;
  9. }
  10. .style-list-con-coupon .style-li-coupon {
  11. width: 32%;
  12. height: 300px;
  13. line-height: 300px;
  14. margin-right: 2%;
  15. margin-bottom: 15px;
  16. cursor: pointer;
  17. border: 1px solid #ededed;
  18. background: #f7f8fa;
  19. box-sizing: border-box;
  20. text-align: center;
  21. }
  22. .style-list-con-coupon .style-li-coupon:nth-child(3n) {
  23. margin-right: 0;
  24. }
  25. .style-list-con-coupon .style-li-coupon img {
  26. max-width: 100%;
  27. max-height: 100%;
  28. }
  29. .layui-layer-page .layui-layer-content {
  30. overflow: auto !important;
  31. }
  32. .btn-box {
  33. margin-top: 30px;
  34. text-align: center;
  35. }
  36. /* 风格一 */
  37. .coupon-wrap .coupon-box.coupon-box-1 {
  38. display: block;
  39. padding: 15px;
  40. /* background-color: #FFDADA; */
  41. background-color: #FFFFFF;
  42. box-sizing: border-box;
  43. border-radius: 5px;
  44. }
  45. .coupon-wrap .coupon-box.coupon-box-1 .coupon-box-list {
  46. overflow: hidden;
  47. display: flex;
  48. flex-wrap: nowrap;
  49. }
  50. .coupon-wrap .coupon-box.coupon-box-1 .coupon {
  51. width: 82px;
  52. flex-shrink: 0;
  53. height: 44px;
  54. }
  55. .coupon-box-1 .coupon-price, .coupon-box-1 .coupon-desc, .coupon-box-1 .coupon-btn {
  56. color: #FFFFFF;
  57. line-height: 1;
  58. font-size: 10px;
  59. }
  60. .coupon-wrap .coupon-box.coupon-box-1 .coupon .coupon-intro {
  61. width: 100%;
  62. top: 8px;
  63. }
  64. .coupon-box-1 .coupon-price {
  65. line-height: 1;
  66. }
  67. .coupon-wrap .coupon-box.coupon-box-1 .coupon .coupon-btn {
  68. bottom: 2px;
  69. font-size: 12px;
  70. line-height: 13px;
  71. }
  72. .coupon-box-1 .coupon-title {
  73. display: flex;
  74. width: 100%;
  75. align-items: flex-end;
  76. }
  77. .coupon-box-1 .coupon-title img {
  78. height: 15px;
  79. margin-right: 10px;
  80. }
  81. .coupon-box-1 .coupon-title span {
  82. line-height: 14px;
  83. color: #909399;
  84. }
  85. .coupon-box-1 ul.coupon-list {
  86. margin-top: 15px;
  87. display: flex;
  88. }
  89. .coupon-box-1 ul.coupon-list li.coupon-li {
  90. margin-left: 10px;
  91. height: 65px;
  92. position: relative;
  93. }
  94. .coupon-box-1 ul.coupon-list li.coupon-li:first-child {
  95. margin-left: 0;
  96. }
  97. .coupon-box-1 ul.coupon-list li.coupon-li img {
  98. height: 65px;
  99. }
  100. .coupon-box-1 ul.coupon-list li.coupon-li .coupon-intro {
  101. position: absolute;
  102. top: 12px;
  103. left: 7px;
  104. color: #FF4544;
  105. }
  106. .coupon-box-1 ul.coupon-list li.coupon-li .coupon-intro .coupon-price {
  107. font-size: 12px;
  108. }
  109. .coupon-box-1 ul.coupon-list li.coupon-li .coupon-intro .coupon-price span {
  110. font-size: 20px;
  111. }
  112. .coupon-box-1 ul.coupon-list li.coupon-li .coupon-intro .coupon-desc {
  113. font-size: 12px;
  114. margin-top: 5px;
  115. }
  116. .coupon-box-1 ul.coupon-list li.coupon-li .coupon-btn {
  117. font-size: 12px;
  118. line-height: 14px;
  119. width: 12px;
  120. position: absolute;
  121. right: 11px;
  122. top: 4px;
  123. color: #FFFFFF;
  124. }
  125. /* 风格二 */
  126. .coupon-wrap .coupon-box {
  127. width: 100%;
  128. overflow: hidden;
  129. display: flex;
  130. flex-wrap: nowrap;
  131. }
  132. .coupon-wrap .coupon-box .coupon {
  133. display: inline-block;
  134. width: 140px;
  135. margin-right: 10px;
  136. position: relative;
  137. }
  138. .coupon-wrap .coupon-box .coupon img {
  139. width: 100%;
  140. }
  141. .coupon-wrap .coupon-box .coupon .coupon-intro {
  142. position: absolute;
  143. top: 10px;
  144. width: 103px;
  145. text-align: center;
  146. font-size: 12px;
  147. }
  148. .coupon-wrap .coupon-box .coupon .coupon-intro .coupon-price {
  149. margin-bottom: 3px;
  150. }
  151. .coupon-wrap .coupon-box.coupon-box-2 .coupon .coupon-intro .coupon-price {
  152. margin-bottom: 0;
  153. line-height: 1.2;
  154. }
  155. .coupon-wrap .coupon-box .coupon .coupon-intro .coupon-price span {
  156. font-size: 20px;
  157. }
  158. .coupon-wrap .coupon-box.coupon-box-1 .coupon .coupon-intro .coupon-price span {
  159. font-size: 16px;
  160. }
  161. .coupon-wrap .coupon-box .coupon .coupon-btn {
  162. position: absolute;
  163. bottom: 12px;
  164. right: 6px;
  165. width: 20px;
  166. font-size: 14px;
  167. line-height: 18px;
  168. text-align: center;
  169. }
  170. /* 风格三 */
  171. .coupon-box-3 {
  172. height: 150px;
  173. background: url(../img/style3-bg-1.png) no-repeat;
  174. background-size: 100% 100%;
  175. padding: 8px;
  176. box-sizing: border-box;
  177. }
  178. .coupon-block {
  179. width: 100%;
  180. display: flex;
  181. overflow: hidden;
  182. }
  183. .coupon-wrap .coupon-box-3 .coupon {
  184. width: 110px;
  185. height: 135px;
  186. margin-right: 10px;
  187. text-align: center;
  188. flex-shrink: 0;
  189. }
  190. .coupon-wrap .coupon-box-3 .coupon .coupon-intro {
  191. width: 100%;
  192. top: 15px;
  193. }
  194. .coupon-wrap .coupon-box-3 .coupon .coupon-intro .coupon-price span {
  195. font-size: 24px;
  196. }
  197. .coupon-box-3 .coupon .coupon-desc {
  198. margin: 5px 0;
  199. }
  200. .coupon-box-3 .coupon .coupon-info {
  201. color: #777777;
  202. margin-top: 5px;
  203. }
  204. .coupon-wrap .coupon-box-3 .coupon .coupon-btn {
  205. width: 66px;
  206. bottom: 10px;
  207. left: 50%;
  208. margin-left: -33px;
  209. font-size: 12px;
  210. color: #FFFFFF;
  211. line-height: 28px;
  212. background-color: #FF4544;
  213. border-radius: 30px;
  214. }
  215. .coupon-wrap .coupon-box-2 .coupon-box-list{
  216. display: flex;
  217. flex-wrap: nowrap;
  218. width: auto;
  219. }
  220. .ns-red-color {
  221. color: red !important;
  222. }