媒体报道修改
parent
8e8da67bab
commit
7c415b16f5
|
@ -151,6 +151,12 @@ $(function(){
|
||||||
window.location.href = $(this).data('url');
|
window.location.href = $(this).data('url');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
$('.news-nav>a').click(function(){
|
||||||
|
if(!$(this).hasClass('active')){
|
||||||
|
window.location.href = $(this).data('url');
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 尾部导航
|
// 尾部导航
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- 新闻导航 -->
|
<!-- 新闻导航 -->
|
||||||
<div class="news-nav flex w1360 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
<div class="news-nav flex w1360 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||||
{foreach $childrenCate as $childrenItem}
|
{foreach $childrenCate as $childrenItem}
|
||||||
<a href="javaScript:void(0);" data-url="{:getUri($childrenItem)}" class="bg-col-blue color-white {if $category['id'] == $childrenItem['id']}active{/if}">{$childrenItem['title']}</a>
|
<a href="javaScript:void(0);" data-url="{:getUri($childrenItem)}" class="{if $category['id'] == $childrenItem['id']}color-white active{/if}">{$childrenItem['title']}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue