|
|
|
@ -10,20 +10,17 @@ $(function(){ |
|
|
|
|
|
|
|
|
|
$(".model-bg").each(function (i) { |
|
|
|
|
var _that=$(this); |
|
|
|
|
$.each(arr,function (key,value) { |
|
|
|
|
_that.find(".nextPage").click(function () { |
|
|
|
|
console.log(i); |
|
|
|
|
_that.addClass("unchoose"); |
|
|
|
|
$(".model-bg").eq(i+1).removeClass("unchoose"); |
|
|
|
|
console.log(key); |
|
|
|
|
console.log(value); |
|
|
|
|
// $('#side-menu .av').eq(index).addClass('boo');
|
|
|
|
|
$('#side-menu .av').eq(arr[i]).addClass('boo'); |
|
|
|
|
}); |
|
|
|
|
_that.find(".Previous").click(function () { |
|
|
|
|
_that.addClass("unchoose"); |
|
|
|
|
$(".model-bg").eq(i-1).removeClass("unchoose"); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$(".perfection").click(function () { |
|
|
|
|
$(".jump").addClass('unchoose'); |
|
|
|
|