admin/addon/jielong/component/view/presale/css/design.css

204 lines
8.5 KiB
CSS

@CHARSET "UTF-8";
/* 展示 */
.component-presale .marketing-wrap {
box-sizing: border-box;
background-color: #FFFFFF;
border-radius: 5px;
position: relative;
height: 240px;
}
.component-presale .marketing-wrap-1 {
height: 210px;
}
.component-presale .marketing-wrap img {
width: 100%;
}
.component-presale .marketing-wrap .marketing-box {
width: 100%;
padding: 0 15px;
box-sizing: border-box;
position: absolute;
top: 15px;
}
/* 顶部标题 */
.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;}
.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);}
.component-presale .goods-head .left-icon {display: inline-block; width: 63px; height: 15px; flex-shrink: 0; margin-right: 10px;}
.component-presale .goods-head .left-icon img {width: 100%; height: 100%; vertical-align: top;}
.component-presale .goods-head .title-wrap .name {color: #909399; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.component-presale .goods-head .more.violet span, .component-presale .goods-head .more.violet .iconfont {
font-size: 12px;
background: linear-gradient(-55deg, #627BFD 0%, #8662FD 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.component-presale .goods-head .more.yellow span, .component-presale .goods-head .more.yellow .iconfont {
font-size: 12px;
background: linear-gradient(-55deg, #FEB632 0%, #FE6232 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.component-presale .goods-head .more.blue span, .component-presale .goods-head .more.blue .iconfont {
font-size: 12px;
background: linear-gradient(-55deg, #0ECFD3 0%, #12D0AE 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.component-presale .goods-head .more.red span, .component-presale .goods-head .more.red .iconfont {
font-size: 12px;
background: linear-gradient(-55deg, #FF5151 0%, #FF7B91 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* 内容 */
.component-presale .list-wrap {display: flex; justify-content: space-between; margin-top: 15px;}
.component-presale .list-wrap .item {display: inline-block; width: 100px;}
.component-presale .list-wrap .item .img-wrap{width: 100px;height: 100px;border-radius: 5px; overflow: hidden;}
.component-presale .list-wrap .item .img-wrap img{max-width: 100%;max-height: 100%;}
.component-presale .list-wrap .item .content{width: 100%;}
.component-presale .list-wrap .item .content .content-desc {width: 100%; font-size: 14px; line-height: 14px; margin-top: 10px;}
.component-presale .list-wrap .item .content .content-price {font-size: 12px; color: #FF4544; margin-top: 10px; height: 16px; font-weight: 600;}
.component-presale .list-wrap .item .content .content-price span {font-size: 16px; line-height: 16px;}
.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);}
/* .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;}
.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);}
.component-presale .goods-head .title-wrap .name {font-weight: bold;margin-right: 8px;}
.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;}
.component-presale .goods-head .more {font-size: 12px;width: 80px;}
.component-presale .goods-head .left-icon, .component-presale .goods-head .right-icon {display: inline-block; height: 20px; line-height: 20px; flex-shrink: 0;}
.component-presale .goods-head .iconfont {flex-shrink: 0; font-size: 12px;}
.component-presale .goods-head .more span, .component-presale .goods-head .title-wrap .name {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.component-presale .goods-head .left-icon img, .component-presale .goods-head .right-icon img {max-height: 20px;vertical-align: top;}
.component-presale .goods-head .left-icon img {margin-right: 5px;}
.component-presale .goods-head .right-icon img {margin-left: 5px;}
.component-presale h3 {font-size: 14px; font-weight: 600; padding: 5px 10px 10px 10px;}
.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;}
.component-presale .list-wrap .item .img-wrap{display: flex; justify-content: center; align-items: center;width: 90px;height: 90px; margin-right: 10px;}
.component-presale .list-wrap .item .img-wrap img{max-width: 100%;max-height: 100%;}
.component-presale .list-wrap .item .content{flex: 1;width: 100%; height: 90px;position: relative;}
.component-presale .list-wrap .item .content .order-num{margin-top: 3px;}
.component-presale .list-wrap .item .content .order-num span{display: inline-block;font-size: 12px;padding: 1px 5px;border-radius:3px;}
.component-presale .list-wrap .item .content .order-num span:nth-child(1){border: 1px solid; border: 1px solid #FF4544;margin-right: 3px;}
.component-presale .list-wrap .item .content .order-num span:nth-child(2){background-color: #FFEBEB;border: 1px solid #FFEBEB;}
.component-presale .list-wrap .item .content-operation{position: absolute; bottom: 0; width: 100%; display: flex; justify-content: space-between;align-items: flex-end;}
.component-presale .list-wrap .item .content-operation .price{display: flex; flex-direction: column;justify-content: space-between;}
.component-presale .list-wrap .item .content-operation .price span:first-child{font-size: 12px;text-decoration: line-through;color: #777;}
.component-presale .list-wrap .item .content-operation .price span:last-child{font-size: 14px;margin-top: 3px;}
.component-presale .list-wrap .item .content-operation button{padding: 2px 12px;background-color: #FF4544;color: #fff;border-radius: 24px;text-align: center;border: 0;}
*/
/* 编辑 */
.component-presale .choose-style div{cursor: pointer;}
/* 弹框 */
/* 商品列表风格 */
.component-presale .presale-list-style {
display: none;
}
.style-list-con-presale {
display: flex;
flex-wrap: wrap;
}
.style-list-con-presale .style-li-presale {
width: 32%;
height: 300px;
line-height: 300px;
margin-right: 2%;
margin-bottom: 15px;
cursor: pointer;
border: 1px solid #ededed;
background: #f7f8fa;
box-sizing: border-box;
}
.style-list-con-presale .style-li-presale:nth-child(3n) {
margin-right: 0;
}
.style-list-con-presale .style-li-presale img {
width: 100%;
}
.layui-layer-page .layui-layer-content {
overflow: auto !important;
}
.btn-box {
margin-top: 30px;
text-align: center;
}
/* 风格二/风格三 */
.component-presale .marketing-wrap-two {
padding: 20px 15px;
box-sizing: border-box;
background-color: #FFFFFF;
border-radius: 5px;
position: relative;
/* height: 255px; */
}
.component-presale .marketing-wrap-two .marketing-box {
position: unset;
padding: 0;
}
.component-presale .marketing-wrap-two .marketing-box .title {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 5px;
}
.component-presale .marketing-wrap-two .marketing-box .title .title-left {
width: 123px;
height: 37px;
line-height: 37px;
}
.component-presale .marketing-wrap-two .marketing-box .title .title-left img {
/* width: auto;
max-width: 100%;
max-height: 100%; */
width: 100%;
height: 100%;
}
.component-presale .marketing-wrap-two .marketing-box .title-3 {
justify-content: center;
}
.component-presale .marketing-wrap-two .marketing-box .title-3 .title-left {
width: 174px;
height: 37px;
text-align: center;
}
.component-presale .marketing-wrap-two .marketing-box .title .title-right {
font-size: 12px;
color: #909399;
}
.component-presale .marketing-wrap-two .marketing-box .title .title-right i {
font-size: 12px;
}