You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
$(function(){
|
|
|
|
$(".prompt").click(function(){
|
|
|
|
$(".model_wrap").show();
|
|
|
|
$(".model-bg").eq(0).removeClass("unchoose");
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$(".model-bg").each(function (i,item) {
|
|
|
|
var _that=$(this);
|
|
|
|
_that.find(".nextPage").click(function () {
|
|
|
|
_that.addClass("unchoose").eq(i+1).removeClass("unchoose");
|
|
|
|
console.log(i+1);
|
|
|
|
console.log(item);
|
|
|
|
})
|
|
|
|
// $(".nextPage").click(function () {
|
|
|
|
// $('.model-bg').togg
|
|
|
|
//
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
});
|