@import '../../../common/css/global'; #micro-pages{ image{ vertical-align: middle; } //最佳销售单品 .best { overflow: hidden; .title { font-size: 14px; text-align: center; margin: 15px 0; } .SalesGoods-box { .SalesGoods-item { text-align: center; display: inline-block; width: 33.33%; padding: 0 3px; box-sizing: border-box; vertical-align: middle; margin-bottom: 6px; .item { background: #FFFFFF; } } .slider-image { width: 100%; } .goods-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 2px; } .money-box { display: flex; align-items: center; padding-left: 7px; .money-now { color: red; font-size: 12px; } .money-old { color: #c7c7c7; font-size: 13px; text-decoration: line-through; } } } .button-box { width: 100%; height: 44px; text-align: center; line-height: 44px; background: #FFFFFF; margin-bottom: 10px; } } //商品组合 .excellent-box { position: relative; .m-lead { font-size: 13px; height: 45px; background: #ffffff; padding: 0 20px; ul { display: flex; display: -webkit-flex; flex-direction: row; justify-content: center; height: 100%; li { position: relative; flex: 1; width: 1px; height: 100%; text-align: center; span { display: inline-block; text-align: center; line-height: 45px; width: auto; height: 100%; font-size: 14px; box-sizing: content-box; } .hover { border-bottom: 2px solid #333; box-sizing: border-box; } span.active { font-size: 17px; font-weight: bold; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border-bottom: 2px solid #000000; } } } } .m-content { padding: 5px; .goods-box{ padding: 5px; box-sizing: border-box; display: inline-block; width: 50%; .goods_image{ image{ width: 100%; } } } //.m-main { // display: flex; // justify-content: space-between; // flex-wrap: wrap; // align-content: space-between; // // image { // width: 100%; // box-sizing: border-box; // display: block; // } // .img-box { // position: relative; // width: 100%; // height: 100%; // margin-bottom: 10px; // .description { // position: absolute; // width: 100%; // left: 0; // bottom: 0; // height: 30px; // line-height: 30px; // text-indent: 5px; // color: #fff; // background: rgba(0, 0, 0, .5); // overflow: hidden; // text-overflow: ellipsis; // display: -webkit-box; // -webkit-box-orient: vertical; // white-space: nowrap; // font-size: 14px; // } // &:last-child { // margin-bottom: 0; // } // } // .goods_box { // width: 47%; // background: #ffffff; // margin-top: 10px; // .goods_image { // position: relative; // padding-top: 100%; // width: 100%; // // image { // position: absolute; // left: 0; // top: 0; // height: 100%; // width: 100%; // object-fit: cover; // object-position: center center; // } // } // // .title { // font-size: 16px; // color: #4a4a4a; // overflow: hidden; // text-overflow: ellipsis; // white-space: nowrap; // } // // .price { // color: #ea4448; // font-size: 14px; // text-indent: 5px; // } // } //} } } //秒杀 .seckill-box{ background: #FFFFFF; padding: 15px; margin-bottom: 10px; .title{ height: 35px; display: flex; justify-content: space-between; color: #000; line-height: 35px; text:nth-child(1) { font-size: 18px; font-weight: bold; } text:nth-child(2) { font-size: 12px; } } .seckill-info{ display: flex; align-items: center; margin-top: 15px; .left{ width: 100px; height: 100px; image{ width: 100%; height: 100%; } } .right{ flex: 1; margin-left: 10px; overflow: hidden; .goods-name{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; } .price-box { color: #e50303; font-size: 18px; .old{ font-size: 12px; color: #9c9c9c; text-decoration: line-through; } &.free-money{ font-size: 14px; color: #9C9C9C; display: flex; align-items: center; justify-content: space-between; .money{ display: flex; align-items: center; .new { font-size: 18px; color: @globalColor; } .old{ font-size: 10px; margin-left: 5px; text-decoration: line-through; } } } } .seckill-time{ display: flex; align-items: flex-end; justify-content: space-between; .free{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; } .buy{ width: 70px; height: 25px; border-radius: 50px; color: #fff; background: @mainColor; font-size: 12px; line-height: 25px; text-align: center; } } } } } .marketing-time-box { .seckill-item { text-align: left !important; color: #000 !important; .time-out { flex-direction: column; color: #000 !important; align-items: flex-start !important; .tiem { margin: 5px 0; .num-item { color: #ffffff !important; } } } } } //底部广告 .bottom-banner { padding: 10px 15px; image{ display: block; width: 100%; } .goods-box { background: #FFFFFF; margin-bottom: 10px; .name { margin: 5px; } .price { margin: 5px; color: @globalColor; } } .image-box{ margin-bottom: 10px; } } }