style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. @CHARSET "UTF-8";
  2. .component-seckill .marketing-wrap {
  3. box-sizing: border-box;
  4. background-color: #FFFFFF;
  5. border-radius: 5px;
  6. position: relative;
  7. height: 280px;
  8. }
  9. .component-seckill .marketing-wrap img {
  10. width: 100%;
  11. }
  12. .component-seckill .marketing-wrap .marketing-box {
  13. width: 100%;
  14. padding: 0 15px;
  15. box-sizing: border-box;
  16. position: absolute;
  17. top: 15px;
  18. }
  19. .component-seckill .goods-head .time {font-size: 14px; color: #777777;}
  20. .component-seckill .goods-head .time span {display: inline-block; width: 15px; height: 15px; line-height: 15px; text-align: center; background-color: #383838; color: #FFFFFF; border-radius: 3px; margin: 0 3px;}
  21. .component-seckill .goods-head .time .second {background-color: #FF4544;}
  22. /* 顶部标题 */
  23. .component-seckill .goods-head {width: 100%; display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-webkit-box-align: center;-webkit-align-items: center;align-items: center;height: 15px;line-height: 15px;}
  24. .component-seckill .goods-head .title-wrap {display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-align: center;-webkit-align-items: center;align-items: center;width: calc(100% - 80px);}
  25. .component-seckill .goods-head .left-icon {display: inline-block; width: 63px; height: 15px; flex-shrink: 0; margin-right: 10px;}
  26. .component-seckill .goods-head .left-icon img {width: 100%; height: 100%; vertical-align: top;}
  27. .component-seckill .goods-head .title-wrap .name {color: #909399; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
  28. .component-seckill .goods-head .more.violet span, .component-seckill .goods-head .more.violet .iconfont {
  29. font-size: 12px;
  30. background: linear-gradient(-55deg, #627BFD 0%, #8662FD 100%);
  31. -webkit-background-clip: text;
  32. -webkit-text-fill-color: transparent;
  33. }
  34. .component-seckill .goods-head .more.yellow span, .component-seckill .goods-head .more.yellow .iconfont {
  35. font-size: 12px;
  36. background: linear-gradient(-55deg, #FEB632 0%, #FE6232 100%);
  37. -webkit-background-clip: text;
  38. -webkit-text-fill-color: transparent;
  39. }
  40. .component-seckill .goods-head .more.blue span, .component-seckill .goods-head .more.blue .iconfont {
  41. font-size: 12px;
  42. background: linear-gradient(-55deg, #0ECFD3 0%, #12D0AE 100%);
  43. -webkit-background-clip: text;
  44. -webkit-text-fill-color: transparent;
  45. }
  46. .component-seckill .goods-head .more.red span, .component-seckill .goods-head .more.red .iconfont {
  47. font-size: 12px;
  48. background: linear-gradient(-55deg, #FF5151 0%, #FF7B91 100%);
  49. -webkit-background-clip: text;
  50. -webkit-text-fill-color: transparent;
  51. }
  52. /* 秒杀时间段 */
  53. .component-seckill .seckill-time-list ul {
  54. margin-top: 15px;
  55. display: flex;
  56. justify-content: space-around;
  57. }
  58. .component-seckill .seckill-time-list ul li {
  59. flex: 1;
  60. text-align: center;
  61. padding-bottom: 10px;
  62. border-bottom: 1px solid #EEEEEE;
  63. }
  64. .component-seckill .seckill-time-list ul li p:first-child {
  65. font-size: 16px;
  66. color: #606266;
  67. line-height: 14px;
  68. }
  69. .component-seckill .seckill-time-list ul li p:last-child {
  70. font-size: 12px;
  71. color: #909399;
  72. line-height: 12px;
  73. margin-top: 5px;
  74. }
  75. .component-seckill .seckill-time-list ul li.selected {
  76. border-bottom: 1px solid #FF4544;
  77. }
  78. .component-seckill .seckill-time-list ul li.selected p {
  79. color: #FF4544;
  80. }
  81. /* 风格一 */
  82. /* 内容 */
  83. .component-seckill .list-wrap {display: flex; justify-content: space-between; margin-top: 10px;}
  84. .component-seckill .list-wrap .item {display: inline-block; width: 100px;}
  85. .component-seckill .list-wrap .item .img-wrap{width: 100px;height: 100px;border-radius: 5px; overflow: hidden;}
  86. .component-seckill .list-wrap .item .img-wrap img{max-width: 100%;max-height: 100%;}
  87. .component-seckill .list-wrap .item .content{width: 100%;}
  88. .component-seckill .list-wrap .item .content .content-desc {width: 100%; font-size: 14px; line-height: 14px; margin-top: 10px;}
  89. .component-seckill .list-wrap .item .content .content-price {font-size: 12px; color: #FF4544; margin-top: 10px; height: 16px; font-weight: 600;}
  90. .component-seckill .list-wrap .item .content .content-price span {font-size: 16px; line-height: 16px;}
  91. .component-seckill .list-wrap .item .content .content-num {font-size: 12px; line-height: 12px; margin-top: 10px; color: #909399; text-decoration: line-through;}
  92. /* 弹框 */
  93. /* 风格 */
  94. .component-seckill .seckill-list-style {
  95. display: none;
  96. }
  97. .style-list-con-seckill {
  98. display: flex;
  99. flex-wrap: wrap;
  100. }
  101. .style-list-con-seckill .style-li-seckill {
  102. width: 32%;
  103. height: 300px;
  104. line-height: 300px;
  105. overflow: hidden;
  106. text-align: center;
  107. margin-right: 2%;
  108. margin-bottom: 15px;
  109. cursor: pointer;
  110. border: 1px solid #ededed;
  111. background: #f7f8fa;
  112. box-sizing: border-box;
  113. }
  114. .style-list-con-seckill .style-li-seckill:nth-child(3n) {
  115. margin-right: 0;
  116. }
  117. .style-list-con-seckill .style-li-seckill img {
  118. max-width: 100%;
  119. max-height: 100%;
  120. }
  121. .layui-layer-page .layui-layer-content {
  122. overflow: auto !important;
  123. }
  124. .btn-box {
  125. margin-top: 30px;
  126. text-align: center;
  127. }
  128. /* 风格二 */
  129. .component-seckill .marketing-box-two {
  130. padding: 20px 15px 5px;
  131. background-color: #FFFFFF;
  132. border-radius: 5px;
  133. }
  134. .component-seckill .marketing-box-two .title-wrap {
  135. padding-bottom: 5px;
  136. display: flex;
  137. align-items: center;
  138. }
  139. .component-seckill .marketing-box-two .title-wrap-2 {
  140. justify-content: space-between;
  141. }
  142. /* .component-seckill .marketing-box-two .title-wrap-2 .title-left .img {
  143. display: inline-block;
  144. width: 103px;
  145. height: 16px;
  146. line-height: 16px;
  147. } */
  148. .component-seckill .marketing-box-two .title-wrap .title-left img {
  149. width: 103px;
  150. height: 16px;
  151. }
  152. .component-seckill .marketing-box-two .title-wrap .title-left .time {
  153. height: 16px;
  154. line-height: 16px;
  155. margin-top: 10px;
  156. font-size: 12px;
  157. }
  158. .component-seckill .marketing-box-two .title-wrap .title-left .time {
  159. color: rgba(255, 69, 68, .5);
  160. }
  161. .component-seckill .marketing-box-two .title-wrap .title-left .time .font {
  162. margin-right: 6px;
  163. }
  164. .component-seckill .marketing-box-two .title-wrap .title-left .time span {
  165. display: inline-block;
  166. width: 16px;
  167. height: 16px;
  168. border-radius: 2px;
  169. background-color: #303133;
  170. color: #FFFFFF;
  171. text-align: center;
  172. margin: 0 3px;
  173. }
  174. .component-seckill .marketing-box-two .title-wrap .title-right {
  175. font-size: 12px;
  176. color: #909399;
  177. }
  178. .component-seckill .marketing-box-two .title-wrap .title-right i {
  179. font-size: 12px;
  180. }
  181. .component-seckill .marketing-box-two .list-wrap {
  182. flex-wrap: wrap;
  183. }
  184. .component-seckill .marketing-box-two .list-wrap .item {
  185. width: 100%;
  186. display: flex;
  187. height: 125px;
  188. box-sizing: border-box;
  189. }
  190. .component-seckill .marketing-box-two .list-wrap .img-wrap {
  191. width: 95px;
  192. height: 95px;
  193. border-radius: 5px;
  194. overflow: hidden;
  195. flex-shrink: 0;
  196. margin-right: 9px;
  197. margin-top: 15px;
  198. position: relative;
  199. }
  200. .component-seckill .marketing-box-two .list-wrap .img-wrap>img {
  201. width: 100%;
  202. height: 100%;
  203. }
  204. .component-seckill .marketing-box-two .list-wrap .img-wrap .hot {
  205. position: absolute;
  206. top: 3px;
  207. left: 3px;
  208. width: 30px;
  209. height: 30px;
  210. }
  211. .component-seckill .marketing-box-two .list-wrap .img-wrap .hot div {
  212. width: 100%;
  213. height: 100%;
  214. position: relative;
  215. }
  216. .component-seckill .marketing-box-two .list-wrap .img-wrap .hot div img {
  217. width: 100%;
  218. height: 100%;
  219. }
  220. .component-seckill .marketing-box-two .list-wrap .img-wrap .hot div span {
  221. display: inline-block;
  222. width: 30px;
  223. height: 30px;
  224. line-height: 30px;
  225. text-align: center;
  226. font-size: 12px;
  227. color: #FFFFFF;
  228. position: absolute;
  229. top: 0;
  230. left: 0;
  231. }
  232. .component-seckill .marketing-box-two .list-wrap .item .content {
  233. padding: 15px 0;
  234. border-bottom: 1px solid #EEEEEE;
  235. display: flex;
  236. justify-content: space-between;
  237. flex-direction: column;
  238. }
  239. .component-seckill .marketing-box-two .list-wrap .item:last-child .content {
  240. border-bottom: 0px;
  241. }
  242. .component-seckill .marketing-box-two .list-wrap .item .content .content-desc {
  243. height: 32px;
  244. margin-top: 0;
  245. }
  246. .component-seckill .marketing-box-two .list-wrap .progress {
  247. display: flex;
  248. align-items: center;
  249. height: initial;
  250. margin-bottom: 0;
  251. background-color: initial;
  252. border-radius: 0;
  253. box-shadow: none;
  254. }
  255. .component-seckill .marketing-box-two .list-wrap .progress .img {
  256. width: 120px;
  257. height: 10px;
  258. border-radius: 10px;
  259. background-color: #fba29b;
  260. margin-right: 10px;
  261. }
  262. .component-seckill .marketing-box-two .list-wrap .progress .img .img-con {
  263. width: 77px;
  264. height: 10px;
  265. border-radius: 10px;
  266. background-color: #ff5041;
  267. }
  268. .component-seckill .marketing-box-two .list-wrap .progress .num {
  269. font-size: 12px;
  270. color: #909399;
  271. }
  272. .component-seckill .marketing-box-two .list-wrap .bot {
  273. display: flex;
  274. justify-content: space-between;
  275. align-items: flex-end;
  276. line-height: 1;
  277. }
  278. .component-seckill .marketing-box-two .list-wrap .bot .content-price {
  279. display: flex;
  280. align-items: flex-end;
  281. font-size: 12px;
  282. }
  283. .component-seckill .marketing-box-two .list-wrap .bot .content-price span {
  284. font-size: 16px;
  285. margin-right: 5px;
  286. }
  287. .component-seckill .marketing-box-two .list-wrap .bot .content-price .content-num {
  288. font-weight: 500;
  289. margin-top: 0;
  290. }
  291. .component-seckill .marketing-box-two .list-wrap .bot button {
  292. background-color: #FF4544;
  293. height: 25px;
  294. line-height: 25px;
  295. padding: 0 12px;
  296. border-radius: 25px;
  297. }
  298. /* 风格三 */
  299. .component-seckill .marketing-box-3 {
  300. padding-bottom: 0;
  301. }
  302. .component-seckill .marketing-box-two .title-wrap-3 {
  303. justify-content: center;
  304. }
  305. .component-seckill .marketing-box-two .title-wrap-3 .title-left .img img {
  306. width: 174px;
  307. height: 17px;
  308. }
  309. .component-seckill .marketing-box-two .title-wrap-3 .title-left .time {
  310. text-align: center;
  311. }
  312. .component-seckill .marketing-box-two .more {
  313. text-align: center;
  314. height: 50px;
  315. line-height: 50px;
  316. border-top: 1px solid #EEEEEE;
  317. }
  318. .component-seckill .marketing-box-two .more span, .component-seckill .marketing-box-two .more i {
  319. font-size: 12px;
  320. color: #909399;
  321. }
  322. .component-seckill .marketing-wrap.marketing-wrap-1 {
  323. height: auto;
  324. overflow: hidden;
  325. }
  326. .component-seckill .marketing-wrap.marketing-wrap-1 .marketing-box {
  327. position: relative;
  328. top: 0;
  329. padding: 0;
  330. }
  331. .component-seckill .marketing-wrap.marketing-wrap-1 .marketing-box-two .list-wrap {
  332. margin-top: 0;
  333. padding: 0 15px;
  334. }
  335. .seckill-time-list1 {
  336. display: flex;
  337. color: #fff;
  338. padding: 0 15px;
  339. align-items: center;
  340. height: 50px;
  341. background: #ea404b;
  342. line-height: 1.2;
  343. }
  344. .seckill-time-list1-tit {
  345. font-size: 15px;
  346. font-weight: bold;
  347. padding-right: 10px;
  348. border-right: 1px solid #fff;
  349. margin-right: 10px;
  350. }
  351. .seckill-time-list1 ul {
  352. display: flex;
  353. flex: 1;
  354. }
  355. .seckill-time-list1 ul li {
  356. margin: 0 10px;
  357. text-align: center;
  358. }
  359. .seckill-time-list1 ul li .time {
  360. font-size: 13px;
  361. font-weight: bold;
  362. margin-bottom: 5px;
  363. }
  364. .seckill-time-list1 ul li .desc {
  365. font-size: 11px;
  366. }
  367. .seckill-time-list1 ul li.active .desc {
  368. color: #ea474e;
  369. padding: 1px 5px;
  370. background-color: #fff;
  371. border-radius: 10px;
  372. }
  373. .component-seckill .marketing-wrap.marketing-wrap-1 .current {
  374. height: 16px;
  375. line-height: 16px;
  376. text-align: center;
  377. border-radius: 12px;
  378. background-color: #f8f8f8;
  379. font-size: 12px;
  380. color: #c8c8c8;
  381. position: absolute;
  382. right: 10px;
  383. top: 10px;
  384. z-index: 1;
  385. padding: 0 5px;
  386. }