<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<link href="/plugin/swiper/css/swiper.min.css" rel="stylesheet" />
	<link href="<?php echo $this->_var['skins']; ?>household/index.css?v1" rel="stylesheet" />
	<body>
		<div class="header">
			<img src="<?php echo $this->_var['site']['logo']; ?>.100x100.jpg" class="header-logo" />
			<div class="header-title">福鼎家政精选</div>
			 
		</div>
		<div class="header-row"></div>
		
		<div class="main-body">
			<div class="scale-swiper-box" style="padding-bottom: 50%;">
				<div class="swiper-container scale-swiper-container" id="indexFlash">
					<div class="swiper-wrapper" >
						<?php $_from = $this->_var['flashList']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
						<div class="swiper-slide scale-swiper-slide">
							<img class="wmax" src="<?php echo $this->_var['c']['imgurl']; ?>" />
							 
						</div>
						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</div>
					 
					<div class="swiper-pagination"></div>
				 
				</div>
			</div>
			<?php if ($this->_var['navList']): ?>
			<div class="m-navPic">
			    <?php $_from = $this->_var['navList']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
			    <a href="<?php echo $this->_var['c']['link1']; ?>" class="m-navPic-item">
					  <img class="m-navPic-img" src="<?php echo images_site($this->_var['c']['imgurl']); ?>" />
					  <div class="m-navPic-title"><?php echo $this->_var['c']['title']; ?></div>
					   
			    </a>
				
			    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</div>
			<?php endif; ?>
			<?php if ($this->_var['adList']): ?>
			<div class="adBox">
				<?php $_from = $this->_var['adList']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
				<div class="adBox-item">
					<img gourl="<?php echo $this->_var['c']['link1']; ?>" src="<?php echo $this->_var['c']['imgurl']; ?>" class="adBox-img" />
				</div>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
						 
			</div>
			<?php endif; ?>
			<div class="row-box-hd  pdl-10" >
				<div class="iconfont mgr-10 icon-likefill cl-f30 f22"></div>
				<div class="flex-1 ">
					<div class="f14">店长推荐</div>
					<div class="cl3 f12">大家都会心动的产品</div>
					</div>
				<div gourl="/module.php?m=household_group_product&gkey=bimai" class="row-box-more"></div>
			</div>
			<div class="">
			<div class="flexlist">
			 
				<?php $_from = $this->_var['bmList']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
				<a href="/module.php?m=household_product&a=show&id=<?php echo $this->_var['c']['id']; ?>" class="flexlist-item">
					<img src="<?php echo $this->_var['c']['imgurl']; ?>.small.jpg" class="flexlist-img" />
					<div class="flex-1">
						<div class="flexlist-title"><?php echo $this->_var['c']['title']; ?></div>
						<div class="flex">
							<div class="cl-money">￥<?php echo $this->_var['c']['price']; ?></div>
						</div>
					</div>
					 
				</a>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</div>
			</div>
			<div class="row-box-hd  pdl-10" >
				<div class="iconfont mgr-10 icon-moneybag cl-f30 f20"></div>
				<div class="flex-1 ">
					<div class="f14">猜你喜欢</div>
					<div class="cl3 f12">Guess You Like It</div>
					</div>
				<div gourl="/module.php?m=household_product&type=recommend" class="row-box-more"></div>
			</div>
			<div class="">
			<div class="flexlist">
				<?php $_from = $this->_var['recList']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
				<a href="/module.php?m=household_product&a=show&id=<?php echo $this->_var['c']['id']; ?>" class="flexlist-item">
					<img src="<?php echo $this->_var['c']['imgurl']; ?>.small.jpg" class="flexlist-img" />
					<div class="flex-1">
						<div class="flexlist-title"><?php echo $this->_var['c']['title']; ?></div>
						<div class="flex">
							<div class="cl-money">￥<?php echo $this->_var['c']['price']; ?></div>
						</div>
					</div>
					 
				</a>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</div>
			</div>
			<div class="row-box-hd  pdl-10 mtt10" >
				<div class="iconfont mgr-10 icon-hot_light cl-f30 f20"></div>
				<div class="flex-1 ">
					<div class="f14">热销服务</div>
					<div class="cl3 f12">Hot Goods</div>
					</div>
				<div gourl="/module.php?m=household_product&type=hot" class="row-box-more"></div>
			</div>
			<div class="">
			 
			<div class="flexlist">
				<?php $_from = $this->_var['hotList']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
				<a href="/module.php?m=household_product&a=show&id=<?php echo $this->_var['c']['id']; ?>" class="flexlist-item">
					<img src="<?php echo $this->_var['c']['imgurl']; ?>.small.jpg" class="flexlist-img" />
					<div class="flex-1">
						<div class="flexlist-title"><?php echo $this->_var['c']['title']; ?></div>
						<div class="flex">
							<div class="cl-money">￥<?php echo $this->_var['c']['price']; ?></div>
						</div>
					</div>
					 
				</a>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</div>
			</div>
		</div>
		<div class="flex-center pd-10">
			<a class="f12 cl3" href="http://beian.miit.gov.cn"><?php echo $this->_var['site']['icp']; ?></a>
		</div>   
		 <?php $this->assign('ftnav','household_home'); ?>
		<?php echo $this->fetch('ftnav.html'); ?>
		<?php echo $this->fetch('footer.html'); ?>
		<script src="/plugin/swiper/js/swiper.min.js"></script>
		<script>
			$(function(){
				var flash=new Swiper("#indexFlash",{
					loop: true,
					pagination: {
					  el: '.swiper-pagination'
					},
				});
				$(document).on("click","#searchBtn",function(){
					var keyword=$("#keyword").val();
					window.location="/module.php?m=household_search&keyword="+encodeURIComponent(keyword);
				})
			})
			
		</script>
		 
	</body>
</html>
