Commit d45dd4c4 authored by 吴春's avatar 吴春

Merge branch 'master' of http://gitlab.oytour.com/chun/theater

parents cc8d1da9 ece6388f
...@@ -64,9 +64,32 @@ ...@@ -64,9 +64,32 @@
align-items: center; align-items: center;
} }
.swiper-slide img { .swiper-slide img {
width: 100% width: 100%
} }
.BMapLib_SearchInfoWindow {
height: 240px;
bottom: -250px;
width: 300px!important;
}
#BMapLib_stationText0 {
width:40px;
}
.BMapLib_trans_text {
width:175px!important;
}
#BMapLib_tab_tohere0 {
width:95px!important;
}
.BMapLib_first {
width: 100px !important;
}
.BMapLib_current {
width:100px!important;
}
#BMapLib_tab_fromhere0 {
width:100px!important;
}
</style> </style>
</head> </head>
<body> <body>
...@@ -644,25 +667,26 @@ ...@@ -644,25 +667,26 @@
$(".nav-abox a").click(function () { $(".nav-abox a").click(function () {
$(this).addClass('Nav_selected').siblings().removeClass('Nav_selected'); $(this).addClass('Nav_selected').siblings().removeClass('Nav_selected');
}); });
var newsTop = $("#news").offset().top; //var newsTop = $("#news").offset().top;
var programTop = $("#program").offset().top; //var programTop = $("#program").offset().top;
var gookTop = $("#gook").offset().top; //var gookTop = $("#gook").offset().top;
var videoTop = $("#video").offset().top; //var videoTop = $("#video").offset().top;
var contactTop = $("#contact").offset().top; //var contactTop = $("#contact").offset().top;
$(window).scroll(function () { //$(window).scroll(function () {
var scrollTop = $(window).scrollTop(); // var scrollTop = $(window).scrollTop();
if (scrollTop > 0 && scrollTop < newsTop) { // if (scrollTop > 0 && scrollTop < newsTop) {
$('.Nav_about').addClass('Nav_selected').siblings().removeClass('Nav_selected'); // $('.Nav_about').addClass('Nav_selected').siblings().removeClass('Nav_selected');
} else if (scrollTop > newsTop && scrollTop < programTop) { // } else if (scrollTop > newsTop+50 && scrollTop < programTop) {
$('.Nav_news').addClass('Nav_selected').siblings().removeClass('Nav_selected'); // $('.Nav_news').addClass('Nav_selected').siblings().removeClass('Nav_selected');
} else if (scrollTop > programTop && scrollTop < gookTop) { // } else if (scrollTop > programTop+50 && scrollTop < gookTop) {
$('.Nav_program').addClass('Nav_selected').siblings().removeClass('Nav_selected'); // $('.Nav_program').addClass('Nav_selected').siblings().removeClass('Nav_selected');
} else if (scrollTop > gookTop && scrollTop < videoTop) { // } else if (scrollTop > Nav_program && scrollTop < contactTop) {
$('.Nav_gook').addClass('Nav_selected').siblings().removeClass('Nav_selected'); // $('.Nav_gook').addClass('Nav_selected').siblings().removeClass('Nav_selected');
} else if (scrollTop > videoTop && scrollTop < contactTop) { // } else if (scrollTop > videoTop && scrollTop < contactTop) {
$('.Nav_video').addClass('Nav_selected').siblings().removeClass('Nav_selected'); // $('.Nav_video').addClass('Nav_selected').siblings().removeClass('Nav_selected');
} // }
}); //});
}); });
$('#but').click(function () { $('#but').click(function () {
$(".videoImgFlow").css({ display: 'block' }); $(".videoImgFlow").css({ display: 'block' });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment