diff --git a/frontend/web/assets/css/popUps.css b/frontend/web/assets/css/popUps.css index be0d5ec..5a52ee7 100644 --- a/frontend/web/assets/css/popUps.css +++ b/frontend/web/assets/css/popUps.css @@ -52,6 +52,6 @@ padding: 10px 20px; border-radius: 6px; text-align: center; - margin-top:-65px; - margin-left:45px; + margin-top:-42px; + margin-left:130px; } \ No newline at end of file diff --git a/frontend/web/assets/js/popUps.js b/frontend/web/assets/js/popUps.js index 45c8bdb..b18837c 100644 --- a/frontend/web/assets/js/popUps.js +++ b/frontend/web/assets/js/popUps.js @@ -2,21 +2,21 @@ $(function(){ $(".prompt").click(function(){ $(".model_wrap").show(); $(".model-bg").eq(0).removeClass("unchoose"); + $('.jump').removeClass('unchoose'); }); - $(".model-bg").each(function (i,item) { + $(".model-bg").each(function (i) { var _that=$(this); _that.find(".nextPage").click(function () { _that.addClass("unchoose"); $(".model-bg").eq(i+1).removeClass("unchoose"); - console.log(i); - console.log(i+1); - console.log(item); }) - // $(".nextPage").click(function () { - // $('.model-bg').togg - // - // }) - }) + }); + + $(".jump").click(function () { + $(this).addClass('unchoose'); + $(".model_wrap").hide(); + $(".model-bg").addClass("unchoose"); + }); }); \ No newline at end of file