From 9a2b84cab9ee4cefc483d9098b7e9076976497d7 Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Fri, 31 May 2019 11:04:37 +0800 Subject: [PATCH] 分类综合 --- public/themes/simpleboot3/portal/classify/classify.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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() { -- libgit2 0.24.0