<{uqcms m="goods" v="data" c="get_all:cid=smarty.get.cid&key=smarty.get.key&shop_id=smarty.get.shop_id&group_cid=smarty.get.group_cid&brand=smarty.get.brand&page=smarty.get.page&page_size=smarty.get.page_size&page_type=scroll&attr=smarty.get.attr&sort=smarty.get.sort"}> 
<{import 
	file="common.html" 
	title=$data.cats_name
	css="list,gbox"
}>  
<div class="top_bar">
	<div class="top">
		<div class="tback"><a href="<{$__WAP__}>index/index">&nbsp;</a></div> 
		<div class="tsch"> 
			<div class="pubsch"> 
				<span></span>
				<div class="input_clk"> 
					<input type="text" value="<{$smarty.get.key|urldecode}>" class="sch_input" placeholder="搜索您想找的商品"/>
				</div> 
			</div>
		</div>
		<a href="javascript:;" class="thome">主页</a>
	</div>
</div> 

<{import file="sch.html"}>
<div class="px">
	<a href="<{$__WAP__}>goods/index?cid=<{$smarty.get.cid}>&brand=<{$smarty.get.brand}>&attr=<{$smarty.get.attr}>" <{if $smarty.get.sort == ''}>class="ch"<{/if}>>默认</a>
	<a href="<{$__WAP__}>goods/index?cid=<{$smarty.get.cid}>&brand=<{$smarty.get.brand}>&attr=<{$smarty.get.attr}>&sort=volume" <{if $smarty.get.sort == 'volume'}>class="ch"<{/if}>>销量</a> 
	<a href="<{$__WAP__}>goods/index?cid=<{$smarty.get.cid}>&brand=<{$smarty.get.brand}>&attr=<{$smarty.get.attr}>&sort=<{if $smarty.get.sort == 'price'}>_price<{else}>price<{/if}>" <{if $smarty.get.sort == 'price' || $smarty.get.sort == '_price'}>class="ch"<{/if}>>价格<i><{if $smarty.get.sort == 'price'}>↓<{else}>↑<{/if}></i></a> 
	<a href="<{$__WAP__}>goods/index?cid=<{$smarty.get.cid}>&brand=<{$smarty.get.brand}>&attr=<{$smarty.get.attr}>&sort=comment" <{if $smarty.get.sort == 'comment'}>class="ch"<{/if}>>评论数</a> 
</div>

<div class="goods_box">
	<div class="gscon" id="container"> 
		<{if $data.list}> 
			<{foreach item=i from=$data.list}> 	
				<div class="gsbox">
					<div class="img"><a href="<{$__WAP__}>goods/<{$i.id}><{$__HTML__}>"><img data-original="<{$__IMG__}><{$i.images|img_size:320x320}>" class="lazy"/></a></div>
					<div class="con">
						<div class="ttl"><a href="<{$__WAP__}>goods/<{$i.id}><{$__HTML__}>"><{$i.title}></a></div> 
						<div class="pr"> 
							<i>¥</i> 
							<em><{$i.price}></em>
							<span class="vol">已售 <{$i.volume}></span>
						</div> 
					</div> 
				</div>
			<{/foreach}> 
			<{$data.page}>
		<{else}>
			<div class="nomsg"><span>暂时无内容</span></div>	
		<{/if}>
	</div>
</div>

<{import file="footer.html"}> 
<script type="text/javascript"> 
scrollLoad("#container", ".gsbox", 1);   
lazyload(); 
</script>