<div class="bigweb">
	<section class="breadcrumb">
		<span>您当前的位置：</span> <a href="{url:}">首页</a> » {if:$catRow}{$catRow['name']}{else:}最新资讯{/if}
	</section>
	<section class="web">
		<section class="main">
			<h2 class="main_head">{if:$catRow}{$catRow['name']}{else:}最新资讯{/if}</h2>
			<div class="article_list">
				<ul>
					{foreach:items = $queryArticle->find()}
					<li><time>{$item['create_time']}</time><a href="{url:/site/article_detail/id/$item[id]}">{$item['title']}</a></li>
					{/foreach}
				</ul>
				{$queryArticle->getPageBar()}
			</div>
		</section>
		<aside class="bar">
			<div class="bar_box">
				<h3 class="bar_box_head">热卖商品</h3>
				<ul class="bar_goods">
					{foreach:items=Api::run('getCommendHot',5)}
					<li>
						<a href="{url:/site/products/id/$item[id]}">
							<img src="{url:/pic/thumb/img/$item['img']/w/60/h/60}" alt="{$item['name']}">
							<strong>{$item['name']}</strong>
							<em>￥{$item['sell_price']}</em>
						</a>
					</li>
					{/foreach}
				</ul>
			</div>
			<nav class="bar_box">
				<h3 class="bar_box_head">资讯分类</h3>
				<ul class="bar_nav">
					{foreach:items=Api::run('getArticleCategoryList',10)}
					<li><a title="{$item['name']}" href="{url:/site/article/id/$item[id]}">{$item['name']}</a></li>
					{/foreach}
				</ul>
			</nav>
		</aside>
	</section>
</div>
