|
|
@ -5,11 +5,9 @@ $(function(){ |
|
|
|
$(".model-bg").eq(0).removeClass("unchoose"); |
|
|
|
$(".model-bg").eq(0).removeClass("unchoose"); |
|
|
|
$('.jump').removeClass('unchoose'); |
|
|
|
$('.jump').removeClass('unchoose'); |
|
|
|
|
|
|
|
|
|
|
|
$('#side-menu .av').eq(0).click().addClass('boo'); |
|
|
|
$('#side-menu .av').eq(arr[0]).click().addClass('boo'); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(".model-bg").each(function (i) { |
|
|
|
$(".model-bg").each(function (i) { |
|
|
|
let _that=$(this); |
|
|
|
let _that=$(this); |
|
|
|
_that.find(".nextPage").click(function () { |
|
|
|
_that.find(".nextPage").click(function () { |
|
|
@ -22,6 +20,8 @@ $(function(){ |
|
|
|
_that.find(".Previous").click(function () { |
|
|
|
_that.find(".Previous").click(function () { |
|
|
|
_that.addClass("unchoose"); |
|
|
|
_that.addClass("unchoose"); |
|
|
|
$(".model-bg").eq(i-1).removeClass("unchoose"); |
|
|
|
$(".model-bg").eq(i-1).removeClass("unchoose"); |
|
|
|
|
|
|
|
$('#side-menu .av').eq(arr[i]).addClass('boo'); |
|
|
|
|
|
|
|
$('#side-menu .av').eq(arr[i+1]).removeClass('boo'); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|