shop-app.css 5.09 KB
/*
app端店铺模板css
*/
.contentpanel-app {color: #585858; font-size: 12px; font-family:'Microsoft YaHei'}
.contentpanel-app *{margin: 0;padding: 0;box-sizing: border-box }
.contentpanel-app ul {list-style: none;}
.contentpanel-app a {color: #585858; text-decoration: none}
.contentpanel-app a:hover{text-decoration: underline}
.contentpanel-app img {border-style: none;}

/*清浮动*/
.contentpanel-app .clear {clear: both}

/*------------------------wrap--------------------------*/
.contentpanel-app{
    width: 100%;
    margin: 0 auto 20px;
    background: #f5f7f6;
    max-width: 640px;
}

/*------------------------banner--------------------------*/
.contentpanel-app .model-banner{
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
}
.contentpanel-app .model-banner img{
    position: absolute;
    clip: rect(0,640px,150px,0);
}
.contentpanel-app .model-banner h1{
    position: absolute;
    top: 20px;
    left: 50px;
    color: #ffff00;
}

/*------------------------nav--------------------------*/
.contentpanel-app .model-nav{
    background: #fff;
}
.contentpanel-app .model-nav ul li{
    float: left;
    width: 25%;
    height: 30px;
    line-height: 28px;
    padding: 1px 10px;
    font-size: 28px;
    border-right: 2px solid #ccc;
    margin: 30px 0;
    text-align: center;
}
.contentpanel-app .model-nav ul li a{color: #ccc}
.contentpanel-app .model-nav ul li.active a{color: #585858}

/*------------------------main--------------------------*/
.contentpanel-app .model-main{
    clear: both;
    width: 100%;
    background: #f5f7f6;
}

/*------------------------品牌一览(多品牌商铺专有)--------------------------*/
.contentpanel-app .brand-list{
    text-align: center;
}
.contentpanel-app .brand-list span{
    display: block;
    line-height: 60px;
    height: 60px;
    font-size: 28px;
}
.contentpanel-app .brand-list ul{
    border: solid #ccc;
    border-width:1px 0 0px 0 ;
    padding: 0 4px;
}
.contentpanel-app .brand-list ul li{
    float: left;
    width: 25%;
    padding: 20px 4px;
}
.contentpanel-app .brand-list ul li a{
    display: block;
    width: 100%;
    height: 100px;
}
.contentpanel-app .brand-list ul li img{
    width: 100%;
    height: 100px;
}

/*------------------------大图--------------------------*/
.contentpanel-app .largePic img{
    width: 100%;
    height: 180px;
}

/*------------------------小图--------------------------*/
.contentpanel-app .model-smallPic{
    width: 580px;
    height: 150px;
    margin: 20px auto;
    background: #fff;
}
.contentpanel-app .model-smallPic ul li{
    float: left;
    width: 50%;
    height: 150px;
}
.contentpanel-app .model-smallPic ul li:first-of-type{
    padding-right: 15px;
}
.contentpanel-app .model-smallPic ul li:last-of-type{
    padding-left: 15px;
}
.contentpanel-app .model-smallPic img{
    width: 275px;
    height: 150px;
    border:0px solid #000;
}

/*------------------------热门品类--------------------------*/
.contentpanel-app .sortList{
    width: 100%;
}
.contentpanel-app .sortList span{
    display: block;
    text-align: center;
    height: 60px;
    line-height: 60px;
    width: 580px;
    background: #fff;
    margin: 0 auto;
    font-size: 28px;
    color: #999;
}
.contentpanel-app .sortList .sortListDetail{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    position: relative;
    padding: 20px 4px 10px;
}
.contentpanel-app .sortList .sortListDetail ul li{
    float: left;
    width: 25%;
}
.contentpanel-app .sortList .sortListDetail ul li img{
    display: block;
    width: 150px;
    height: 120px;
    margin: 0 4px;
}
.contentpanel-app .sortList .sortListDetail ul li a{
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
}

/*------------------------人气单品--------------------------*/
.contentpanel-app .model-show{
    width: 100%;
    background: #fff;
}

.contentpanel-app .showTitle{
    width: 100%;
    height: 98px;
    line-height: 98px;
    text-align: center;
    position: relative;
    box-sizing: content-box;
    border-bottom: 1px solid #ccc;
}
.contentpanel-app .showTitle span{
    font-size: 28px;
    color: #585858;
}
.contentpanel-app .showTitle a{
    display: block;
    position: absolute;
    top:0;
    right: 10px;
}

/*------------------------人气单品详情--------------------------*/
.contentpanel-app .model-showDetail{
    padding: 50px 25px;
}
.contentpanel-app .model-showDetail ul li{
    float: left;
    width: 50%;
    position: relative;
    margin-bottom:10px;
    padding: 0 5px;
}
.contentpanel-app .model-showDetail ul li img{
    width: 100%;
    height: 300px;
    display: block;
}
.contentpanel-app .shadow{
    width: 100%;
    background: #666;
    opacity: 0.5;
    padding: 5px 10px;
}
.contentpanel-app .model-showDetail ul li a{
    display: block;
    font-size: 22px;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contentpanel-app .model-showDetail ul li b{
    font-size: 22px;
    display: block;
    color: #fff;
    font-weight: normal;
}