...
|
...
|
@@ -35,7 +35,7 @@ |
|
|
<div class="cl_list2">
|
|
|
<ul>
|
|
|
<volist name="data_label" id="vo">
|
|
|
<li onclick="lable_goods({$vo.id})">{$vo.name}</li>
|
|
|
<li onclick="lable_goods({$vo.id})" class="cl_Active2">{$vo.name}</li>
|
|
|
</volist>
|
|
|
</ul>
|
|
|
</div>
|
...
|
...
|
@@ -120,7 +120,6 @@ |
|
|
*/
|
|
|
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){
|
|
|
|
|
|
});
|
...
|
...
|
@@ -130,6 +129,7 @@ |
|
|
$('.cl_nav ul li').click(function() {
|
|
|
$(this).addClass('cl_navActive').siblings().removeClass('cl_navActive');
|
|
|
})
|
|
|
|
|
|
$('.se_nav ul li').click(function() {
|
|
|
$(this).addClass('se_navactvie').siblings().removeClass('se_navactvie');
|
|
|
$(this).addClass('se_navactvie').siblings().children('img').attr('src', '__TMPL__/public/assets/images/s1.png')
|
...
|
...
|
@@ -139,6 +139,10 @@ |
|
|
$(this).children('img').attr('src', '__TMPL__/public/assets/images/s1.png')
|
|
|
}
|
|
|
})
|
|
|
// 分类tab
|
|
|
$('.cl_nav ul li').click(function () {
|
|
|
$(this).addClass('cl_Active2').siblings().removeClass('cl_Active2');
|
|
|
})
|
|
|
</script>
|
|
|
</body>
|
|
|
|
...
|
...
|
|