样式调整
parent
84911ff018
commit
20f821cd33
|
@ -9,8 +9,10 @@ var wow = new WOW({
|
|||
wow.init();
|
||||
|
||||
$(function(){
|
||||
$(".listcur a").click(function(){
|
||||
$(".listcur.info a").click(function(){
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
var index = $(this).index();
|
||||
$(".inner-nav2 a").eq(index).addClass("curr").siblings().removeClass("curr");
|
||||
})
|
||||
|
||||
$(".hamburger").click(function(){
|
||||
|
|
|
@ -203,6 +203,8 @@
|
|||
|
||||
$(".inner-nav2 a").click(function() {
|
||||
$(this).addClass("curr").siblings().removeClass("curr");
|
||||
var index = $(this).index();
|
||||
$(".listcur.info a").eq(index).addClass("on").siblings().removeClass("on");
|
||||
$("html, body").animate({
|
||||
scrollTop: $($(this).attr("href")).offset().top - 130 + "px"
|
||||
}, 1000);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<script src="__STATIC__/web/js/jquery.SuperSlide.2.1.1.js"></script>
|
||||
<!-- Swiper JS -->
|
||||
<script src="__STATIC__/web/js/swiper.min.js"></script>
|
||||
<script src="__STATIC__/web/js/style.js"></script>
|
||||
<script src="__STATIC__/web/js/style.js?1.0"></script>
|
||||
<script>
|
||||
//极速模式提示信息-最简练的判断方式
|
||||
if (navigator.userAgent.indexOf(".NET") > -1) {
|
||||
|
|
Loading…
Reference in New Issue