|
|
@ -8,7 +8,9 @@ $(function(){ |
|
|
|
$(".model-bg").each(function (i,item) { |
|
|
|
$(".model-bg").each(function (i,item) { |
|
|
|
var _that=$(this); |
|
|
|
var _that=$(this); |
|
|
|
_that.find(".nextPage").click(function () { |
|
|
|
_that.find(".nextPage").click(function () { |
|
|
|
_that.addClass("unchoose").eq(i+1).removeClass("unchoose"); |
|
|
|
_that.addClass("unchoose"); |
|
|
|
|
|
|
|
_that.eq(i+1).removeClass("unchoose"); |
|
|
|
|
|
|
|
console.log(i); |
|
|
|
console.log(i+1); |
|
|
|
console.log(i+1); |
|
|
|
console.log(item); |
|
|
|
console.log(item); |
|
|
|
}) |
|
|
|
}) |
|
|
|