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.
simple-yewu/frontend/web/assets/js/popUps.js

32 lines
956 B

5 years ago
$(function(){
$(".prompt").click(function(){
$(".model_wrap").show();
5 years ago
$(".model-bg").eq(0).removeClass("unchoose");
5 years ago
$('.jump').removeClass('unchoose');
5 years ago
$('#side-menu li:nth-of-type(1)').addClass('boo');
5 years ago
});
5 years ago
$(".model-bg").each(function (i) {
5 years ago
var _that=$(this);
_that.find(".nextPage").click(function () {
5 years ago
_that.addClass("unchoose");
5 years ago
$(".model-bg").eq(i+1).removeClass("unchoose");
5 years ago
$(".")
5 years ago
});
5 years ago
_that.find(".Previous").click(function () {
_that.addClass("unchoose");
$(".model-bg").eq(i-1).removeClass("unchoose");
});
5 years ago
});
5 years ago
$(".perfection").click(function () {
$(".jump").addClass('unchoose');
$(".model_wrap").hide();
});
5 years ago
$(".jump").click(function () {
$(this).addClass('unchoose');
$(".model_wrap").hide();
$(".model-bg").addClass("unchoose");
});
5 years ago
});