detail.css 6.65 KB
.guang-detail-c {
    max-width: 750px;
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
    margin: 0 auto;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.guang-detail-c .editor-info {
    width: 100%;
    height: 65px;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 20px;
    background-color: #fff;
}

.editor-info .pic {
    border-radius: 50%;
    overflow: hidden;
    margin-top: 10px;
    width: 45px;
    height: 45px;
    float: left;
}

.editor-info .name {
    line-height: 65px;
    float: left;
    font-size: 14px;
    color: #000;
    padding-left: 20px;
}

.editor-info .intro {
    line-height: 65px;
    float: left;
    font-size: 14px;
    color: #b0b0b0;
    padding-left: 20px;
}

.article-info {
    padding: 10px 20px;
    background-color: #fff;
}

.article-info .name {
    line-height: 30px;
    font-size: 20px;
    color: #000;
    font-weight: bold;
    clear: both;
}

.article-info .view-c {
    color: #b0b0b0;
    font-size: 12px;
    line-height: 30px;
}

.guang-content {
    padding: 0 20px 20px;
    background-color: #fff;
    float: left;
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 100%;
}

.guang-content p {
    padding: 5px 0;
}

.guang-content .pic {
    clear: both;
    margin: 0 auto;
    display: block;
    max-width: 100%;
}

.related-goods {
    float: left;
    width: 100%;
    background-color: #fff;
}

.related-goods .good-item {
    width: 100%;
    border-top: 1px solid #e0e0e0;
    float: left;
    padding: 20px 0;
}

.related-goods .good-item .pic {
    width: 25%;
    float: left;
}

.pic-mip {
    max-width: 100%;
}

.related-goods .good-item .info {
    width: 70%;
    float: left;
    margin-left: 5%;
}

.related-goods .good-item .name {
    color: #000;
    padding: 10px 0;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-height: 25px;
}

.related-goods .good-item .price {
    color: #d62927;
    font-size: 14px;
}

.more-goods {
    height: 40px;
    line-height: 40px;
    clear: both;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    background-color: #fff;
    padding: 0 20px;
    display: block;
}

.recommend-goods {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    margin: 20px 0;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
}

.good-scroll {
    height: 133px;
    margin: 20px 0;
    overflow: hidden;
    display: inline-flex;
    padding-right: 20px;
}

.recommend-goods .good-item {
    float: left;
    position: relative;
    width: 100px;
    margin-left: 20px;
}

.recommend-goods .good-item .price {
    width: 100px;
    height: 20px;
    color: #fff;
    text-align: center;
    line-height: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #000;
    opacity: 0.7;
}

.related-brand {
    background-color: #fff;
}

.brand-c {
    width: 100%;
    float: left;
    background-color: #fff;
}

.related-brand .title {
    line-height: 60px;
    text-align: center;
    color: #000;
    font-size: 18px;
    background-color: #fff;
}

.brand-item {
    width: 20%;
    margin: 10px 2.5%;
    float: left;
}

.brand-item p {
    font-size: 13px;
    color: #babac2;
    line-height: 20px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-tag {
    border-top: 1px solid #e0e0e0;
    float: left;
    background-color: #fff;
    width: 100%;
    padding-bottom: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.brand-tag .tag {
    background-color: #444;
    float: left;
    color: #fff;
    line-height: 30px;
    padding: 0 10px;
    margin: 20px 0 0 20px;
}

.related-info {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    float: left;
    padding-bottom: 0;
}

.related-info .info-item {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}

.related-info .info-item .pic {
    width: 35%;
    float: left;
}

.related-info .info-item .info {
    width: 60%;
    margin-left: 5%;
    float: left;
}

.related-info .info-item .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
    overflow: hidden;
    line-height: 20px;
}

.related-info .info-item .time {
    color: #b0b0b0;
    line-height: 22px;
}

.big-pic {
    position: relative;
    margin-bottom: 3px;
    clear: both;
}

.small-pic {
    position: relative;
    margin-bottom: 3px;
    width: 100%;
}

.small-pic .pic {
    float: left;
    width: 50%;
    clear: none;
    max-width: 50%;
}

.tag-list-box {
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    padding: 10px;
}

.label-box {
    clear: both;
}

.lable-info-box {
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0 5px;
    border-radius: 15px;
    float: left;
    line-height: 25px;
    width: 60%;
    height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 5px;
}

.lable-info-box a {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lable-focus {
    float: left;
    display: flex;
    align-items: center;
    line-height: 25px;
    height: 25px;
    margin-right: 15px;
    margin-top: 5px;
}

.lable-focus .focus-big {
    display: flex;
    align-items: center;
    width: 17px;
    height: 17px;
    border-radius: 17px;
    border: 4px solid rgba(253, 157, 43, 0.5);
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.lable-focus .focus-small {
    width: 17px;
    height: 17px;
    border-radius: 17px;
    background: rgba(253, 157, 43, 1);
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
    margin: 0;
}

.recommend-products-box {
    height: 102px;
    margin: 15px 0;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.recommend-products-box .recommend-products-content {
    height: 102px;
    overflow-y: hidden;
    display: inline-flex;
    background-color: #fff;
}

.recommend-products-box .recommend-goods {
    width: 76px;
    height: 102px;
    margin: 0 15px 0 0;
    float: left;
    position: relative;
    overflow: hidden;
}

.recommend-products-box img {
    width: 76px;
    height: 102px;
    margin: 0;
}

.recommend-products-box .recommend-goods-cover {
    width: 76px;
    height: 15px;
    line-height: 16px;
    font-size: 12px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    position: absolute;
    bottom: 0;
    padding: 2px 0;
}