手机端样式完成
parent
444a37e079
commit
5b6e78ef7f
|
@ -145,8 +145,8 @@
|
|||
<div class="index-news-title pc-show"><img src="images/public/news-title.png" alt="project case"></div>
|
||||
<!-- navTab -->
|
||||
<div class="index-news-nav flex">
|
||||
<span>总部新闻</span>
|
||||
<span>区域动态</span>
|
||||
<span data-url="news.html">总部新闻</span>
|
||||
<span data-url="news.html">区域动态</span>
|
||||
</div>
|
||||
<a href="news.html" class="news-more uppercase color-66 font-helvetica wap-show">News ></a>
|
||||
<!-- 资讯列表 -->
|
||||
|
|
|
@ -53,6 +53,8 @@ $(function(){
|
|||
if(!$(this).hasClass('active')){
|
||||
$('.index-news-nav>span').eq($(this).index()).addClass("active").siblings().removeClass('active');
|
||||
$('.new-list>.swiper').eq($(this).index()).addClass("show").siblings().removeClass('show');
|
||||
}else{
|
||||
window.location.href = $(this).data('url');
|
||||
}
|
||||
})
|
||||
if(screen.width <= 768){
|
||||
|
|
Loading…
Reference in New Issue