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