diff --git a/public/themes/simpleboot3/portal/classify/classify.html b/public/themes/simpleboot3/portal/classify/classify.html index 61b924c..0673bb0 100644 --- a/public/themes/simpleboot3/portal/classify/classify.html +++ b/public/themes/simpleboot3/portal/classify/classify.html @@ -43,7 +43,7 @@ <!-- 搜索导航 --> <div class="se_nav"> <ul> - <li class="synthesize se_navactvie">综合</li> + <li class="synthesize se_navactvie" onclick="classify_synthesis()">综合</li> <li class="sales" onclick="classify_sales()">销量 <img src="__TMPL__/public/assets/images/s1.png" alt=""> </li> @@ -162,6 +162,19 @@ } }); } + + /** + *综合 + */ + function classify_synthesis(){ + classify_id = $('.cl_navActive').attr('data-id'); + lable_id = $('.cl_Active2').attr('data-id'); + if(lable_id){ + console.log('存在'); + }else{ + console.log('不存在'); + } + } </script> <script> $('.cl_nav ul li').click(function() {