/*初始化*/

body, ol, ul, h1, h2, h3, h4, h5, h6, p, th, td, dl, dd, form, fieldset, legend, input, textarea, select {
    margin: 0;
    padding: 0
}
a {
    color: #2d374b;
    text-decoration: none
}
a:hover {
    color: #333;
    text-decoration: none;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    outline: none;
}
a:focus {
    text-decoration: none;
    outline: none;
}
:focus {
    outline: 0;
}
body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}
em {
    font-style: normal
}
li {
    list-style: none
}
img {
    border: 0;
    vertical-align: middle
}
table {
    border-collapse: collapse;
    border-spacing: 0
}
p {
    word-wrap: break-word
}
body {
    background-color: #f8f8f8;
    color: #333333;
    font-family: "Helvetica Neue Condensed", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

div.container {
    background-color: #f8f8f8;
    padding: 0 0 .2rem;
    font-size: .24rem;
    color: #333;
}

div.activity {
    background-color: #fff;
}

div.activity+div.activity {
    margin-top: .2rem;
}


/*banner*/

div.activity>div.banner {
    position: relative;
}

div.activity>div.banner>a {
    width: 100vw;
    /*height: 53.33vw;*/
    overflow: hidden;
    display: block;
    position: relative;
}

div.activity>div.banner>a>img.bannerPic {
    width: 100%;
    display: block;
}
div.activity>div.banner>a>img.shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    display: block;
}
div.activity>div.banner>a>img.logo {
    position: absolute;
    width: 0.90rem;
    height: 0.90rem;
    z-index: 1;
    top: 0.1rem;
    right: 0.20rem;
    display: block;
}
div.activity>div.banner>a>div.content {
    position: absolute;
    width: 100%;
    height: 1.00rem;
    bottom: .25rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    color: #FFF;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
        -ms-flex-flow: column;
            flex-flow: column;
}
div.activity>div.banner>a>div.content>div.title {
    font-size: .42rem;
    font-weight: 600;
}
div.activity>div.banner>a>div.content>div.smallTitle {
    font-size: .32rem;

}
div.activity>div.banner>a>div.triangle {
    position: absolute;
    bottom: -0.05rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: .25rem solid transparent;
    border-right: .25rem solid transparent;
    border-bottom: .25rem solid #fff;
}

/*商品区*/

div.products {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .2rem .2rem;
}

div.products div.product {

}
div.products a.more {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #cccccc;
    height: 3.7rem;
}
div.products a.more img {
    height: .46rem;
    width: 1.54rem;
}
div.products div.product + div.product {
    /*margin-left: 5%;*/
}
/*图片*/
div.products div.product>a>div.picContainer {
    /*margin-top: .2rem;*/
    position: relative;
    width: 100%;
    height: 2rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: .1rem;
}
div.products div.product>a>div.picContainer>div.itemPic {
    position: relative;
    width: 100%;
    height: 2rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
/*优惠信息*/
div.products div.product>a>div.picContainer>div.infos {
    position: absolute;
    left: 0;
    top: 0;
}
div.products div.product>a>div.picContainer>div.infos>div.info {
    font-size: .22rem;
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: .1rem .15rem;
}
div.products div.product>a>div.picContainer>div.infos>div.other {
    background-image: url('./../images/productlist/more.png');
}
div.products div.product>a>div.picContainer>div.infos>div.discount {
    background-image: url('./../images/productlist/discount.png');
}
div.products div.product>a>div.picContainer>div.infos>div.discount>span {
    font-size: .20rem;
}
div.products div.product>a>div.picContainer>div.infos>div.new {
    background-image: url('./../images/productlist/new.png');
}
div.products div.product>a>div.picContainer>div.couponMessage {
    position: absolute;
    bottom: -0.40rem;
    left: 0;
    width: 100%;
    background-color: #f7e9d7;
    font-size: .20rem;
    line-height: .35rem;
    vertical-align: middle;
    color: #eb9d3a;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
div.products div.product>a>div.brand {
    margin-top: 0.4rem;
    height:0.3rem;
    text-align: center;
    font-size: .20rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
div.products div.product>a>div.title {
    margin-top: 0.03rem;
    text-align: center;
    font-size: .24rem;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    word-break: break-all;
    height: 0.34rem;
}

div.products div.product>a>div.priceInfo {
    margin-top: .22rem;
    margin-bottom: .22rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}
div.products div.product>a>div.priceInfo>span.rmbPrice {
    font-size: .28rem;
    font-weight: bold;
    color: #fc3f27;
}
div.products div.product>a>div.priceInfo>span.originalRmbPrice {
    font-size: .24rem;
    color: #CCC;
    text-decoration: line-through;
}

div.container>div.loading {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #999;
    height: .8rem;
    font-size: .28rem;
}

div.container>div.loading>img {
    width: .4rem;
    height: .4rem;
    margin-right: .1rem;
}


/*按键*/
div.buttons {
    position: fixed;
    right: 3vw;
    bottom: 3vw;
    /*border: 1px solid black;*/
    /*padding: .1rem;*/
}
div.button {
    width: .8rem;
    height: .8rem;
    margin-top: .3rem;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #bbb;
    font-size: .24rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
        -ms-flex-flow: column;
            flex-flow: column;
}
/*返回顶部*/
div.toTop {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}
div.toTop > img {
    width: .4rem;
    display: block;
}
/*分页*/
div.pages>div.totalPage {
    border-top: 1px solid #333;
    padding: 0 .08rem;
}
/*随机背景色*/
.bgc0 {
    background-color: rgba(167,208,254,0.5);
}
.bgc1 {
    background-color: rgba(177,167,254,0.5);
}
.bgc2 {
    background-color: rgba(156,232,183,0.5);
}
.bgc3 {
    background-color: rgba(255,169,112,0.5);
}
.bgc4 {
    background-color: rgba(181,181,181,0.5);
}
.bgc5 {
    background-color: rgba(212,235,162,0.5);
}
.bgc6 {
    background-color: rgba(254,152,152,0.5);
}
.bgc7 {
    background-color: rgba(208,177,139,0.5);
}
.bgc8 {
    background-color: rgba(164,227,229,0.5);
}
