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