goodsItem_10.less 1.88 KB
@charset "UTF-8";

.goods-item-10-box {
	background-color: #ffffff;
	padding: 20px 0;
	width: 173px;
	height: auto;
    border-radius: 8px;
    .top-box {
        position: relative;
        .img-box {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #F9F9F9;
            margin: 0 auto;
            width: 143px;
            height: 143px;
            border-radius: 8px;
            overflow: hidden;
            .simg {
                display: block;
                width: 143px;
                height: 143px;
            }
        }
    }
	.content-box {
		margin: 0 auto;
		width: 143px;
		.price-box {
			display: flex;
			justify-content: center;
			align-items: baseline;
			margin-top: 20px;
			height: 32px;
			.symbol {
				color: #FC1541;
				font-size: 24px;
			}
			.price {
				color: #FC1541;
				font-size: 24px;
				white-space: nowrap;
				text-overflow: ellipsis;
				overflow: hidden;
				& + .prices {
					margin-left: 8px;
				}
			}
			.prices {
				color: #BEBEBE;
				font-size: 18px;
				text-decoration: line-through;
				white-space: nowrap;
				text-overflow: ellipsis;
				overflow: hidden;
			}
		}
		.prices-box {
			display: flex;
			justify-content: center;
			align-items: baseline;
			height: 28px;
			line-height: 28px;
			.symbol {
				color: #AAAAAA;
				font-size: 22px;
				font-weight: 300;
				text-decoration: line-through;
			}
			.prices {
				color: #AAAAAA;
				font-size: 22px;
				font-weight: 300;
				text-decoration: line-through;
			}
		}
		.prices-pl-box {
			height: 28px;
			line-height: 28px;
		}
	}

    &.pid-2, &.pid-4 {	// 积分样式
		.content-box {
			.price-box {
				justify-content: center;
				.price {
					& + .price-text {
						margin-left: 2px;
					}
				}
				.price-text {
					color: #333333;
					font-size: 20px;
					font-weight: 400;
				}
			}
		}
	}
}