<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{$title}</title>
<meta name="keywords" content="{$keywords}" />
<meta name="description" content="{$description}" />
<meta name="generator" content="openwbs {$version}" />
<meta name="author" content="openwbs team" />
<meta name="copyright" content="2008-2020 OpenWBS Inc." />
<!--#include file="include.css.html"-->
</head>
<body>
<!--头部-->
<!--#include file="include.header.html"-->


<div id="shopbody">
    <div class="ow-breadcrumb"><div class="wrapper"><h1>{$tag:tag}</h1>{$breadcrumb}</div></div>
    <div class="ow-shop-categoods-section">
        <div class="categoods-section">
            {goods tag_id="{$tag:tag_id}"}
            <ul class="ow-goods-list" name="goods">
                {goods:loop}
                <li class="li[goods:i]">
                    <div class="thumb"><a href="[goods:link]" title="[goods:title]" target="_blank"><img src="[goods:thumbnail]" alt="[goods:title]" title="[goods:title]"></a></div>
                    <div class="info">
                        <h3 class="title"><a href="[goods:link]" title="[goods:title]" target="_blank">[goods:ctitle]</a></h3>
                        {if:OW.isNotNul("[goods:subtitle]")}<p class="subtitle">[goods:subtitle]</p>{/if}
                        <p class="price">{if:OW.int("[goods:point_set]")=1}<span class="point"><b>[goods:point_pay_amount]</b><em>积分</em><i>+</i></span>{/if}<span class="money"><em>{$moneysb}</em><b><%=OW.parsePrice("[goods:price]")%></b></span></p>
                    </div>
                </li>
                {/goods:loop}
            </ul>
            <div class="clear"></div>
            <div class="pager">[goods:pages pagesize="20"]</div>
            {/goods}
        </div>
    </div>
    <div class="ow-goods-tags" id="tags_cloud">
        <div class="section">其他关键词：
        {tags is_shop="1"}
            {tags:loop}<a href="[tags:link]" hits="[tags:hits]">[tags:tag]</a>{/tags:loop}
        {/tags}
        </div>
    </div>
</div>

<!--底部-->
<!--#include file="include.footer.html"-->

<script type="text/javascript">
$(document).ready(function(){
	var hits,fontSize,maxHits=0,minHits=1000000000,$tags = $("#tags_cloud").find("a");
	$tags.each(function(){
		hits = parseInt($(this).attr("hits"));
		if(hits>maxHits){maxHits=hits};
		if(hits<minHits){minHits=hits};
	});
	$tags.each(function(){
		hits     = parseInt($(this).attr("hits"));
		fontSize = (hits-minHits)*(8/(maxHits-minHits));
		$(this).css("font-size",fontSize+12+"px");
	});
	//积分价格
	$(".price").each(function(){
		var price = OW.parseMoney($(this).find(".money > b").html());
		if(!price>0){
			$(this).find(".money").hide();
			$(this).find(".point > i").hide();
		};
	});
});
</script>
</body>
</html>
