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.
19 lines
575 B
19 lines
575 B
5 years ago
|
$(function(){
|
||
|
$(".prompt").click(function(){
|
||
|
$(".model_wrap").show();
|
||
|
$(".model-bg").css({'display':'block'});
|
||
|
// $(".model-bg .content").eq(0).removeClass("unchoose");
|
||
|
console.log(1);
|
||
|
});
|
||
|
|
||
|
$(".nextPage").click(function () {
|
||
|
$(".content").each(function (i,item) {
|
||
|
console.log(i);
|
||
|
console.log(item);
|
||
|
if(!$(this).eq(i).toggleClass("unchoose")){
|
||
|
$(this).eq(i).addClass("unchoose");
|
||
|
$(this).eq(i+1).removeClass("unchoose");
|
||
|
}
|
||
|
})
|
||
|
})
|
||
|
});
|