product.html 960 Bytes
<%if(wap){%>
    <header class="m-header header-light">
        <div class="head">
            <a href="javascript:history.go(-1);" class="lt-bar m-icon icon-back">返回</a>
            <h1><%=title%></h1>
        </div>
    </header>
<%}%>
<section class="m-content">
    <img class="banner" src="<%=banner%>" alt="" width="100%">
    <ul class="list clearfix" id="topicList">
        <%_.each(products, function(item){%>
            <li>
                <a href="<%=wap ? 'http://m.nong12.com/goods/getIntroductionPageById.do?pid='+item.id : 'http://www.nong12.com/product/'+item.id+'.html'%>">
                    <div class="pic" style="background-image:url(<%=item.defaultPic%>); background-size:cover;"></div>
                    <h3><%=item.title%></h3>
                    <p><em><%=(item.price/100).toFixed(2,10)%>元/<%=item.unit%></em></p>
                </a>
            </li>
        <%})%>
    </ul>
</section>
<a href="#" class="m-to-top"></a>