<div class="tab">
	<a href="<{$__URI__}>collect/index" <{if $smarty.get.a == 'index' || $smarty.get.a == ''}>class="ch"<{/if}>>收藏商品</a> 
	<a href="<{$__URI__}>collect/shop" <{if $smarty.get.a == 'shop'}>class="ch"<{/if}>>收藏店铺</a> 
</div>