标签列表

产品评分星星效果调用


产品评分效果调用:{openzc:rating}
参数说明:star="整心",half="半星",empty="空星"
说明:根据实际设计设置评分代码,默认系统评分按五星评级



DEMO1:(产品列表页调用评分星效果)
{openzc:prolist flag="featured" row="4" imgsizer="280,350" bgcolor="f7f8fa"}
	<a href="[field:products_link/]">[field:products_name/]</a>
	<div class="tt-rating">
		{openzc:rating star='<i class="icon-star"></i>' half='<i class="icon-star-half"></i>' empty='<i class="icon-star-empty"></i>'/}
	</div>
{/openzc:prolist}

DEMO2:(产品详情页调用评分星效果)
<div class="tt-review">
	<div class="tt-rating">
		{openzc:rating star='<i class="icon-star"></i>' half='<i class="icon-star-half"></i>' empty='<i class="icon-star-empty"></i>'/}
	</div>
	<a class="product-page-gotocomments-js" href="#">({openzc:proinfo field="products_reviews_count"/} Customer Review)</a>
</div>