样式调整

master
大帅比 2023-08-02 07:31:15 +00:00
parent 84911ff018
commit 20f821cd33
3 changed files with 6 additions and 2 deletions

View File

@ -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(){

View File

@ -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);

View File

@ -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) {