_href ) { // $(this).attr("href", acon_href + "?mobile="+ mobile); // } // }); var swiper = new Swiper('.tab_nav', { slidesPerView: 'auto', }); $('.btn_next').click(function () { swiper.slideNext(); }) $('.btn_prev').click(function () { swiper.slidePrev(); }) // } }) // 点击跳转 $("#gsjj").click(function () { window.location.href = "../gsjj/" }) $("#gsjg").click(function () { window.location.href = "../gsjg/" }) $("#gsry").click(function () { window.location.href = "../gsry/" }) $("#shzr").click(function () { window.location.href = "../shzr/" }) $("#xwzx").click(function () { window.location.href = "../xwzx/" }) $("#gsgg").click(function () { window.location.href = "../ggzq/" }) $("#jggg").click(function () { window.location.href = "../jggg/" }) $("#lxwm").click(function () { window.location.href = "../lxwm/" }) $("#fwwd").click(function () { window.location.href = "../zjjg/?flag=2" }) $("#khtslcxz").click(function () { window.location.href = "../ghtslcjxz/" }) // 侧边栏 $('.sidebar .sidebar-title').click(function () { $(this).addClass('active') $(this).parent().siblings().children('.sidebar-title').removeClass('active') $(this).next('ul').show() $(this).parent().siblings().children('ul').hide() if ($(this).children("img")[0].outerHTML == '') { } else { $(this).children("img")[0].outerHTML = '' $(this).parent().siblings().find('img')[0].outerHTML = '' $(this).parent().siblings().find('img')[1].outerHTML = '' } }) $('.sidebar-health li').click(function () { $(this).addClass('health-active') $(this).siblings().removeClass('health-active') })