这是一款手机滚动特效,手机导航,非常实用。
<script>
var mySwiper = new Swiper('.swiper-container',{
autoHeight: true,
onSlideChangeStart: function(){
$(".tabs .default").removeClass('default');
$(".tabs li").eq(mySwiper.activeIndex).addClass('default');
}
});
$(".tabs li").on('click',function(e){
e.preventDefault();
$(".tabs .default").removeClass('default');
$(this).addClass('default');
mySwiper.swipeTo($(this).index());
});
$(".tabs li").click(function(e){
e.preventDefault();
});
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791