
::-webkit-scrollbar { display: none; }

.com-container {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.com-wrapper {
    /* display: block; */
}

.com-wrapper img {
    width: 100%;
    height: 100%;
}

.com-tit {
    height: 0.8rem;
    line-height: 0.8rem;
    color: #333;
    font-size: 0.28rem;
    padding: 0 0.2rem;
}

/* type: 类型：1:魔方 2轮播广告3 icon 4 商品 5图片+商品 6搜索框 7公告 8 图片优惠券 9限时秒杀 10 标题 11商品分类  12  图片广告  13 图文导航  14  辅助空白 */

/* 魔方 */
.com-type-1 {
    /* padding: 0 0.1rem; */
}

.com-type-1 .img-list {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    /* margin-bottom: 0.2rem; */
}

.com-type-1 .img-item {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* 一行3个 */
.com-type-1.style-1 .img-item {
    width: 33.333%;
    box-sizing: border-box;
    /* padding: 0 0.1rem; */
    /* margin: 0 0 0.2rem; */
}

/* 一行2个,左2右2 */
.com-type-1.style-2 .img-item {
    width: 50%;
    box-sizing: border-box;
    /* padding: 0 0.1rem; */
    /* margin: 0 0 0.2rem; */
}

/* 上1下2 */
.com-type-1.style-3 .row-list {
    display: block;
    /* margin: 0 0 0.2rem; */
}
.com-type-1.style-3 .img-item {
    flex: 1;
    /* margin: 0 0.1rem 0.2rem; */
}

/* 左1右2 */
.com-type-1.style-4 .col-list {
    display: flex;
    flex: 1;
    flex-flow: column;
    height: 4.26rem;
    /* margin: 0 0.1rem 0.2rem; */
    overflow: hidden;
}

.com-type-1.style-4 .col-list .img-item {
    /* height: 2.06rem;
    margin-bottom: 0.14rem; */
    height: 50%;
    box-sizing: border-box;
}
/* 左小右大 */
.com-type-1.style-5 .img-item-l {
    width: 32%;
    height: 2.15rem;
    box-sizing: border-box;
}
.com-type-1.style-5 .img-item-r {
    width: 68%;
    height: 2.15rem;
    box-sizing: border-box;
}
/* 两小一大 */
.com-type-1.style-6 .img-item {
    width: 29%;
    height: 2.15rem;
    box-sizing: border-box;
}
.com-type-1.style-6 .img-item.center {
    width: 42%;
}

/* 图片广告 */
.com-type-2 {
    /* padding: 0 0.2rem; */
}

.com-type-2 .img-item {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* 一行一个 */
.com-type-2.style-1 .img-item {
    width: 100%;
    /* margin-bottom: 0.2rem; */
}

/* 轮播 */
.com-type-2.style-2 .swiper {
    width: 100%;
    height: 2rem;
    position: relative;
    overflow: hidden;
    /* margin-bottom: 0.2rem; */
}
.com-type-2.style-2 .swiper.min {
    height: 1.4rem;
}
.com-type-2.style-2 .swiper-slide{
    box-sizing: border-box;
    flex-wrap: wrap;
}
.com-type-2.style-2 .swiper-pagination {
    bottom: 0.1rem;
    width: 100%;
    text-align: center;
}
.com-type-2.style-2 .swiper-pagination-bullet {
    display: inline-block;
    width: 0.12rem;
    height: 0.05rem;
    border-radius: 0.1rem;
    background: rgba(0, 0, 0, 0.4);
    margin: 0 0.05rem;
}
.com-type-2.style-2 .swiper-pagination-bullet-active {
    width: 0.2rem;
    background-color: #F3163F;
}
/* 横向滑动 */
.com-type-2.style-3 .img-list {
    height: 1.34rem;
    white-space: nowrap;
    overflow-x: auto;
    font-size: 0;
    /* margin-bottom: 0.2rem; */
}

.com-type-2.style-3 .img-item {
    width: auto;
    overflow: hidden;
    /* margin-right: 0.18rem; */
}

/* 图文导航 */
.com-type-3 {}

.com-type-3 .nav-list {
    padding: 0.1rem 0.2rem;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.com-type-3 .nav-item {
    box-sizing: border-box;
    padding: 0.1rem 0;
    font-size: 0.24rem;
    color: #666;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.com-type-3 .nav-item i {
    display: block;
    /* width: 0.76rem; */
    height: 1.16rem;
    margin: 0 auto 0.1rem;
}

.com-type-3 .nav-item img {
    width: auto;
}

.com-type-3 .nav-item em {
    display: block;
}
/* 一行4个 */
.com-type-3.style-1 .nav-item {
    width: 25%;
}
/* 一行5个 */
.com-type-3.style-2 .nav-item {
    width: 20%;
}
/* 纵向排列 */
.com-type-3.style-3 .nav-list {
    display: block;
    margin: 0 0.3rem;
    background-color: #fff;
}
.com-type-3.style-3 .nav-item {
    display: block;
    height: 1rem;
    line-height: 0.48rem;
    padding: 0.26rem;
    box-sizing: border-box;
    font-size: .28rem;
    color: #666;
    text-align: left;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.com-type-3.style-3 .nav-item::after {
    content: "";
    width: 0.12rem;
    height: 0.12rem;
    border-width: 0.02rem 0.02rem 0 0;
    border-style: solid;
    border-color: #999;
    vertical-align: middle;
    transform: rotate(45deg);
    margin-top: -0.06rem;
    position: absolute;
    top: 50%;
    right: 0.03rem;
}
.com-type-3.style-3 .nav-item i {
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.2rem;
    vertical-align: top;
}
.com-type-3.style-3 .nav-item em {
    display: inline-block;
}
/* 横向滑动 */
.com-type-3.style-4 .nav-list {
    background-color: #fff;
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    font-size: 0;
}
.com-type-3.style-4 .nav-item {
    display: inline-block;
    width: auto;
    padding-left: 0.28rem;
    padding-right: 0.28rem;
    box-sizing: border-box;
}

/* 商品组件 */
.com-type-4 .pro-list {
    margin-bottom: 0.2rem;
}

.com-type-4 .pro-item {
    display: inline-block;
    box-sizing: border-box;
    overflow: hidden;
    padding-bottom: 0.2rem;
}

.com-type-4 .pro-img {
    display: block;
    text-align: center;
    margin-bottom: 0.2rem;
    border-radius: 0.12rem;
    overflow: hidden;
    position: relative;
}

.com-type-4 .pro-img img {
    width: auto;
}
.com-type-4 .pro-img .tag {
    display: inline-block;
    min-width: 0.36rem;
    height: 0.36rem;
    line-height: 0.36rem;
    text-align: left;
    /* background: #999;
    border-radius: 0rem 0rem 0.12rem 0rem;
    color: #fff;
    font-size: 0.2rem;
    text-align: center; */
    position: absolute;
    top: 0;
    left: 0;
}
.com-type-4 .pro-img .tag img {
    vertical-align: top;
}
.com-type-4 .pro-content {
    display: block;
    overflow: hidden;
}
.com-type-4 .pro-tit {
    color: #333;
    margin-bottom: 0.1rem;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.com-type-4 .pro-txt {
    display: block;
    font-size: 0.26rem;
    color: #999;
    line-height: .4rem;
    height: 0.4rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.com-type-4 .pro-price {
    display: block;
}
.com-type-4 .pro-price b {
    color: #FF3B30;
}
.com-type-4 .pro-price del {
    color: #B2B2B2;
}
.com-type-4 .pro-mx {
    display: inline-block;
    height: 0.36rem;
    line-height: 0.36rem;
    padding-left: 0.05rem;
    /* margin-left: 0.1rem; */
    border: 0.01rem solid #F52F3E;
    border-radius: 0.04rem;
    overflow: hidden;
    color: #F52F3E;
    font-size: 0.24rem;
    vertical-align: top;
    margin-top: 0.06rem;
}
.com-type-4 .pro-mx small {
    display: inline-block;
    background: #F52F3E;
    height: 0.38rem;
    padding: 0 0.05rem;
    margin-left: 0.05rem;
    margin-right: -0.01rem;
    margin-top: -0.01rem;
    margin-bottom: -0.01rem;
    color: #fff;
    font-size: 0.24rem;
    vertical-align: top;
}
.com-type-4 .pro-btn {
    display: inline-block;
    width: 1.44rem;
    height: 0.58rem;
    line-height: 0.58rem;
    background: #999999;
    border-radius: 0.34rem;
    color: #fff;
    font-size: 0.26rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
}
/* 一行1个 */
.com-type-4.style-1 .pro-list {
    padding: 0 0.3rem;
}

.com-type-4.style-1 .pro-item {
    display: flex;
    padding: 0.3rem 0;
    height: 2.8rem;
    border-bottom: solid 0.01rem #eee;
}

.com-type-4.style-1 .pro-img {
    width: 2.2rem;
    height: 2.2rem;
    margin-right: 0.3rem;
}
.com-type-4.style-1 .pro-content {
    flex: 1;
    position: relative;
}
.com-type-4.style-1 .pro-tit {
    font-size: 0.3rem;
    line-height: .4rem;
    height: 0.8rem;
}
.com-type-4.style-1 .pro-price {
    line-height: .48rem;
    height: 0.48rem;
    position: absolute;
    bottom: 0;
    left: 0;
}
.com-type-4.style-1 .pro-price b {
    font-size: 0.4rem;
}
.com-type-4.style-1 .pro-price del {
    font-size: 0.24rem;
}
.com-type-4.style-1 .pro-mx {
    position: absolute;
    left: 0;
    top: 1.25rem;
}
/* 一行2个 */
.com-type-4.style-2 .pro-list {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    padding: 0 0.2rem;
}
.com-type-4.style-2 .pro-item {
    width: 50%;
    /* height: 4.8rem; */
    padding: 0 0.1rem;
    margin: 0 0 0.2rem;
}
.com-type-4.style-2 .pro-img {
    height: 3.38rem;
}
.com-type-4.style-2 .pro-img img {
    width: 100%;
}

.com-type-4.style-2 .pro-tit {
    font-size: 0.26rem;
    line-height: .36rem;
    max-height: 0.72rem;
}
.com-type-4.style-2 .pro-price b {
    font-size: 0.32rem;
}
.com-type-4.style-2 .pro-price del {
    font-size: 0.2rem;
}
/* 一行3个 */
.com-type-4.style-3 .pro-list {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    padding: 0 0.22rem;
}
.com-type-4.style-3 .pro-item {
    background-color: #fff;
    width: 31.33%;
    height: 3.65rem;
    margin: 0 1% 0.2rem;
    border-radius: 0.12rem;
    position: relative;
}
.com-type-4.style-3 .pro-img {
    height: 2rem;
}
.com-type-4.style-3 .pro-content {
    padding: 0 0.2rem;
}
.com-type-4.style-3 .pro-tit {
    font-size: 0.26rem;
    line-height: .36rem;
    height: 0.36rem;
    -webkit-line-clamp: 1;
}
.com-type-4.style-3 .pro-price b {
    font-size: 0.3rem;
}
/* 一行3个 滑动 */
.com-type-4.style-3.scroll {
    background-color: #fff;
    padding-top: 0.85rem;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    position: relative;
}
.com-type-4.style-3.scroll .more {
    display: inline-block;
    width: 100%;
    height: 0.85rem;
    position: absolute;
    top: 0;
    right: 0;
}
.com-type-4.style-3.scroll .swiper {
    height: 3.3rem;
    padding-bottom: 0.5rem;
}
.com-type-4.style-3.scroll .swiper-slide{
    box-sizing: border-box;
    flex-wrap: wrap;
}
.com-type-4.style-3.scroll .swiper-pagination {
  top: unset;
  bottom: 0.2rem;
  width: 0.96rem;
  height: 0.1rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0.06rem;
  overflow: hidden;
  background: #F2F2F2;
}
.com-type-4.style-3.scroll .swiper-pagination-progressbar-fill {
  border-radius: 0.06rem;
  background: #FF2121;
}
/* 横向滑动 */
.com-type-4.style-4 .pro-list {
    white-space: nowrap;
    overflow-x: auto;
    padding-left: 0.3rem;
    padding-right: 0.2rem;
    margin-bottom: 0.2rem;
}
.com-type-4.style-4 .pro-item {
    background-color: #fff;
    width: 1.94rem;
    height: 3.65rem;
    margin-right: 0.12rem;
    border-radius: 0.12rem;
    margin-bottom: 0;
}
.com-type-4.style-4 .pro-img {
    height: 2rem;
}
.com-type-4.style-4 .pro-content {
    padding: 0 0.2rem;
}
.com-type-4.style-4 .pro-tit {
    font-size: 0.24rem;
    line-height: .36rem;
    height: 0.36rem;
    -webkit-line-clamp: 1;
}
.com-type-4.style-4 .pro-price b {
    font-size: 0.3rem;
}

/* 大图 */
.com-type-4.style-5 .pro-list {
    padding: 0.3rem 0.3rem 0;
}

.com-type-4.style-5 .pro-item {
    display: block;
    background-color: #fff;
    border-radius: 0.12rem;
    margin-bottom: 0.3rem;
    position: relative;
}
.com-type-4.style-5 .pro-img {
    margin-bottom: 0;
}
.com-type-4.style-5 .pro-img img {
    width: 100%;
}
.com-type-4.style-5 .pro-img .tag {
    height: 0.52rem;
    line-height: 0.52rem;
}
.com-type-4.style-5 .pro-content {
    padding: 0.3rem;
}
.com-type-4.style-5 .pro-tit {
    font-size: 0.34rem;
    -webkit-line-clamp: 1;
}
.com-type-4.style-5 .pro-txt {
    height: 0.8rem;
    font-size: 0.26rem;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.com-type-4.style-5 .pro-price {
    display: inline-block;
}
.com-type-4.style-5 .pro-price b {
    font-size: 0.4rem;
}
.com-type-4.style-5 .pro-price del {
    font-size: 0.24rem;
}
.com-type-4.style-5 .pro-btn {
    bottom: 0.25rem;
    right: 0.3rem;
}
.listImg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0.72rem;
    height: 0.72rem;
    z-index: 999;
}
.listImg img {
    width: 100%!important;
    height: 100%;
}
#recomWrap .listImg {
    top: 0.2rem;
    left: 0.2rem;
}