切换鲜果修改
parent
fc56f93b2a
commit
530e2ca961
|
@ -3502,6 +3502,7 @@
|
||||||
height: .1rem;
|
height: .1rem;
|
||||||
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
|
filter: grayscale(100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.management-team-nav>span.active {
|
.management-team-nav>span.active {
|
||||||
|
@ -3517,6 +3518,7 @@
|
||||||
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
transform: rotateZ(180deg);
|
transform: rotateZ(180deg);
|
||||||
|
filter: grayscale(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.management-team-item {
|
.management-team-item {
|
||||||
|
@ -3993,6 +3995,7 @@
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
border-bottom: 1px solid #f5f5f5;
|
||||||
}
|
}
|
||||||
.news-nav>a::after {
|
.news-nav>a::after {
|
||||||
content: "";
|
content: "";
|
||||||
|
@ -4001,6 +4004,7 @@
|
||||||
height: .1rem;
|
height: .1rem;
|
||||||
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
|
filter: grayscale(100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-nav>a.active {
|
.news-nav>a.active {
|
||||||
|
@ -4016,16 +4020,17 @@
|
||||||
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
background-image: url(/static/web/images/icon/icon-foot-arrow.png);
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
transform: rotateZ(180deg);
|
transform: rotateZ(180deg);
|
||||||
|
filter: grayscale(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-first-bg {
|
.news-first-bg {
|
||||||
padding-bottom: .1rem;
|
padding-bottom: .2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-first {
|
.news-first {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 0 0 .3rem;
|
padding: .2rem;
|
||||||
background-color: #ffffff !important;
|
background-color: #f5f5f5 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-first .img {
|
.news-first .img {
|
||||||
|
@ -4071,7 +4076,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-list {
|
.news-list {
|
||||||
padding-top: 0;
|
padding: 0 .24rem;
|
||||||
margin-top: -.12rem !important;
|
margin-top: -.12rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -113,13 +113,42 @@ $(function(){
|
||||||
// 管理团队切换
|
// 管理团队切换
|
||||||
if($('.management-team-list').length){
|
if($('.management-team-list').length){
|
||||||
$('.management-team-nav>span').eq(0).addClass('active');
|
$('.management-team-nav>span').eq(0).addClass('active');
|
||||||
|
$('.management-team-nav>span').eq(0).show().siblings().hide();
|
||||||
$('.management-team-list .management-team-item').eq(0).addClass('show');
|
$('.management-team-list .management-team-item').eq(0).addClass('show');
|
||||||
$('.management-team-nav>span').click(function(){
|
if(window.innerWidth <= 1024){
|
||||||
var scrollTop = $(document).scrollTop();
|
$('.management-team-nav>span').click(function(){
|
||||||
if(!$(this).hasClass('active')){
|
var scrollTop = $(document).scrollTop();
|
||||||
$(document).scrollTop(scrollTop+1).scrollTop(scrollTop);
|
if(!$(this).hasClass('active')){
|
||||||
$('.management-team-nav>span').eq($(this).index()).addClass("active").siblings().removeClass('active');
|
$(document).scrollTop(scrollTop+1).scrollTop(scrollTop);
|
||||||
$('.management-team-list .management-team-item').eq($(this).index()).addClass("show").siblings().removeClass('show');
|
$('.management-team-nav>span').eq($(this).index()).addClass("active").siblings().removeClass('active');
|
||||||
|
$('.management-team-nav>span').eq($(this).index()).show().siblings().hide();
|
||||||
|
$('.management-team-list .management-team-item').eq($(this).index()).addClass("show").siblings().removeClass('show');
|
||||||
|
}else{
|
||||||
|
$('.management-team-nav>span').removeClass('active');
|
||||||
|
$('.management-team-nav>span').show();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
$('.management-team-nav>span').click(function(){
|
||||||
|
var scrollTop = $(document).scrollTop();
|
||||||
|
if(!$(this).hasClass('active')){
|
||||||
|
$(document).scrollTop(scrollTop+1).scrollTop(scrollTop);
|
||||||
|
$('.management-team-nav>span').eq($(this).index()).addClass("active").siblings().removeClass('active');
|
||||||
|
$('.management-team-list .management-team-item').eq($(this).index()).addClass("show").siblings().removeClass('show');
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 媒体报道导航
|
||||||
|
if(window.innerWidth <= 1024){
|
||||||
|
$('.news-nav>a').not('.active').hide();
|
||||||
|
$('.news-nav>a').click(function(){
|
||||||
|
if($(this).hasClass('active')){
|
||||||
|
$('.news-nav>a').removeClass('active');
|
||||||
|
$('.news-nav>a').show();
|
||||||
|
}else{
|
||||||
|
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="{: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="bg-col-blue color-white {if $category['id'] == $childrenItem['id']}active{/if}">{$childrenItem['title']}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue