_index.scss 1.98 KB
.home-page{
	width: 1150px;
	margin: 0 auto;
	.tpl-recommend{
		a{
			display: block;
			background-color: #f8f8f8;
			img{display: block;width: 100%;}
		}
		.tpl-nav{
			float: left;
			width: 185px;
			height: 512px;
			.tpl-keywords{
				.keywords0{
					img{
						height: 152px;
					}
					margin-bottom: 10px;
				}
				.keywords1{
					img{
						height: 86px;
					}
					margin-bottom: 8px;
				}
			}
			.tpl-category{
				padding: 10px 0;
				background-color: #f8f8f8;
				a{
					float: left;
				    width: 50%;
				    height: 38px;
				    line-height: 38px;
				    text-align: center;
				    color: #000;
				    font-size: 14px;
				    overflow: hidden;
				}
			}
		}
		.tpl-brands{
			float: left;
			margin-left: 8px;
			width: 378px;
			height: 512px;
			li{
				margin-bottom: 8px;
				img{
						height: 248px;
						width: 100%;
					}
			}
			
		}
		.tpl-types{
			float: left;
			width: 579px;
			height: 512px;
			li{
				float: left;
				margin-left: 8px;
				margin-bottom: 8px;
				img{
						width: 185px;
						height:248px;
					}
			}
		}
		.tpl-products{
			ul{margin-left:-10px; 
				li{
					float: left;
					margin-left:10px; 
					img{
						width: 222px;
						height: 298px;
					}
				}
			}
		}
	}
	.commodity{
		margin-left: -10px;
		position: relative;
		li{
			float: left;
			margin-left: 10px;
			margin-bottom:28px; 
			padding-top:20px; 
			position: relative;
			i{
				position: absolute;
				top: 0px;
				display: block;
				width: 64px;
				height: 20px;
			}
			a{
				display: block;
				height: 360px;
				width: 222px;
				.commodity-img{
					img{
						display: block;
						height: 298px;
						width: 222px;
					}
				}
				p.commodity-name{
					font-size: 12px;
					color: #000;
					line-height: 40px;
					text-align: center;
				}
				p.commodity-price{
    				font-size: 12px;
    				text-align: center;
				}
			}
		}
		.loading{
			position: absolute;
			bottom: 0;
			width: 100%;
			p{
				text-align: center;
				font-size: 20px;
			}
		}
	}

}