分类补充

This commit is contained in:
2025-09-18 11:56:48 +08:00
parent 4ff2ee4a76
commit a18706f7d4

View File

@@ -61,15 +61,15 @@
<!-- start 三级菜单测试用例 可删--> <!-- start 三级菜单测试用例 可删-->
<div class="categoryhelp"> <div class="categoryhelp">
<div class="categoryhelp-title"> <div class="categoryhelp-title">
<div class="arrow rotate"><img src="__IMAGES__/nars-jt.png" class="arrow rotate"> <div><img src="__IMAGES__/nars-jt.png" class="arrow">
</div> </div>
<span>初次使用</span> <span>初次使用</span>
</div> </div>
<ul class="sub-list" style="display: block;"> <ul class="sub-list" style="display: block;">
<li class="two-mues"> <li class="two-mues">
<a href="/mobile/tops_nas/helper_detail/id/1638.html" class="two-a"> <a href="/mobile/tops_nas/helper_detail/id/1638.html" class="two-a">
<div class="arrow rotate"><img src="__IMAGES__/nars-jt.png" <div><img src="__IMAGES__/nars-jt.png"
class="arrow rotate"> class="arrow">
</div> </div>
<span>我是2级</span> <span>我是2级</span>
</a> </a>
@@ -163,6 +163,7 @@
$(this).next('.sub-list').slideToggle(); $(this).next('.sub-list').slideToggle();
$(this).find('.arrow').toggleClass('rotate'); $(this).find('.arrow').toggleClass('rotate');
}); });
//分类二三级交互
$('.two-a').click(function(e) { $('.two-a').click(function(e) {
e.preventDefault(); e.preventDefault();
e.stopPropagation(); // 阻止事件冒泡 e.stopPropagation(); // 阻止事件冒泡