design.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. @CHARSET "UTF-8";
  2. /* 展示 */
  3. .component-presale .marketing-wrap {
  4. box-sizing: border-box;
  5. background-color: #FFFFFF;
  6. border-radius: 5px;
  7. position: relative;
  8. height: 240px;
  9. }
  10. .component-presale .marketing-wrap-1 {
  11. height: 210px;
  12. }
  13. .component-presale .marketing-wrap img {
  14. width: 100%;
  15. }
  16. .component-presale .marketing-wrap .marketing-box {
  17. width: 100%;
  18. padding: 0 15px;
  19. box-sizing: border-box;
  20. position: absolute;
  21. top: 15px;
  22. }
  23. /* 顶部标题 */
  24. .component-presale .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;}
  25. .component-presale .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);}
  26. .component-presale .goods-head .left-icon {display: inline-block; width: 63px; height: 15px; flex-shrink: 0; margin-right: 10px;}
  27. .component-presale .goods-head .left-icon img {width: 100%; height: 100%; vertical-align: top;}
  28. .component-presale .goods-head .title-wrap .name {color: #909399; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
  29. .component-presale .goods-head .more.violet span, .component-presale .goods-head .more.violet .iconfont {
  30. font-size: 12px;
  31. background: linear-gradient(-55deg, #627BFD 0%, #8662FD 100%);
  32. -webkit-background-clip: text;
  33. -webkit-text-fill-color: transparent;
  34. }
  35. .component-presale .goods-head .more.yellow span, .component-presale .goods-head .more.yellow .iconfont {
  36. font-size: 12px;
  37. background: linear-gradient(-55deg, #FEB632 0%, #FE6232 100%);
  38. -webkit-background-clip: text;
  39. -webkit-text-fill-color: transparent;
  40. }
  41. .component-presale .goods-head .more.blue span, .component-presale .goods-head .more.blue .iconfont {
  42. font-size: 12px;
  43. background: linear-gradient(-55deg, #0ECFD3 0%, #12D0AE 100%);
  44. -webkit-background-clip: text;
  45. -webkit-text-fill-color: transparent;
  46. }
  47. .component-presale .goods-head .more.red span, .component-presale .goods-head .more.red .iconfont {
  48. font-size: 12px;
  49. background: linear-gradient(-55deg, #FF5151 0%, #FF7B91 100%);
  50. -webkit-background-clip: text;
  51. -webkit-text-fill-color: transparent;
  52. }
  53. /* 内容 */
  54. .component-presale .list-wrap {display: flex; justify-content: space-between; margin-top: 15px;}
  55. .component-presale .list-wrap .item {display: inline-block; width: 100px;}
  56. .component-presale .list-wrap .item .img-wrap{width: 100px;height: 100px;border-radius: 5px; overflow: hidden;}
  57. .component-presale .list-wrap .item .img-wrap img{max-width: 100%;max-height: 100%;}
  58. .component-presale .list-wrap .item .content{width: 100%;}
  59. .component-presale .list-wrap .item .content .content-desc {width: 100%; font-size: 14px; line-height: 14px; margin-top: 10px;}
  60. .component-presale .list-wrap .item .content .content-price {font-size: 12px; color: #FF4544; margin-top: 10px; height: 16px; font-weight: 600;}
  61. .component-presale .list-wrap .item .content .content-price span {font-size: 16px; line-height: 16px;}
  62. .component-presale .list-wrap .item .content .content-num {display: inline-block; font-size: 12px; line-height: 12px; padding: 4px 12px; text-align: center; margin-top: 10px; color: #FF4544; background-color: rgba(255, 69, 68, 0.06);}
  63. /* .component-presale .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;margin-bottom: 10px;height: 20px;line-height: 20px;}
  64. .component-presale .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);}
  65. .component-presale .goods-head .title-wrap .name {font-weight: bold;margin-right: 8px;}
  66. .component-presale .goods-head .more {display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-align: center;-webkit-align-items: center;align-items: center;justify-content: flex-end;}
  67. .component-presale .goods-head .more {font-size: 12px;width: 80px;}
  68. .component-presale .goods-head .left-icon, .component-presale .goods-head .right-icon {display: inline-block; height: 20px; line-height: 20px; flex-shrink: 0;}
  69. .component-presale .goods-head .iconfont {flex-shrink: 0; font-size: 12px;}
  70. .component-presale .goods-head .more span, .component-presale .goods-head .title-wrap .name {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
  71. .component-presale .goods-head .left-icon img, .component-presale .goods-head .right-icon img {max-height: 20px;vertical-align: top;}
  72. .component-presale .goods-head .left-icon img {margin-right: 5px;}
  73. .component-presale .goods-head .right-icon img {margin-left: 5px;}
  74. .component-presale h3 {font-size: 14px; font-weight: 600; padding: 5px 10px 10px 10px;}
  75. .component-presale .list-wrap .item{width: 100%;padding: 8px;border-radius: 5px;box-sizing: border-box;display: flex;align-items: center;margin: 8px 0;background: #fff;}
  76. .component-presale .list-wrap .item .img-wrap{display: flex; justify-content: center; align-items: center;width: 90px;height: 90px; margin-right: 10px;}
  77. .component-presale .list-wrap .item .img-wrap img{max-width: 100%;max-height: 100%;}
  78. .component-presale .list-wrap .item .content{flex: 1;width: 100%; height: 90px;position: relative;}
  79. .component-presale .list-wrap .item .content .order-num{margin-top: 3px;}
  80. .component-presale .list-wrap .item .content .order-num span{display: inline-block;font-size: 12px;padding: 1px 5px;border-radius:3px;}
  81. .component-presale .list-wrap .item .content .order-num span:nth-child(1){border: 1px solid; border: 1px solid #FF4544;margin-right: 3px;}
  82. .component-presale .list-wrap .item .content .order-num span:nth-child(2){background-color: #FFEBEB;border: 1px solid #FFEBEB;}
  83. .component-presale .list-wrap .item .content-operation{position: absolute; bottom: 0; width: 100%; display: flex; justify-content: space-between;align-items: flex-end;}
  84. .component-presale .list-wrap .item .content-operation .price{display: flex; flex-direction: column;justify-content: space-between;}
  85. .component-presale .list-wrap .item .content-operation .price span:first-child{font-size: 12px;text-decoration: line-through;color: #777;}
  86. .component-presale .list-wrap .item .content-operation .price span:last-child{font-size: 14px;margin-top: 3px;}
  87. .component-presale .list-wrap .item .content-operation button{padding: 2px 12px;background-color: #FF4544;color: #fff;border-radius: 24px;text-align: center;border: 0;}
  88. */
  89. /* 编辑 */
  90. .component-presale .choose-style div{cursor: pointer;}
  91. /* 弹框 */
  92. /* 商品列表风格 */
  93. .component-presale .presale-list-style {
  94. display: none;
  95. }
  96. .style-list-con-presale {
  97. display: flex;
  98. flex-wrap: wrap;
  99. }
  100. .style-list-con-presale .style-li-presale {
  101. width: 32%;
  102. height: 300px;
  103. line-height: 300px;
  104. margin-right: 2%;
  105. margin-bottom: 15px;
  106. cursor: pointer;
  107. border: 1px solid #ededed;
  108. background: #f7f8fa;
  109. box-sizing: border-box;
  110. }
  111. .style-list-con-presale .style-li-presale:nth-child(3n) {
  112. margin-right: 0;
  113. }
  114. .style-list-con-presale .style-li-presale img {
  115. width: 100%;
  116. }
  117. .layui-layer-page .layui-layer-content {
  118. overflow: auto !important;
  119. }
  120. .btn-box {
  121. margin-top: 30px;
  122. text-align: center;
  123. }
  124. /* 风格二/风格三 */
  125. .component-presale .marketing-wrap-two {
  126. padding: 20px 15px;
  127. box-sizing: border-box;
  128. background-color: #FFFFFF;
  129. border-radius: 5px;
  130. position: relative;
  131. /* height: 255px; */
  132. }
  133. .component-presale .marketing-wrap-two .marketing-box {
  134. position: unset;
  135. padding: 0;
  136. }
  137. .component-presale .marketing-wrap-two .marketing-box .title {
  138. display: flex;
  139. justify-content: space-between;
  140. align-items: center;
  141. padding-bottom: 5px;
  142. }
  143. .component-presale .marketing-wrap-two .marketing-box .title .title-left {
  144. width: 123px;
  145. height: 37px;
  146. line-height: 37px;
  147. }
  148. .component-presale .marketing-wrap-two .marketing-box .title .title-left img {
  149. /* width: auto;
  150. max-width: 100%;
  151. max-height: 100%; */
  152. width: 100%;
  153. height: 100%;
  154. }
  155. .component-presale .marketing-wrap-two .marketing-box .title-3 {
  156. justify-content: center;
  157. }
  158. .component-presale .marketing-wrap-two .marketing-box .title-3 .title-left {
  159. width: 174px;
  160. height: 37px;
  161. text-align: center;
  162. }
  163. .component-presale .marketing-wrap-two .marketing-box .title .title-right {
  164. font-size: 12px;
  165. color: #909399;
  166. }
  167. .component-presale .marketing-wrap-two .marketing-box .title .title-right i {
  168. font-size: 12px;
  169. }