...
|
...
|
@@ -35,7 +35,7 @@ |
|
|
<div class="cl_list2">
|
|
|
<ul>
|
|
|
<volist name="data_label" id="vo">
|
|
|
<li>{$vo.name}</li>
|
|
|
<li onclick="lable_goods({$vo.id})">{$vo.name}</li>
|
|
|
</volist>
|
|
|
</ul>
|
|
|
</div>
|
...
|
...
|
@@ -114,6 +114,17 @@ |
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*分类标签下的商品
|
|
|
*/
|
|
|
function lable_goods(id){
|
|
|
classify_id = $('.cl_navActive').attr('data-id');
|
|
|
console.log(classify_id);
|
|
|
$.post("{:url('Classify/classify_lable_goods')}",{label_id:id,classify_id:classify_id},function(data){
|
|
|
|
|
|
});
|
|
|
}
|
|
|
</script>
|
|
|
<script>
|
|
|
$('.cl_nav ul li').click(function() {
|
...
|
...
|
|