shop-app.css 5.02 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: 100px;
    position: relative;
}
.contentpanel-app .model-banner img{
    width: 100%;
    height: 100px;
}
.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%;
    line-height: 20px;
    padding: 0 10px;
    font-size: 14px;
    border-right: 2px solid #ccc;
    margin: 10px 0;
    text-align: center;
}
.contentpanel-app .model-nav ul li a{color: #ccc; font-weight: bold}
.contentpanel-app .model-nav ul li.active a{color: #585858}

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

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

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

/*------------------------小图--------------------------*/
.contentpanel-app .model-smallPic{
    width: 90%;
    height: 80px;
    margin: 10px auto;
    background: #fff;
}
.contentpanel-app .model-smallPic ul li{
    float: left;
    width: 50%;
    height: 80px;
}
.contentpanel-app .model-smallPic ul li:first-of-type{
    padding-right: 5px;
}
.contentpanel-app .model-smallPic ul li:last-of-type{
    padding-left: 5px;
}
.contentpanel-app .model-smallPic img{
    width: 100%;
    height: 100%;
    border:0px solid #000;
}

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

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

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

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