chanpin.css 6.08 KB
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.good-info {
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 44%;
    margin-left: 4%;
}

.good-detail-img {
    position: relative;
    width: 100%;
    padding-top: 133.19%;
}

.good-detail-img img {
    width: 100%;
}

.good-detail-img .mip-element {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.good-info .tag-container {
    overflow: hidden;
    width: 100%;
    height: 20px;
}

.good-info .tag-container .good-tag {
    display: block;
    float: left;
    box-sizing: border-box;
    margin-right: 4px;
    height: 20px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
}

.good-info .tag-container .good-tag:last-child {
    margin-right: 0;
}

.good-info .tag-container .new-tag {
    width: 40px;
    background-color: #78dc7e;
    color: #fff;
}

.good-info .tag-container .hot-tag {
    width: 60px;
    background-color: #ff575c;
    color: #fff;
}

.good-info .tag-container .renew-tag {
    width: 50px;
    background-color: #78dc7e;
    color: #fff;
}

.good-info .tag-container .sale-tag {
    width: 40px;
    background-color: #ff575c;
    color: #fff;
}

.good-info .tag-container .new-festival-tag {
    color: #000;
    width: 50px;
    background-image: url("//cdn.yoho.cn/yohobuywap-node/6.2.37/img/product/new-festival.png");
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 100px 28px;
}

.good-info .tag-container .limit-tag {
    width: 60px;
    border: 1px solid #000;
    color: #000;
}

.good-info .tag-container .is-presell {
    width: 40px;
    background-color: #000;
    color: #fff;
}

.good-info .tag-container .is-global {
    padding: 3px 10px 0 8px;
    color: #fff;
    background-color: #462e3e;
    line-height: 26px;
}

.good-info .tag-container .is-global span {
    display: inline-block;
    background-image: url("//cdn.yoho.cn/yohobuywap-node/6.2.37/img/product/airplane.png");
    background-repeat: no-repeat;
    padding-left: 32px;
    background-size: auto 95%;
}

.good-detail-img .good-islike {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    color: #b0b0b0;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    line-height: 60px;
}

.good-detail-img .good-like {
    color: #d72928;
}

.good-detail-img img {
    display: block;
    width: 100%;
}

.good-detail-img .few-tag {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 24px;
    background: #ffac5b;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
}

.good-detail-img .out-tag {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 32px;
    background: #b0b0b0;
    color: #fff;
    text-align: center;
    font-size: 18px;
    line-height: 32px;
}

.good-detail-img .no-storage {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    opacity: 0.4;
    position: absolute;
    top: 0;
}

.good-detail-img .no-storage .no-storage-img {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("//cdn.yoho.cn/yohobuywap-node/6.2.37/img/product/outlet_sellout_bg.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.good-detail-text {
    position: relative;
}

.good-detail-text .name a {
    transform: scale(0.9);
    margin: 7px 0 5px;
    min-height: 30px;
    color: #444;
    font-size: 12px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 36px;
}

.good-detail-text .price {
    font-size: 12px;
    line-height: 22px;
    white-space: nowrap;
    transform: scale(0.9);
}

.good-detail-text .price .sale-price {
    color: #d62927;
}

.good-detail-text .price .sale-price.no-price {
    color: #000;
}

.good-detail-text .price .market-price {
    font-size: 12px;
    margin: 0 0 0 5px;
    color: #b0b0b0;
    text-decoration: line-through;
}

.good-detail-text .vip-grade {
    display: inline-block;
    margin-right: 8px;
    width: 26px;
    height: 16px;
    vertical-align: text-bottom;
}

.good-detail-text .vip-grade-1 {
    background: url("//cdn.yoho.cn/yohobuywap-node/6.2.37/img/product/silver.png") no-repeat;
    background-size: contain;
}

.good-detail-text .vip-grade-2 {
    background: url("//cdn.yoho.cn/yohobuywap-node/6.2.37/img/product/golden.png") no-repeat;
    background-size: contain;
}

.good-detail-text .vip-grade-3 {
    background: url("//cdn.yoho.cn/yohobuywap-node/6.2.37/img/product/platinum.png") no-repeat;
    background-size: contain;
}

.good-detail-text .vip-info {
    margin-top: 3px;
    color: #444;
    font-size: 12px;
    line-height: 16px;
}

.good-detail-text .vip-info .vip-icon {
    display: inline-block;
    margin-right: 8px;
    width: 44px;
    height: 16px;
    background: url("//cdn.yoho.cn/yohobuywap-node/6.2.37/img/product/vip-icon.png") no-repeat;
    background-size: contain;
    vertical-align: bottom;
}

.mip-footer {
    clear: both;
    position: relative;
}

.mip-footer .option {
    font-size: 0;
}

.mip-footer .option a {
    line-height: 50px;
    font-size: 13px;
    padding: 0 5%;
}

.mip-footer .option .login {
    border-right: solid 1px #e0e0e0;
}

.mip-footer .option .back-to-top {
    line-height: 50px;
    font-size: 13px;
    padding: 0 5%;
    float: right;
}

.mip-footer .option .back-to-top span {
    font-weight: bold;
    margin-left: 5px;
    transform: scaleY(0.5);
    display: inline-block;
}

.mip-footer .copy-right {
    background-color: #eee;
    color: #666;
    text-align: center;
    line-height: 45px;
    font-size: 13px;
}

.mip-footer .mip-fixed {
    position: relative !important;
}

.mip-footer .mip-gototop {
    display: inline !important;
}

.list-too-little {
    padding: 2% 4%;
    border-bottom: 1px solid #e6e6e6;
    color: #444;
    font-size: 12px;
}

.list-too-little .word {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
    border: 1px solid #bbb;
    margin-right: 6px;
    margin-top: 5px;
}