管理团队导航修改
parent
824a67a8c4
commit
bb49c5a03e
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
|
@ -113,9 +113,9 @@ $(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');
|
||||||
if(window.innerWidth <= 1024){
|
if(window.innerWidth <= 1024){
|
||||||
|
$('.management-team-nav>span').eq(0).show().siblings().hide();
|
||||||
$('.management-team-nav>span').click(function(){
|
$('.management-team-nav>span').click(function(){
|
||||||
var scrollTop = $(document).scrollTop();
|
var scrollTop = $(document).scrollTop();
|
||||||
if(!$(this).hasClass('active')){
|
if(!$(this).hasClass('active')){
|
||||||
|
|
Loading…
Reference in New Issue