From 5e4746922c66b404092430c2f36d7b06a9565c4a Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Thu, 30 May 2019 17:00:58 +0800 Subject: [PATCH] 1 --- public/themes/simpleboot3/portal/classify/classify.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/public/themes/simpleboot3/portal/classify/classify.html b/public/themes/simpleboot3/portal/classify/classify.html index 9eae070..5143958 100644 --- a/public/themes/simpleboot3/portal/classify/classify.html +++ b/public/themes/simpleboot3/portal/classify/classify.html @@ -140,9 +140,12 @@ } }) // 分类tab - $('.cl_nav ul li').click(function () { - $(this).addClass('cl_Active2').siblings().removeClass('cl_Active2'); + $('.cl_nav ul li').each(function () { + $(this).click(function () { + $(this).addClass('cl_Active2').siblings().removeClass('cl_Active2'); + }) }) + </script> </body> -- libgit2 0.24.0