web前端项目经验之《产品列表筛选》
HTML部分 <!-- proList --> <div class="s2"> <div class="container"> <div class="pro_type"> <div class="wrap"> <h2 class="pro_tit">{$content.pr_tit}</h2> <div class="pro_seabox"> <p>{$content.pr_des}</p> <div class="pro_topline"></div> <!-- application --> <div class="pro_typea clearfix application"> <div class="pro_typea_lf"> <b>{$content.pro_a}</b> </div> <div class="pro_typea_rt appsecond"> {empty name="catalogNames['id']"} <a href="javascript:;" title="" data-id="all-product" id="all" class="active all">All</a> {else/} <a href="javascript:;" title="" data-id="all-product" id="all" class="all"