goodsItem_3.less 1.85 KB
@charset "UTF-8";

.goods-item-3-box {
	background-color: #ffffff;
	padding: 20px 0;
	width: 560px;
	height: auto;
	border-radius: 8px;
	.main-box {
		display: flex;
		justify-content: space-between;
		margin: 0 auto;
		width: 520px;
		height: auto;
		.img-box {
			display: flex;
			justify-content: center;
			align-items: center;
			background-color: #F9F9F9;
			margin: 0 auto;
			width: 240px;
			height: 240px;
			border-radius: 8px;
			overflow: hidden;
			.simg {
				display: block;
                width: 240px;
                height: 240px;
			}
		}
		.content-box {
			display: flex;
			flex-direction: column;
			justify-content: space-around;
			align-items: center;
			width: 280px;
			height: auto;
			.top-box {
				width: 220px;
				.title {
					color: #333333;
					font-size: 30px;
					white-space: nowrap;
					text-overflow: ellipsis;
					overflow: hidden;
				}
				.ads {
					margin-top: 5px;
					color: #333333;
					font-size: 22px;
					white-space: nowrap;
					text-overflow: ellipsis;
					overflow: hidden;
				}
			}
			.bottom-box {
				width: 220px;
				.price-box {
					display: flex;
					justify-content: flex-start;
					align-items: center;
					margin-top: 20px;
					.symbol {
						color: #FC1541;
						font-size: 20px;
					}
					.price {
						color: #FC1541;
						font-size: 30px;
						white-space: nowrap;
						text-overflow: ellipsis;
						overflow: hidden;
					}
				}
				.buttons-box {
					margin-top: 20px;
					.btn {
						&.btn-primary {
							display: flex;
							justify-content: center;
							align-items: center;
							background-color: #ffffff;
							color: #EC1125;
							font-size: 24px;
							width: 100%;
							height: 46px;
							border: 1px solid #EC1125;
							border-radius: 6px;
							white-space: nowrap;
							text-overflow: ellipsis;
							overflow: hidden;
						}
					}
				}
			}
		}
	}
}